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.
References
| Link | Resource |
|---|---|
| https://github.com/httplib2/httplib2/commit/87581ad6cf752fe3da2090c59058261d2d00a427 | Patch |
| https://github.com/httplib2/httplib2/releases/tag/v0.32.0 | Release Notes |
| https://github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f-gfj3 | Exploit Vendor Advisory |
| https://github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f-gfj3 | Exploit Vendor Advisory |
Configurations
History
13 Jul 2026, 12:31
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Httplib2 Project
Httplib2 Project httplib2 |
|
| References | () https://github.com/httplib2/httplib2/commit/87581ad6cf752fe3da2090c59058261d2d00a427 - Patch | |
| References | () https://github.com/httplib2/httplib2/releases/tag/v0.32.0 - Release Notes | |
| References | () https://github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f-gfj3 - Exploit, Vendor Advisory | |
| CPE | cpe:2.3:a:httplib2_project:httplib2:*:*:*:*:*:python:*:* |
10 Jul 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f-gfj3 - |
08 Jul 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-08 20:16
Updated : 2026-07-13 12:31
NVD link : CVE-2026-59939
Mitre link : CVE-2026-59939
CVE.ORG link : CVE-2026-59939
JSON object : View
Products Affected
httplib2_project
- httplib2
CWE
CWE-409
Improper Handling of Highly Compressed Data (Data Amplification)
