PT-2026-44975 · Unknown · Cpp-Httplib
Oleksiioleksenko
·
Published
2026-05-29
·
Updated
2026-05-29
·
CVE-2026-45352
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
cpp-httplib versions prior to 0.43.4
Description
A flaw exists in the way the library handles chunked Transfer-Encoding. The
read payload() function in httplib.h uses std::strtoul() to parse the chunk-size field. Because std::strtoul() accepts leading minus signs and performs unsigned wrap-around, negative values (except for -1) are converted into very large unsigned integers. This leads to unbounded memory allocation and causes the process to crash.Recommendations
Update to version 0.43.4.
Fix
DoS
Allocation of Resources Without Limits
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Cpp-Httplib