Input validation error in Cpp-httplib - CVE-2026-45352
Published: May 12, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper input validation in ChunkedDecoder::read_payload when parsing chunked Transfer-Encoding request bodies. A remote attacker can send a specially crafted HTTP request with a negative chunk-size value to cause a denial of service.
The issue can cause unbounded memory allocation and process termination when the server accepts chunked request bodies.
Affected software
Fedora
openEuler
cpp-httplib
cpp-httplib-debuginfo
cpp-httplib-debugsource
cpp-httplib-devel
How to mitigate CVE-2026-45352
cpp-httplib - update to 0.46.0-1
cpp-httplib-debuginfo - update to 0.46.0-1
cpp-httplib-debugsource - update to 0.46.0-1
cpp-httplib-devel - update to 0.46.0-1
cpp-httplib - addressed in versions 0.48.0-1.el9, 0.48.0-1.el10_3, 0.48.0-1.fc43, 0.48.0-1.fc44