{"cve":"CVE-2026-61652","nvd":{"published":"2026-09-21T22:16:57.680","modified":"2026-09-24T21:25:27.050","status":"Deferred","description":"Zapros, a Python HTTP client, prior to version 0.14.0 is vulnerable to denial of service via memory exhaustion. The issue affects all callers who streamed compressed responses relying on the chunk size — explicit (`iter_bytes(chunk_size=...)`) or the default — to bound memory. The decoder ignored that bound, so a chunk could be far larger than requested and a single compressed response could overflow memory. Version 0.14.0 contains a patch. Some workarounds are available. Read the still-compressed body with `Response.iter_raw()` / `Response.async_iter_raw()`, which bypass the built-in decoders, and decompress it yourself with an explicit output-size bound (e.g. `zlib`'s `max_length`), aborting once a configured limit is exceeded. Where feasible, send `Accept-Encoding: identity` to disable response compression so bodies are not decompressed client-side. Avoid decoding response bodies from untrusted servers.","cvss_v4":{"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},"cvss_v3":null,"cwes":["CWE-770"],"references":["https://github.com/kap-sh/zapros/security/advisories/GHSA-6cp7-3m3c-5x5c"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:55:23.253742848+00:00"},"epss":{"cve":"CVE-2026-61652","score":0.00436,"percentile":0.37887,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6cp7-3m3c-5x5c","url":"https://osv.dev/vulnerability/GHSA-6cp7-3m3c-5x5c","summary":"Zapros: Streaming decoders ignored the requested chunk size, allowing a single compressed response chunk to allocate unbounded memory (decompression bomb)","modified":"2026-10-01T17:55:49.149255520Z","packages":[{"ecosystem":"PyPI","name":"zapros","purl":"pkg:pypi/zapros","ranges":["<0.14.0"],"fixed":["0.14.0"]}]},{"id":"PYSEC-2026-4182","url":"https://osv.dev/vulnerability/PYSEC-2026-4182","summary":"Zapros: Streaming decoders ignored the requested chunk size, allowing a single compressed response chunk to allocate unbounded memory (decompression bomb)","modified":"2026-10-01T17:45:09.327236100Z","packages":[{"ecosystem":"PyPI","name":"zapros","purl":"pkg:pypi/zapros","ranges":["<0.14.0"],"fixed":["0.14.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}