CVE-2026-45372: 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
Affects cpp-httplibSource GCVE Database
Not known to be exploited · CVSS 9.9 Critical · fixed in 0.10.3+ds-1ubuntu0.1~esm2 : patch cpp-httplib as a priority.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.10.3+ds-1ubuntu0.1~esm2, 0.14.3+ds-1.1ubuntu0.1~esm2, 0.18.7-1ubuntu0.25.10.2 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 29 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10cpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10cpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu Pro 24.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied. The cpp-httplib-devel package version 0.46.1-1.1 and later include fixes for this vulnerability. Users should upgrade to these fixed versions or later to mitigate the risk.
Description
cpp-httplib versions prior to 0.44.0 have a vulnerability where the server applies percent-decoding to every HTTP header value except Location and Referer, leading to improper neutralization of CRLF sequences and inconsistent interpretation of HTTP requests. This issue is tracked as CVE-2026-45372 and has a high CVSS score of 9.9. The vulnerability is addressed in cpp-httplib-devel-0.46.1-1.1 and other patched versions.
References
- suse.com/support/security/rating/ (opens in a new tab)
- ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10994-1.json (opens in a new tab)
- suse.com/security/cve/CVE-2026-45372/ (opens in a new tab)
- suse.com/security/cve/CVE-2026-46527/ (opens in a new tab)
- ubuntu.com/security/CVE-2026-45372 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-45372 (opens in a new tab)
- github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4m (opens in a new tab)
- github.com/yhirose/cpp-httplib/commit/fbb031ed8504a0e48d9ca63caecc0614c296f755 (opens in a new tab)
- ubuntu.com/security/notices/USN-8470-1 (opens in a new tab)