Bug 2483476 (CVE-2026-45372) - CVE-2026-45372 cpp-httplib: cpp-httplib: Arbitrary code execution via improper HTTP header processing
Summary: CVE-2026-45372 cpp-httplib: cpp-httplib: Arbitrary code execution via imprope...
Keywords:
Status: NEW
Alias: CVE-2026-45372
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2483732 2483733
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-29 21:02 UTC by OSIDB Bzimport
Modified: 2026-06-09 08:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-29 21:02:05 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.