CVE-2025-53628 in Yhirose Cpp-Httplib
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Yhirose | Cpp-Httplib | < 0.20.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-53628 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-263481-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2025-07-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-444: CWE-444
CWE-770: Allocation of Resources Without Limits or Throttling
Software allocates resources without imposing limits, allowing attackers to exhaust system capacity.
CWE-835: CWE-835
Related attack patterns (CAPEC)
CAPEC-33 HTTP Request Smuggling via CWE-444
CAPEC-147 XML Ping of the Death via CWE-770
CAPEC-197 Exponential Data Expansion via CWE-770
CAPEC-229 Serialized Data Parameter Blowup via CWE-770
CAPEC-273 HTTP Response Smuggling via CWE-444
Show all 22
CAPEC-491 Quadratic Data Expansion via CWE-770
CAPEC-230 Serialized Data with Nested Payloads via CWE-770
CAPEC-231 Oversized Serialized Data Payloads via CWE-770
CAPEC-469 HTTP DoS via CWE-770
CAPEC-482 TCP Flood via CWE-770
CAPEC-486 UDP Flood via CWE-770
CAPEC-487 ICMP Flood via CWE-770
CAPEC-488 HTTP Flood via CWE-770
CAPEC-489 SSL Flood via CWE-770
CAPEC-490 Amplification via CWE-770
CAPEC-493 SOAP Array Blowup via CWE-770
CAPEC-494 TCP Fragmentation via CWE-770
CAPEC-495 UDP Fragmentation via CWE-770
CAPEC-496 ICMP Fragmentation via CWE-770
CAPEC-528 XML Flood via CWE-770
CAPEC-125 Flooding via CWE-770
CAPEC-130 Excessive Allocation via CWE-770
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-53628 affects cpp-httplib versions prior to 0.20.1, allowing attackers to allocate memory arbitrarily due to a lack of limit on unique lines, which can lead to memory exhaustion or other memory-related attacks.
An attacker can exploit this vulnerability by sending specially crafted HTTP requests to a server using the affected version of cpp-httplib. The absence of a limit on unique lines allows the attacker to allocate memory excessively, potentially leading to a denial of service or other memory corruption issues.
Questions
What is CVE-2025-53628?
CVE-2025-53628 affects cpp-httplib versions prior to 0.20.1, allowing attackers to allocate memory arbitrarily due to a lack of limit on unique lines, which can lead to memory exhaustion or other memory-related attacks.
What is the CVSS score for CVE-2025-53628?
CVE-2025-53628 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.9%.
Is CVE-2025-53628 actively exploited?
No confirmed active exploitation of CVE-2025-53628 as of 2026-09-25.
How do I remediate CVE-2025-53628?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-53628?
CVE-2025-53628 affects Yhirose Cpp-Httplib.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Yhirose","product":"Cpp-Httplib","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.