CVE-2026-58662 Apache Thrift: C++ THeaderTransport::readString() info-header length bounds bypass

High 8.7 Published Updated

An out-of-bounds read in Apache Thrift C++ bindings allows attackers to cause denial of service or disclose information via malformed input.

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-58662?

CVE-2026-58662 is a high-severity memory corruption 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 Validation of Specified Quantity in Input, Out-of-bounds Read vulnerability in Apache Thrift C++ 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-1284, CWE-125

Which versions are affected by CVE-2026-58662?

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-58662?

Upgrade thrift to 0.24.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-58662 being exploited?

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

Sources

Also known as AZL-93977, BIT-thrift-2026-58662, DEBIAN-CVE-2026-58662, ECHO-3f1c-a36a-b93f, GHSA-x4w6-p6f8-24qw, MINI-28gj-38ww-89q8 and 1 more.

Is CVE-2026-58662 in your software?

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

Check your SBOMs for free