Skip to main content
CVE-2025-53629VulnerabilityPublished

CVE-2025-53629: yhirose cpp-httplib · Unthrottled Resource Allocation

Affects yhirose cpp-httplibSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.5 High : upgrade to 0.23.0 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.23.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 2026-10-26.

What to do

Upgrade yhirose/cpp-httplib to 0.23.0.

Affected software

ProductAffectedFixed in
GitHubyhirose/cpp-httplibpkg:github/yhirose/cpp-httplibOther threatsAffected
  • <0.23.0
Fixed in
  • 0.23.0

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

AI-suggested

1. Immediate upgrade to cpp-httplib version 0.23.0 or later, where the vulnerability is fixed. 2. If upgrading is not immediately feasible, implement network-level protections such as rate limiting and deep packet inspection to detect and block suspicious chunked transfer encoding requests. 3. Employ application-layer firewalls or Web Application Firewalls (WAFs) configured to monitor and restrict unusually large or malformed HTTP chunked requests. 4. Monitor server resource usage closely to detect abnormal memory consumption patterns indicative of exploitation attempts. 5. Conduct thorough code audits for any custom implementations using cpp-httplib to ensure no other resource allocation vulnerabilities exist. 6. Develop incident response plans that include detection and mitigation strategies for resource exhaustion attacks. 7. Engage with vendors or third-party providers to confirm patch deployment and assess exposure. 8. For embedded or IoT devices using cpp-httplib, coordinate firmware updates or mitigations to address the vulnerability promptly.

Description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.23.0, incoming requests using Transfer-Encoding: chunked in the header can allocate memory arbitrarily in the server, potentially leading to its exhaustion. This vulnerability is fixed in 0.23.0. NOTE: This vulnerability is related to CVE-2025-53628.

References

Community reviews

Loading reviews…