CVE-2026-45372

CRITICAL CVSS 3.1: 9.9 EPSS 0.29%
Updated Jul 22, 2026
Yhirose
Parameter Value
CVSS 9.9 (CRITICAL)
Affected Versions before 0.44.0
Fixed In 0.44.0
Type CWE-444, CWE-93
Vendor Yhirose
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Yhirose Cpp-Httplib
cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*
— 0.44.0