CVE-2026-49158 Apache Thrift: Ruby THeaderTransport ZLIB Decompression Bomb

High 7.5 Published Updated

An attacker can cause a denial of service in Apache Thrift Ruby applications by sending highly compressed data that triggers excessive memory consumption during decompression.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-49158?

CVE-2026-49158 is a high-severity denial of service vulnerability in Apache Thrift, published on 27 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-409

Which versions are affected by CVE-2026-49158?

1 open source package ship an affected version, including thrift. It affects 1 product.

PackageAffectedFixed in
thrift BitnamiAll versions0.24.0

Products include Apache Thrift.

How do I fix CVE-2026-49158?

Upgrade thrift to 0.24.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-49158 being exploited?

There is no known exploitation of CVE-2026-49158 in the wild and no public exploit code.

Sources

Also known as BIT-thrift-2026-49158, DEBIAN-CVE-2026-49158, GHSA-jcj7-w43p-gjh8, MINI-w9wc-hv76-w8jm, UBUNTU-CVE-2026-49158.

Is CVE-2026-49158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free