Input validation error in Cpp-httplib - CVE-2026-45352
Published: May 12, 2026
Cpp-httplib
Cpp-httplib Project
Description
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.