Improper handling of highly compressed data in Cpp-httplib - CVE-2026-28435
Published: March 9, 2026
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
Fedora
openEuler
cpp-httplib-debuginfo
cpp-httplib-devel
cpp-httplib-debugsource
cpp-httplib
How to mitigate CVE-2026-28435
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
- Multiple vulnerabilities in Cpp-httplib
- Fedora EPEL 10.3 update for cpp-httplib
- Fedora 43 update for cpp-httplib
- Fedora 42 update for cpp-httplib
- Fedora 44 update for cpp-httplib
- Fedora EPEL 9 update for cpp-httplib
- openEuler 24.03 LTS update for cpp-httplib
- openEuler 24.03 LTS SP3 update for cpp-httplib
- openEuler 24.03 LTS SP2 update for cpp-httplib
- openEuler 24.03 LTS SP1 update for cpp-httplib