Resource exhaustion in Cpp-httplib - CVE-2026-22776

 

Resource exhaustion in Cpp-httplib - CVE-2026-22776

Published: January 12, 2026


Vulnerability identifier: #VU121164
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-22776
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Cpp-httplib Project
Affected software:
Cpp-httplib

Detailed vulnerability description

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

The vulnerability exists due to application does not properly control consumption of internal resources when handling compressed HTTP request body. The library validates the payload_max_length against the compressed data size received from the network, but does not limit the size of the decompressed data stored in memory. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.


How to mitigate CVE-2026-22776

Install updates from vendor's website.

Sources