CRLF injection in Cpp-httplib - CVE-2026-45372

 

CRLF injection in Cpp-httplib - CVE-2026-45372

Published: May 13, 2026


Vulnerability identifier: #VU131325
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-45372
CWE-ID: CWE-93
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to inject CRLF sequences into stored HTTP header values.

The vulnerability exists due to improper neutralization of CRLF sequences in the server-side parse_header function when parsing percent-encoded header values in incoming requests. A remote attacker can send a specially crafted request with encoded CRLF sequences to inject CRLF sequences into stored HTTP header values.

The issue can lead to inconsistent interpretation of header values by downstream application components, including response handling, logging, and proxying logic.


Affected software

Cpp-httplib
Fedora
Ubuntu
openEuler
cpp-httplib (Ubuntu package)
cpp-httplib
cpp-httplib-debuginfo
cpp-httplib-debugsource
cpp-httplib-devel

How to mitigate CVE-2026-45372

Install security update from vendor's website.

Cpp-httplib - update to 0.44.0
cpp-httplib (Ubuntu package) - addressed in versions 0.10.3+ds-1ubuntu0.1~esm2, 0.14.3+ds-1.1ubuntu0.1~esm2, 0.18.7-1ubuntu0.25.10.2, 0.26.0+ds-2ubuntu3+esm1
cpp-httplib - update to 0.46.0-1
cpp-httplib-debuginfo - update to 0.46.0-1
cpp-httplib-debugsource - update to 0.46.0-1
cpp-httplib-devel - update to 0.46.0-1
cpp-httplib - addressed in versions 0.48.0-1.el9, 0.48.0-1.el10_3, 0.48.0-1.fc43, 0.48.0-1.fc44

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins