Skip to main content

Improper Handling of Highly Compressed Data (Data Amplification)

CVE-2026-59939

Severity High
Score 7.5/10

Summary

httplib2 is a comprehensive HTTP client library for Python. Prior to version 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-409 - Improper Handling of Highly Compressed Data (Data Amplification)

The software does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.

References

Advisory Timeline

  • Published