CVE-2026-61652
HIGH 8.7CVSS 4.0Zapros: Streaming decoders ignored the requested chunk size, allowing a single compressed response chunk to allocate unbounded memory (decompression bomb)
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.
- Published
- 21 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-6cp7-3m3c-5x5cPYSEC-2026-4182
- Sources
- NVDJSONOSV GHSA-6cp7-3m3c-5x5cJSONOSV PYSEC-2026-4182JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.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 | |
| OSV | PyPA | CVSS 4.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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | zapros | < 0.14.0 | 0.14.0 |
References
- https://github.com/kap-sh/zapros/security/advisories/GHSA-6cp7-3m3c-5x5c · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-61652 · ADVISORY
- https://github.com/kap-sh/zapros/commit/9b59fa65857734599c34b0b3dff4c2b62293a68d · WEB
- https://github.com/kap-sh/zapros · PACKAGE
- https://github.com/kap-sh/zapros/releases/tag/v0.14.0 · WEB
- https://pypi.org/project/zapros · PACKAGE
- https://github.com/advisories/GHSA-6cp7-3m3c-5x5c · ADVISORY
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 21 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Sep 2026)