Description
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Apache Thrift Ruby bindings.

This issue affects Apache Thrift: before 0.24.0.

Users are recommended to upgrade to version 0.24.0, which fixes the issue.
Published: 2026-07-27
Score: 7.5 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The issue is an improper handling of highly compressed data in the Ruby THeaderTransport of Apache Thrift. The vulnerability arises when the server decompresses ZLIB‑compressed payloads without bounding the amount of data that can be produced by the compression. An attacker can supply a small compressed blob that expands to a huge uncompressed string, causing the Ruby runtime to allocate a large amount of memory and potentially crash or become extremely slow. This is a classic decompression‑bomb scenario, identified as a Data Amplification flaw (CWE‑409).

Affected Systems

Vendors: Apache Software Foundation. Product: Apache Thrift Ruby bindings. All versions before 0.24.0 are affected; versions 0.24.0 and later include the fix.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, and the EPSS score of 1 % indicates a very low but non‑zero exploitation probability, while the lack of a KEV listing does not preclude an active exploit. The probable attack vector is a remote client that sends a maliciously compressed message to a Thrift service. Because the flaw does not require local privileges and operates over the network, an attacker with network access to the Thrift service can trigger memory exhaustion, leading to denial of service of the affected process.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift Ruby bindings to version 0.24.0 or later.
  • Configure the Thrift server to enforce a maximum payload size or limit the allowed compression ratio to prevent excessively large decompressed structures.
  • Monitor system memory and process health, and set alerts for abnormal memory consumption or crashes associated with Thrift services.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 27 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift

Mon, 27 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 27 Jul 2026 11:30:00 +0000

Type Values Removed Values Added
Description Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Apache Thrift Ruby 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: Ruby THeaderTransport ZLIB Decompression Bomb
Weaknesses CWE-409
References
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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-27T13:04:21.271Z

Reserved: 2026-05-27T23:08:39.282Z

Link: CVE-2026-49158

cve-icon Vulnrichment

Updated: 2026-07-27T11:07:43.410Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-27T12:16:45.113

Modified: 2026-07-27T19:50:09.790

Link: CVE-2026-49158

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-27T11:05:07Z

Links: CVE-2026-49158 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:00:11Z

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)