CVE-2026-59939 Details
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.
A denial-of-service vulnerability has been identified in the httplib2 library for Python, prior to version 0.32.0. The issue arises from unbounded decompression of HTTP response bodies encoded with Content-Encoding: gzip or deflate. This flaw allows a malicious or compromised HTTP server to send a small compressed payload that expands to a significantly larger size in memory, causing a MemoryError or out-of-memory kill in the client process. The vulnerability is automatically triggered on any HTTP response that includes a gzip or deflate encoding, without any limits on the decompressed size.
Users can upgrade to httplib2 version 0.32.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-409 | Improper Handling of Highly Compressed Data (Data Amplification) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| httplib2 project httplib2 | < 0.32.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 20, 2026 | CVE Modified | CVE |
| Jul 13, 2026 | Initial Analysis | [email protected] |
| Jul 10, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2026 | New CVE Received | [email protected] |