Vulnerability record · CVE-2026-45372 · published 29 May 2026
CVE-2026-45372: Yhirose cpp-httplib http request smuggling vulnerability
YYhirose · Cpp Httplib
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 vulnerability is fixed in 0.44.0.
Description
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 vulnerability is fixed in 0.44.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4m | ExploitMitigationVendor Advisory |
| https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4m | ExploitMitigationVendor Advisory |
Track CVE-2026-45372 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-45372), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.