Skip to main content
VulnerabilityPublished Updated

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

0
Compare

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

CVSS 3.1 base score
9.9Critical
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10cpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=stonkingOther threatsAffected
  • =0.26.0+ds-2ubuntu3
  • =0.26.0+ds-2ubuntu4
Fixed in–
Ubuntu Pro 26.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <0.26.0+ds-2ubuntu3+esm1
Fixed in
  • 0.26.0+ds-2ubuntu3+esm1
Ubuntu 25.10cpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=questingOther threatsAffected
  • <0.18.7-1ubuntu0.25.10.2
Fixed in
  • 0.18.7-1ubuntu0.25.10.2
Ubuntu Pro 24.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <0.14.3+ds-1.1ubuntu0.1~esm2
Fixed in
  • 0.14.3+ds-1.1ubuntu0.1~esm2
Ubuntu Pro 22.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.10.3+ds-1ubuntu0.1~esm2
Fixed in
  • 0.10.3+ds-1ubuntu0.1~esm2

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

Community reviews

Loading reviews…