CVE-2026-45372Yhirose Cpp-httplib
Critical 9.9 No auth needed
Follow: this CVE · Yhirose · Yhirose Cpp-httplib We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.9
- EPSS
- —
- Auth required
- No
- Published
- May 29, 2026
- Updated
- Jul 22, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for Cpp-httplib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yhirose | cpp-httplib | < 0.44.0 |
Official advisories
- cpp-httplib-devel-0.46.1-1.1 on GA media · SUSE · openSUSE-SU-2026:10994-1 · Jun 11, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mitigation Vendor Advisory