# CVE-2026-45372: cpp-httplib: HTTP header value percent-decoding in server-side `parse_header` enables CRLF injection

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T19:21:12.313Z
- Modified: 2026-07-22T06:10:00.170Z
- Weaknesses: CWE-93, CWE-444
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- yhirose cpp-httplib: < 0.44.0; before 0.44.0

## References

- <https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4m> (exploit, mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-45372](https://www.cve.org/CVERecord?id=CVE-2026-45372), CVE Terms of Use, modified 2026-06-01
- NVD: [CVE-2026-45372](https://nvd.nist.gov/vuln/detail/CVE-2026-45372), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-45372 · Whole record: https://cve.day/CVE-2026-45372.json · Rebuilt by cve.day 2026-11-25T22:59:23.367Z
