# CVE-2026-85476: Apache Thrift infinite loop in c_glib bindings

Source: https://junglewise.ai/threats/cve-2026-85476-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-85476 · Severity: info · Published 2026-10-02

Apache Thrift is a framework for data serialization and RPC commonly used in distributed systems. An infinite loop vulnerability in its C GLib bindings could cause applications to hang or become unresponsive when processing malformed data. This may lead to denial of service conditions in services relying on Thrift for communication.

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

## Quick answers

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

**How severe is CVE-2026-85476?** 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-85476?** 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-85476 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-85476?** 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 unreachable exit condition exists in the Apache Thrift c_glib bindings, potentially triggered when processing certain inputs. The vulnerability affects c_glib library code and could cause resource exhaustion through an infinite loop. A remote attacker could exploit this by sending malformed Thrift messages to trigger the unexitable loop condition.

## Affected products

- Apache Thrift before 0.25.0

## Timeline

- 2026-10-02: disclosed

## References

- [https://lists.apache.org/thread/1zdvscq7p3hf3z30s26h4tm9dvljm1jj](https://lists.apache.org/thread/1zdvscq7p3hf3z30s26h4tm9dvljm1jj)
- [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)
