Improper handling of highly compressed data in Cpp-httplib - CVE-2026-28435

 

Improper handling of highly compressed data in Cpp-httplib - CVE-2026-28435

Published: March 9, 2026


Vulnerability identifier: #VU123627
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-28435
CWE-ID: CWE-409
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the application does not enforce Server::set_payload_max_length() on the decompressed request body when using HandlerWithContentReader. A remote attacker can supply a specially crafted gzip data to the application and consume all available CPU and memory resources leading to a denial of service condition.


Affected software

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

How to mitigate CVE-2026-28435

Install updates from vendor's website.

Cpp-httplib - update to 0.35.0
cpp-httplib-debuginfo - update to 0.37.0-1
cpp-httplib-devel - update to 0.37.0-1
cpp-httplib-debugsource - update to 0.37.0-1
cpp-httplib - update to 0.37.0-1
cpp-httplib - addressed in versions 0.37.0-1.el9, 0.37.0-1.el10_3, 0.37.0-1.fc42, 0.37.0-1.fc43, 0.37.0-1.fc44

External References

Related Security Bulletins