CVE-2026-41608

Apache Thrift: Unbounded Zlib Decompression in Python THeaderTransport

Published Jul 27, 2026 CVSS 3.1 · 7.5 High EPSS 1.0% KEV · Not listed
Description
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Apache Thrift Python bindings.

This issue affects Apache Thrift: before 0.24.0.

Users are recommended to upgrade to version 0.24.0, which fixes the issue.

Analysis

AI-generated

Technical impact

Apache Thrift’s Python bindings allow an attacker to send highly compressed data to the THeaderTransport layer, causing an unbounded zlib decompression that amplifies memory usage. The flaw is a classic data‑amplification problem, identified as CWE‑409, and can exhaust system resources, leading to a denial of service. No other confidentiality or integrity impact is described in the available data.

Affected Systems

The vulnerability affects the Apache Thrift library, specifically any Python bindings released before version 0.24.0. Systems that expose a Thrift service using these bindings are potentially exposed, regardless of operating system or deployment environment.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity data‑amplification vulnerability, and the EPSS score of 1% reflects a low but non‑zero probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. An attacker can craft a large compressed payload and send it over the network to a Thrift service, triggering uncontrolled decompression and memory exhaustion. The likelihood of exploitation increases for services exposed to untrusted networks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift Python bindings to 0.24.0 or later as recommended by the vendor.
  • Limit the exposure of the Thrift service by applying firewall rules to restrict inbound connections to trusted IP ranges or by placing the service behind an application gateway.
  • Monitor memory usage and process health for thrift processes, and trigger alerts or automatic restarts when abnormal spikes are detected.

Generated by OpenCVE AI on August 3, 2026 at 17:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6pjx-3pjc-mrj8 Apache Thrift Python bindings have an Improper Handling of Highly Compressed Data (Data Amplification) vulnerability
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift
Type Values Removed Values Added
Description Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Apache Thrift Python bindings. This issue affects Apache Thrift: before 0.24.0. Users are recommended to upgrade to version 0.24.0, which fixes the issue.
Title Apache Thrift: Unbounded Zlib Decompression in Python THeaderTransport
Weaknesses CWE-409
References
Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jul 28, 2026, 2:54 PM
Reserved
Apr 21, 2026, 10:14 PM
Status
Modified
Published
Jul 27, 2026, 12:16 PM
Modified
Oct 24, 2026, 1:10 PM
Severity
Important
Public date
Jul 27, 2026, 10:53 AM