Vulnerability details

CVE-2026-22776

yhirose cpp-httplib

cpp-httplib vulnerable to a denial of service (DOS) using a zip bomb

CVSS 4.0
8.7High

Official description

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.

CVSS scores

ScoreVersionSourceVector
8.7High 4.0 CVEProject cvelistV5 (CNA) (GitHub_M) 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

Affected products

VendorProductVersionsSource
yhirose cpp-httplib < 0.30.1 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-01-12
Last updated
2026-01-12
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.41%
Probability of exploitation in 30 days
35.5%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
Proof of concept
Technical impact
Partial

Weaknesses (CWE)

  • CWE-409
    Improper Handling of Highly Compressed Data (Data Amplification)