Skip to main content
CVE-2025-53628VulnerabilityPublished

CVE-2025-53628: yhirose cpp-httplib · Infinite Loop

Affects yhirose cpp-httplibSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 6.3 Medium : upgrade to 0.20.1 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.20.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

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-25.

What to do

Upgrade yhirose/cpp-httplib to 0.20.1.

Affected software

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

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

AI-suggested

To mitigate CVE-2025-53628, European organizations should take the following specific actions: 1) Immediately identify all internal and third-party software components that use cpp-httplib versions earlier than 0.20.1. 2) Upgrade all affected instances of cpp-httplib to version 0.20.1 or later, where the vulnerability is patched. 3) If immediate upgrading is not feasible, implement network-level protections such as rate limiting, input validation, and anomaly detection to block or throttle suspicious HTTP requests with abnormally long or numerous unique lines. 4) Conduct thorough code reviews and static analysis on custom integrations of cpp-httplib to ensure no similar infinite loop conditions exist. 5) Monitor application logs and network traffic for signs of exploitation attempts, such as repeated requests causing high CPU or memory usage. 6) Engage with software vendors and supply chain partners to confirm they have addressed this vulnerability in their products. 7) Incorporate fuzz testing and boundary condition testing in development pipelines to detect similar logic flaws proactively. 8) For embedded or IoT devices using cpp-httplib, plan firmware updates or patches to remediate the vulnerability and consider network segmentation to limit exposure.

Description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.20.1, cpp-httplib does not have a limit for a unique line, permitting an attacker to explore this to allocate memory arbitrarily. This vulnerability is fixed in 0.20.1. NOTE: This vulnerability is related to CVE-2025-53629.

References

Community reviews

Loading reviews…