Skip to main content
VulnerabilityPublished Updated

CVE-2025-66577: Cpp httplib · Prior to 0.27.0, a vulnerability allows attacker-controlled HTTP headers to influence

Affects cpp-httplibSource GCVE Database

0
Compare
Authoritative record:CVE-2025-66577· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 0.10.3+ds-1ubuntu0.1~esm1 : update cpp-httplib when convenient.

Data as of 24 Nov 2026, 20:10 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.10.3+ds-1ubuntu0.1~esm1, 0.14.3+ds-1.1ubuntu0.1~esm1, 0.18.7-1ubuntu0.25.10.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Dec 2025

  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 23 Nov 2026.

What to do

Upgrade the Ubuntu cpp-httplib to 0.10.3+ds-1ubuntu0.1~esm1 (package) or 0.14.3+ds-1.1ubuntu0.1~esm1 (package) or 0.18.7-1ubuntu0.25.10.1 (package).

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.18.7-1 – 0.26.0+ds-2ubuntu3+esm1
4 affected builds
Fixed in–
Ubuntu 25.10cpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=questingOther threatsAffected
  • <0.18.7-1ubuntu0.25.10.1
Fixed in
  • 0.18.7-1ubuntu0.25.10.1
Ubuntu Pro 24.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <0.14.3+ds-1.1ubuntu0.1~esm1
Fixed in
  • 0.14.3+ds-1.1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTScpp-httplibpkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.10.3+ds-1ubuntu0.1~esm1
Fixed in
  • 0.10.3+ds-1ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.27.0, a vulnerability allows attacker-controlled HTTP headers to influence server-visible metadata, logging, and authorization decisions. An attacker can supply X-Forwarded-For or X-Real-IP headers which get accepted unconditionally by get_client_ip() in docker/main.cc, causing access and error logs (nginx_access_logger / nginx_error_logger) to record spoofed client IPs (log poisoning / audit evasion). This vulnerability is fixed in 0.27.0.

References

Community reviews

Loading reviews…