CVE-2026-59939

Published Jul 8, 2026

Last updated a day ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-59939 is a denial of service vulnerability found in `httplib2`, a Python HTTP client library. This flaw, present in versions prior to 0.32.0, stems from the library's `_decompressContent` function, which performs unbounded decompression of HTTP response bodies encoded with `Content-Encoding: gzip` or `deflate`. A malicious or compromised HTTP server can exploit this by sending a small compressed payload that expands to an arbitrarily large size in memory. This can lead to memory exhaustion, causing a `MemoryError` or an out-of-memory (OOM) kill of the client process using `httplib2`. The vulnerability is described as a "decompression bomb" pattern, where a few kilobytes of compressed data can expand to gigabytes in memory.

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.
Source
security-advisories@github.com
NVD status
Analyzed
Products
httplib2

Risk scores

CVSS 3.1

Type
Secondary
Base score
7.5
Impact score
3.6
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-409

Social media

Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.

Hype score

1

Configurations