Input validation error in Cpp-httplib - CVE-2026-45352

 

Input validation error in Cpp-httplib - CVE-2026-45352

Published: May 12, 2026


Vulnerability identifier: #VU131106
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-45352
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Cpp-httplib
Software vendor:
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.


Remediation

Install security update from vendor's website.

External links