Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Httplib2 Project | Httplib2 | < 0.32.0 |
Related Weaknesses (CWE)
References
- https://github.com/httplib2/httplib2/commit/87581ad6cf752fe3da2090c59058261d2d00Patch
- https://github.com/httplib2/httplib2/releases/tag/v0.32.0Release Notes
- https://github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f-gfj3ExploitVendor Advisory
- https://lists.debian.org/debian-lts-announce/2026/08/msg00039.html
- https://github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f-gfj3ExploitVendor Advisory
FAQ
What is CVE-2026-59939?
CVE-2026-59939 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 _decomp...
How severe is CVE-2026-59939?
CVE-2026-59939 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59939?
Check the references section above for vendor advisories and patch information. Affected products include: Httplib2 Project Httplib2.