
CVE catalog
CVE-2026-45372
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header val
- Severity
- Critical · CVSS 9.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.29% · Oct 25, 2026
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header value except Location and Referer. The validity check (is_field_value) is run before decoding, so encoded %0D%0A passes the check and is then expanded to a literal \r\n byte pair inside the stored header value. This vulnerability is fixed in 0.44.0.
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 | vulnerable |
| Debian | cpp-httplib | forky | 0.41.0+ds-3 | vulnerable |
| Debian | cpp-httplib | trixie | 0.18.7-1+deb13u1 | vulnerable |
| Debian | cpp-httplib | trixie-security | 0.18.7-1+deb13u1 | vulnerable |
| Debian | cpp-httplib | bookworm | 0.11.4+ds-1+deb12u1 | vulnerable |
| Cpe | cpp-httplib | Not reported | 0.14.3+ds-1.1ubuntu0.1~esm2 | fixed |
| Cpe | libcpp-httplib-dev | Not reported | 0.14.3+ds-1.1ubuntu0.1~esm2 | fixed |
| Cpe | libcpp-httplib0.14t64 | Not reported | 0.14.3+ds-1.1ubuntu0.1~esm2 | fixed |
| Cpe | cpp-httplib | Not reported | Not reported | vulnerable |
| Cpe | cpp-httplib | Not reported | 0.44.0 | fixed |
| 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 | fixed |
| 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 | fixed |
| Opensuse | cpp-httplib | tumbleweed | 0.46.1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cpp-httplib | source | sid | (unfixed) | not yet assigned | Not reported | [1138578] |
| Debian | cpp-httplib | source | forky | (unfixed) | not yet assigned | Not reported | [1138578] |
| Debian | cpp-httplib | source | trixie | (unfixed) | not yet assigned | Not reported | [1138578] |
| Debian | cpp-httplib | source | bookworm | (unfixed) | not yet assigned | Not reported | [1138578] |
| Cpe | cpp-httplib | cpe | Not reported | 0.14.3+ds-1.1ubuntu0.1~esm2 | Not reported | Not reported | Not reported |
| Cpe | libcpp-httplib-dev | cpe | Not reported | 0.14.3+ds-1.1ubuntu0.1~esm2 | Not reported | Not reported | Not reported |
| Cpe | libcpp-httplib0.14t64 | cpe | Not reported | 0.14.3+ds-1.1ubuntu0.1~esm2 | Not reported | Not reported | Not reported |
| Cpe | cpp-httplib | cpe | Not reported | 0.44.0 | Not reported | Not reported | Not reported |
| Ubuntu | cpp-httplib | deb | pro | 0.26.0+ds-2ubuntu3+esm1 | Not reported | USN-8470-1 | Not reported |
| Ubuntu | cpp-httplib | deb | 25.10 | 0.18.7-1ubuntu0.25.10.2 | Not reported | USN-8470-1 | Not reported |
| Opensuse | cpp-httplib | rpm | tumbleweed | 0.46.1-1.1 | Not reported | OPENSUSE-SU-2026:10994-1 | Not reported |
Notes
[trixie] cpp-httplib: Minor issue [bookworm] cpp-httplib: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcpp-httplib0.11]Affected
Source package: [cpp-httplib]
Details (2)
0.11.4+ds-1+deb12u1· amd64 · bookwormAffected
nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12
0.11.4+ds-1+deb12u1· arm64 · bookwormAffected
nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12
- [libcpp-httplib-dev]Affected
Source package: [cpp-httplib]
Details (2)
0.11.4+ds-1+deb12u1· amd64 · bookwormAffected
nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12
0.11.4+ds-1+deb12u1· arm64 · bookwormAffected
nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12
[Debian 13 (Trixie)]
- [libcpp-httplib0.18]Affected
Source package: [cpp-httplib]
Details (4)
0.18.7-1+deb13u1· amd64 · trixieAffected
nvd · cpp-httplib · debian · 13
0.18.7-1+deb13u1· arm64 · trixieAffected
nvd · cpp-httplib · debian · 13
0.18.7-1+deb13u1· amd64 · trixie-securityAffected
nvd · cpp-httplib · debian · 13
0.18.7-1+deb13u1· arm64 · trixie-securityAffected
nvd · cpp-httplib · debian · 13
- [libcpp-httplib0.41]Affected
Source package: [cpp-httplib]
Details (2)
0.41.0+ds-3~bpo13+1· amd64 · trixie-backportsAffected
nvd · cpp-httplib · debian · 13
0.41.0+ds-3~bpo13+1· arm64 · trixie-backportsAffected
nvd · cpp-httplib · debian · 13
- [libcpp-httplib-dev]Affected
Source package: [cpp-httplib]
Details (6)
0.18.7-1+deb13u1· amd64 · trixieAffected
nvd · cpp-httplib · debian · 13
0.18.7-1+deb13u1· arm64 · trixieAffected
nvd · cpp-httplib · debian · 13
0.41.0+ds-3~bpo13+1· amd64 · trixie-backportsAffected
nvd · cpp-httplib · debian · 13
0.41.0+ds-3~bpo13+1· arm64 · trixie-backportsAffected
nvd · cpp-httplib · debian · 13
0.18.7-1+deb13u1· amd64 · trixie-securityAffected
nvd · cpp-httplib · debian · 13
0.18.7-1+deb13u1· arm64 · trixie-securityAffected
nvd · cpp-httplib · debian · 13
[openSUSE Tumbleweed]
- [cpp-httplib-devel]Unknown
Source package: [cpp-httplib]
Details (1)
0.49.0-1.2· x86_64 · tumbleweedUnknown · Fixed:
0.46.1-1.1Version impact unknown
nvd · cpp-httplib · opensuse · tumbleweed
- [libcpp-httplib0_49]Unknown
Source package: [cpp-httplib]
Details (1)
0.49.0-1.2· x86_64 · tumbleweedUnknown · Fixed:
0.46.1-1.1Version impact unknown
nvd · cpp-httplib · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10994-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-45372]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-45372]
- [https://osv.dev/vulnerability/USN-8470-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10994-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-45372]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45372.json]
- [https://ubuntu.com/security/notices/USN-8470-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]