CVE-2026-22776
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.30.1, a Denial of Service (DoS) vulnerability exists in cpp-httplib due to the unsafe handling of compressed HTTP request bodies (Content-Encoding: gzip, br, etc.). 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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.7
- CVSS vector
- 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
- EPSS probability
- 0.40%
- CWE
- CWE-409
- Published
- 2026-01-12
- Last modified
- 2026-03-12
Affected products
- yhirose cpp-httplib
Weakness type
Related vulnerabilities
- CVE-2026-79695 — Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to...
- CVE-2026-69304 — ASP.NET Core Denial of Service Vulnerability
- CVE-2026-85786 — Incomplete fix for CVE-2026-75936 memory-amplification denial of service in Amazon ion-java
- CVE-2026-82520 — parsedmarc < 11.0.1 Zip Bomb DoS via Compressed Email Attachments
- CVE-2026-84382 — HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)
- CVE-2026-78594 — Improper Handling of Highly Compressed Data in APM Server Leading to Persistent Denial of Service
- CVE-2026-72628 — Improper Handling of Highly Compressed Data in Kibana Leading to Denial of Service
- CVE-2026-82864 — pdfme pdf-lib before 5.5.10 Denial of Service via Decompression Bomb