Critical severity9.9NVD Advisory· Published May 29, 2026· Updated Jun 1, 2026
CVE-2026-45372
CVE-2026-45372
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4<0.44.0+ 2 more
- (no CPE)range: <0.44.0
- cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*range: <0.44.0
- (no CPE)range: <0.44.0
Patches
Vulnerability mechanics
References
1- github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4mnvdExploitMitigationVendor Advisory
News mentions
0No linked articles in our index yet.