Ad

CVE-2026-28435

HIGH CVSS 3.1: 7.5 EPSS 0.08%
Updated Mar 05, 2026
Yhirose
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 0.35.0
Fixed In 0.35.0
Type CWE-400 (Uncontrolled Resource Consumption), CWE-409
Vendor Yhirose
Public PoC No

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_max_length() on the decompressed request body when using HandlerWithContentReader (streaming ContentReader) with Content-Encoding: gzip (or other supported encodings). A small compressed payload can expand beyond the configured payload limit and be processed by the application, enabling a payload size limit bypass and potential denial of service (CPU/memory exhaustion).

This vulnerability is fixed in 0.35.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Yhirose Cpp-Httplib
cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*
0.35.0