Resource exhaustion in Yhirose Cpp-httplib
CVE-2025-52887
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In version 0.21.0, when many http headers fields are passed in, the library does not limit the number of headers, and the memory associated with the headers…
Vulnerability class: DoS (Denial of Service)
EPSS: 0.005 (68.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Yhirose Cpp-httplib — versions = 0.21.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjhg-gf59-p92h (x_refsource_CONFIRM)
- https://github.com/yhirose/cpp-httplib/commit/28dcf379e82a2cdb544d812696a7fd46067eb7f9 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-52887?
- CVE-2025-52887 is a high-severity vulnerability in Yhirose Cpp-httplib, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2025-06-26.
- How severe is CVE-2025-52887?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2025-52887 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.