# CVE-2026-96289: Apache Thrift uncontrolled recursion in PHP bindings

Source: https://junglewise.ai/threats/cve-2026-96289-uncontrolled-recursion-vulnerability-in-apache-thrift-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-02. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

CVE-2026-96289 · Severity: info · Published 2026-10-02

Apache Thrift is a framework for building cross-language services. A vulnerability in the PHP language bindings allows uncontrolled recursion, which could cause the application to crash or hang when processing specially crafted input. This affects all versions before 0.25.0.

Technologies: [Apache Thrift](https://junglewise.ai/threats/technologies/thrift). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache).

## Quick answers

**Is CVE-2026-96289 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-96289 being exploited in the wild.

**How severe is CVE-2026-96289?** Informational severity, published 2 October 2026.

**Which products and versions are affected?** Apache Thrift before 0.25.0.

**Is there a fix for CVE-2026-96289?** Yes: fixed in 0.25.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-96289 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-96289?** Check whether you run Apache Thrift at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 0.25.0

## Technical details

The PHP bindings for Apache Thrift contain an uncontrolled recursion vulnerability, likely triggered during deserialization or parsing of malformed Thrift objects. An attacker who can send malicious Thrift messages to an application would be able to trigger stack exhaustion, resulting in denial of service. The fix is available in version 0.25.0.

## Affected products

- Apache Thrift before 0.25.0

## References

- [https://packagist.org/](https://packagist.org/)
- [https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1](https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1)

## Related threats

- [Apache Thrift uncontrolled recursion in Java bindings](https://junglewise.ai/threats/cve-2026-120135-uncontrolled-recursion-vulnerability-in-apache-thrift-java)
- [Apache Thrift Perl bindings inefficient algorithmic complexity](https://junglewise.ai/threats/cve-2026-96287-inefficient-algorithmic-complexity-vulnerability-in-apache-thrift)
- [Apache Thrift uncaught exception in Perl bindings](https://junglewise.ai/threats/cve-2026-96286-uncaught-exception-vulnerability-in-apache-thrift-perl-bindings)
- [Apache Thrift Ruby bindings exception handling vulnerability](https://junglewise.ai/threats/cve-2026-96277-uncaught-exception-improper-handling-of-exceptional-conditions)
- [Apache Thrift inefficient algorithmic complexity in Lua bindings](https://junglewise.ai/threats/cve-2026-94658-inefficient-algorithmic-complexity-vulnerability-in-apache-thrift)
