CRLF injection in Cpp-httplib - CVE-2026-21428
Published: January 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject arbitrary HTTP headers.
The vulnerability exists due to insufficient validation of attacker-supplied data. A remote attacker can send a specially crafted HTTP request to the application containing CR-LF characters and modify application behavior. When combined with a server that supports http1.1 pipelining this can be used for server side request forgery attacks.
Affected software
Fedora
openEuler
cpp-httplib-debuginfo
cpp-httplib-devel
cpp-httplib-debugsource
cpp-httplib
How to mitigate CVE-2026-21428
cpp-httplib-debuginfo - update to 0.30.1-1
cpp-httplib-devel - update to 0.30.1-1
cpp-httplib-debugsource - update to 0.30.1-1
cpp-httplib - update to 0.30.1-1
cpp-httplib - update to 0.37.0-1.el9