


Perceptive Security
SOC/SIEM Consultancy

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.35.0, cpp-httplib (httplib.h) does not enforce Server::set_payload_…
Published:
3 maart 2026 om 23:00:00
Alert date:
4 maart 2026 om 21:01:35
Source:
nvd.nist.gov
Web Technologies, Supply Chain & Dependencies
CVE-2026-28435 affects cpp-httplib, a C++11 HTTP/HTTPS library, prior to version 0.35.0. The vulnerability allows bypass of Server::set_payload_max_length() limits on decompressed request bodies when using HandlerWithContentReader with Content-Encoding like gzip. Attackers can send small compressed payloads that expand beyond configured limits, potentially causing denial of service through CPU and memory exhaustion. The issue occurs because payload size limits are not enforced on decompressed content in streaming scenarios. This vulnerability is fixed in version 0.35.0.
Technical details
Mitigation steps:
Affected products:
cpp-httplib
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-28435
https://github.com/yhirose/cpp-httplib/commit/c99d7472b5cf4869d3897b9afc9792063a3d15a8
https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xvfx-w463-6fpp
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
