Vulnerability in Yhirose Cpp-Httplib

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 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.

Vulnerability class: CRLF Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L.

EPSS exploit prediction

EPSS: 0.004 (33.8th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 33.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-45372: held from 0.003 to 0.004.

EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-45372?
CVE-2026-45372 is a critical-severity vulnerability in Yhirose Cpp-Httplib, classified under CRLF Injection. CVSS score: 9.9/10. Published 2026-05-29.
How severe is CVE-2026-45372?
Critical severity. CVSS v3 base score is 9.9 out of 10.