CVE-2025-52887
highpriority · track · 0EPSS 0.005 · 42 %ileEURUUSEPSS · scored 2026-10-27
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 will not be released when the connection is disconnected. This leads to potential exhaustion of system memory and results in a server crash or unresponsiveness. Version 0.22.0 contains a patch for the issue.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-52887cnnvd
- https://github.com/yhirose/cpp-cnnvd
- https://github.com/yhirose/cpp-httplib/releasesPatchcnnvd
- https://github.com/yhirose/cpp-httplib/commit/28dcf379e82a2cdb544d812696a7fd46067eb7f9enisa_euvd
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjhg-gf59-p92henisa_euvd
- https://github.com/yhirose/cpp-httplib/commit/28dcf379e82a2cdb544d812696a7fd46067eb7f9Patchnvd
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjhg-gf59-p92hExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan