Resource exhaustion in Yhirose Cpp-httplib
CVE-2025-46728
cpp-httplib is a C++ header-only HTTP/HTTPS server and client library. Prior to version 0.20.1, the library fails to enforce configured size limits on incoming request bodies when `Transfer-Encoding: chunked` is used or when no `Content-Le…
Vulnerability class: DoS (Denial of Service)
EPSS: 0.010 (77.5th 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.20.1
Weakness classification (CWE)
References
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-px83-72rx-v57c (x_refsource_CONFIRM)
- https://github.com/yhirose/cpp-httplib/commit/7b752106ac42bd5b907793950d9125a0972c8e8e (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-46728?
- CVE-2025-46728 is a high-severity vulnerability in Yhirose Cpp-httplib, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2025-05-06.
- How severe is CVE-2025-46728?
- High severity. CVSS v3 base score is 7.5 out of 10.