Description
httplib2 is a comprehensive HTTP client library for Python. Prior to 0.32.0, httplib2 performs unbounded decompression of HTTP response bodies encoded with Content-Encoding: gzip or deflate in _decompressContent in httplib2/init.py, allowing a malicious or compromised HTTP server to return a small compressed payload that expands to an arbitrarily large size in memory and causes MemoryError or OOM-kill in the client process. This issue is fixed in version 0.32.0.
Affected products
httplib2_project: httplib2
References5
- github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f… ExploitVendor Advisory
- github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f… ExploitVendor Advisory
- github.com/httplib2/httplib2/commit/87581ad6cf752fe3da2090c5905… Patch
- github.com/httplib2/httplib2/releases/tag/v0.32.0 Release Notes
- lists.debian.org/debian-lts-announce/2026/08/msg00039.html
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 52 · as of 15 November 2026
- CWE
- CWE-409
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.