{"id":"CVE-2026-22776","aliases":["CVE-2026-22776"],"related":[],"kind":"vulnerability","state":"published","title":"cpp-httplib vulnerable to a denial of service (DOS) using a zip bomb","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"cpp-httplib es una biblioteca C++11 multiplataforma, de un solo archivo y solo de cabecera HTTP/HTTPS. Antes de la versión 0.30.1, existe una vulnerabilidad de denegación de servicio (DoS) en cpp-httplib debido al manejo inseguro de cuerpos de solicitud HTTP comprimidos (Content-Encoding: gzip, br, etc.). La biblioteca valida el payload_max_length contra el tamaño de los datos comprimidos recibidos de la red, pero no limita el tamaño de los datos descomprimidos almacenados en memoria.","source":"nvd"}],"published":"2026-01-12T18:18:01.527Z","modified":"2026-06-17T10:20:24.347Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-409"],"affected":[{"ranges":[{"version":"< 0.30.1","status":"affected"}],"vendor":"yhirose","product":"cpp-httplib","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.30.1"}],"vendor":"yhirose","product":"cpp-httplib","cpe":"cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-h934-98h4-j43q","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/yhirose/cpp-httplib/commit/2e2e47bab1ae6a853476eecbc4bf279dd1fef792","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-01-12T18:49:48.624Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22776","url":"https://www.cve.org/CVERecord?id=CVE-2026-22776","licence":"CVE Terms of Use","modified":"2026-01-12T18:49:59.317Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22776","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22776","licence":"Public domain","modified":"2026-06-17T10:20:24.347Z"}],"updatedAt":"2026-11-25T22:59:12.734Z","epss":{"score":0.00638,"percentile":0.45188,"date":"2026-11-30T12:00:22.000Z"}}