CVE-2026-45372
Reported by github_m · Published May 29, 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cpp-httplib | yhirose | 0.44.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| yhirose | cpp-httplib | < 0.44.0 |
| yhirose | cpp-httplib | 0 |
Timeline
- May 29, 2026 CVE Published
- May 30, 2026 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory
- Jun 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-45372
vulnetix vdb fixes CVE-2026-45372
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45372/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4m x_refsource_CONFIRM