Skip to content
Heist/ feed
Back to feed
High

httplib2: Decompression Bomb Denial of Service via Unbounded gzip/deflate Response Handling

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-59939
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:21 UTC · Revision 1

Source evidence

httplib2: Decompression Bomb Denial of Service via Unbounded gzip/deflate Response Handling

core-osv · Original source

Published 8 Jul 2026, 19:34 UTC

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.

osv:CVE-2026-59939
Complete source record
{
  "id": "a7a68b39f510a902ae4ff43dfdc61135365ad7a584cfe93beb854cae95ddf035",
  "url": "https://osv.dev/vulnerability/CVE-2026-59939",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "httplib2: Decompression Bomb Denial of Service via Unbounded gzip/deflate Response Handling",
    "summary": "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.",
    "evidence": "osv:CVE-2026-59939",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-59939",
      "aliases": [
        "CVE-2026-59939",
        "GHSA-j5g9-f88f-gfj3",
        "PYSEC-2026-3444"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/httplib2/httplib2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ba9bf505cd899f522f2bb58ca608444adf49afc1"
                },
                {
                  "fixed": "87581ad6cf752fe3da2090c59058261d2d00a427"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:httplib2_project:httplib2:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.32.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "87581ad6cf752fe3da2090c59058261d2d00a427"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ba9bf505cd899f522f2bb58ca608444adf49afc1"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.32.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.31.2",
            "v0.31.1",
            "v0.31.0",
            "v0.30.2",
            "v0.30.1",
            "v0.30.0",
            "v0.22.0",
            "v0.21.0",
            "v0.20.4",
            "v0.20.3",
            "v0.20.2",
            "v0.20.1",
            "v0.20.0",
            "v0.19.1",
            "v0.19.0",
            "v0.18.1",
            "v0.18.0",
            "v0.17.4",
            "v0.17.3",
            "v0.17.2",
            "v0.17.1",
            "v0.17.0",
            "v0.16.0",
            "v0.15.0",
            "v0.14.0",
            "v0.13.1",
            "v0.13.0",
            "v0.12.3",
            "v0.12.0",
            "v0.11.3",
            "v0.11.2",
            "v0.11.1",
            "v0.11.0",
            "v0.10.3",
            "v0.10.1",
            "0.9.2",
            "v0.9.1",
            "0.9.1",
            "v0.9",
            "0.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59939.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.233327467Z",
      "provider": "osv",
      "references": [
        "https://github.com/httplib2/httplib2/releases/tag/v0.32.0",
        "https://lists.debian.org/debian-lts-announce/2026/08/msg00039.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59939.json",
        "https://github.com/httplib2/httplib2/security/advisories/GHSA-j5g9-f88f-gfj3",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-59939",
        "https://github.com/httplib2/httplib2/commit/87581ad6cf752fe3da2090c59058261d2d00a427"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-409"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59939.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-59939",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517319,
  "published_at": "2026-07-08T19:34:05.15+00:00"
}