Live threats

All CVEs / Yhirose

CVE-2026-45372Yhirose Cpp-httplib

Critical 9.9 No auth needed

Priority
74
CVSS 3.1
9.9
EPSS
—
Auth required
No
Published
May 29, 2026
Updated
Jul 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-93, CWE-444
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cpp-httplib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
yhirosecpp-httplib< 0.44.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.