
CVE catalog
CVE-2025-52887
cpp-httplib: CVE-2025-52887
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.49% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cpp-httplib | sid | 0.41.0+ds-3 | not affected |
| Debian | cpp-httplib | forky | 0.41.0+ds-3 | not affected |
| Debian | cpp-httplib | trixie | 0.18.7-1+deb13u1 | not affected |
| Debian | cpp-httplib | trixie-security | 0.18.7-1+deb13u1 | not affected |
| Debian | cpp-httplib | bookworm | 0.11.4+ds-1+deb12u1 | not affected |
| Ubuntu | cpp-httplib | pro | 0.18.7-1 | vulnerable |
| Ubuntu | cpp-httplib | pro | 0.26.0+ds-2ubuntu2 | vulnerable |
| Ubuntu | cpp-httplib | pro | 0.26.0+ds-2ubuntu3 | vulnerable |
| Ubuntu | cpp-httplib | pro | 0.26.0+ds-2ubuntu3+esm1 | vulnerable |
| Ubuntu | cpp-httplib | 25.10 | 0.18.7-1 | vulnerable |
| Ubuntu | cpp-httplib | 25.10 | 0.18.7-1ubuntu0.25.10.1 | vulnerable |
| Ubuntu | cpp-httplib | 25.10 | 0.18.7-1ubuntu0.25.10.2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cpp-httplib | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | cpp-httplib | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | cpp-httplib | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | cpp-httplib | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcpp-httplib0.11]Not affected
Source package: [cpp-httplib]
Details (2)
0.11.4+ds-1+deb12u1· amd64 · bookwormNot affected
dsa · cpp-httplib · debian · bookworm
0.11.4+ds-1+deb12u1· arm64 · bookwormNot affected
dsa · cpp-httplib · debian · bookworm
- [libcpp-httplib-dev]Not affected
Source package: [cpp-httplib]
Details (2)
0.11.4+ds-1+deb12u1· amd64 · bookwormNot affected
dsa · cpp-httplib · debian · bookworm
0.11.4+ds-1+deb12u1· arm64 · bookwormNot affected
dsa · cpp-httplib · debian · bookworm
Observed:
References
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-52887]
- [https://security-tracker.debian.org/tracker/CVE-2025-52887]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-52887.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]