# CVE-2026-94654: Apache Thrift infinite loop in Python bindings

Source: https://junglewise.ai/threats/cve-2026-94654-loop-with-unreachable-exit-condition-infinite-loop-vulnerability  
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-94654 · Severity: info · Published 2026-10-02

Apache Thrift is a framework for building cross-language services. An infinite loop vulnerability in its Python bindings could cause a service to hang or consume excessive CPU resources, potentially leading to denial of service. Applications using the affected Python bindings may become unresponsive.

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

## Quick answers

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

**How severe is CVE-2026-94654?** 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-94654?** 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-94654 attacked?** It is in a software library.

**Am I affected by CVE-2026-94654?** 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

A loop with an unreachable exit condition in Apache Thrift's Python bindings causes an infinite loop. This affects all versions before 0.25.0. The vulnerability is triggered through normal use of the Python bindings and could result in resource exhaustion or service unavailability.

## Affected products

- Apache Thrift before 0.25.0

## Timeline

- 2026-10-02: disclosed

## References

- [https://pypi.python.org/](https://pypi.python.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 uncontrolled recursion in PHP bindings](https://junglewise.ai/threats/cve-2026-96289-uncontrolled-recursion-vulnerability-in-apache-thrift-php)
- [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)
