{"id":"CVE-2026-61541","summary":"Zapros has an Unbounded Content-Encoding decompression chain that allows denial of service","details":"Zapros, a Python HTTP client, prior to version 0.14.0 is vulnerable to denial of service when an application requests content from an untrusted server, or follows a redirect to one, because a malicious response containing an excessive number of chained `Content-Encoding` values causes Zapros to construct a deeply nested decompression chain that consumes excessive resources. Version 0.14.0 patches the vulnerability by limiting responses to five content-encoding layers and raising `DecodingError` when that limit is exceeded. As a workaround, applications can add response middleware that inspects the `Content-Encoding` header and rejects responses containing more than a safe number of encoding layers.","aliases":["GHSA-5vjj-2r48-q622"],"modified":"2026-09-24T03:30:21.820410072Z","published":"2026-09-21T21:21:21.321Z","database_specific":{"cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61541.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61541.json"},{"type":"ADVISORY","url":"https://github.com/kap-sh/zapros/security/advisories/GHSA-5vjj-2r48-q622"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61541"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kap-sh/zapros","events":[{"introduced":"0"},{"fixed":"ac1510f14665db5dcd806931f5511c8e5ac3ef63"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"0.14.0"}]}}],"versions":["v0.13.0","v0.12.0","v0.11.1","v0.11.0","v0.10.0","v0.9.0","v0.8.0","v0.7.0","v0.6.0","v0.5.1","v0.5.0","v0.4.0","v0.3.0","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61541.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}