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
CVSS v4: 6.9 [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]
CVE-ID: CVE-2026-45352
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Cpp-httplib
Fedora
openEuler
cpp-httplib
cpp-httplib-debuginfo
cpp-httplib-debugsource
cpp-httplib-devel

How to mitigate CVE-2026-45352

Install security update from vendor's website.

Cpp-httplib - update to 0.43.4
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

External References

Related Security Bulletins