CVE-2026-45372: Vulnerability in Yhirose Cpp-httplib
Critical. cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header value except Location and Referer. The validity check (is_field_value) is run before decoding, so encoded %0D%0A passes the check and is then expanded to a literal \r\n byte pair inside the stored header value. This...
CWE-93, CWE-444
- Exploitation
- None confirmed
- Severity
- 9.9 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
- Weakness
- CWE-93, CWE-444
- Published
- 29 May 2026
- Last change
- 22 Jul 2026
Affected products
Affected versions and the first fixed release
- Yhirose Cpp-httplib Before 0.44.0. Fixed in 0.44.0
Advisories
Vendor and security advisories
Related
- Cpp-httplib vulnerabilities Recent advisories, watch this product