CVE-2026-38967: Cpp Httplib Crlf Injection

Functions that set or add HTTP headers insert map entries without sanitizing the key and value to remove Carriage Return (CR, \r) and Line Feed (LF, \n) characters. Failing to do so can allow HTTP Response Header Injection (CRLF injection).

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C++
greprules fetch cve-2026-38967-cpp-httplib-crlf-injection --engine opengrep

Description

Functions that set or add HTTP headers insert map entries without sanitizing the key and value to remove Carriage Return (CR, \r) and Line Feed (LF, \n) characters. Failing to do so can allow HTTP Response Header Injection (CRLF injection).