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.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-409 — CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| httplib2 | httplib2 | < 0.32.0 |
References
- https://github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f-gfj3 (x_refsource_CONFIRM)
- https://github.com/httplib2/httplib2/commit/87581ad6cf752fe3da2090c59058261d2d00a427 (x_refsource_MISC)
- https://github.com/httplib2/httplib2/releases/tag/v0.32.0 (x_refsource_MISC)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.