CVE-2026-66837 Apache Thrift: PHP accelerator sizes a stack buffer from a wire-controlled string length

High 8.7 Published Updated

Attackers can trigger a stack buffer overflow in Apache Thrift PHP bindings via crafted wire data, potentially leading to code execution or crashes.

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

CVE-2026-66837 is a high-severity vulnerability in Apache Thrift, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack-based Buffer Overflow, Integer Overflow or Wraparound vulnerability in Apache Thrift php bindings.

This issue affects Apache Thrift: before 0.25.0.

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

Weakness: CWE-190, CWE-121

Which versions are affected by CVE-2026-66837?

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

PackageAffectedFixed in
thrift BitnamiAll versions0.25.0

How do I fix CVE-2026-66837?

Upgrade thrift to 0.25.0 or later.

Is CVE-2026-66837 being exploited?

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

Sources

Also known as AZL-106638, BIT-thrift-2026-66837, DEBIAN-CVE-2026-66837, ECHO-eec7-309e-8d44, GHSA-fvvf-6w23-6h87, MINI-h722-3mpj-9xxv and 1 more.

Is CVE-2026-66837 in your software?

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

Check your SBOMs for free