# Apache Thrift Python, Go, PHP and Java bindings have an Infinite Loop

High severity, published 2026-07-27. Update apache/thrift to 0.24.0 or later: composer update apache/thrift.

Canonical URL: https://buzzphp.com/security/ghsa-8wv5-x4w7-5gww · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.5) |
| Published | 2026-07-27 |
| Updated | 2026-09-02 |
| CVE | [CVE-2026-43871](https://nvd.nist.gov/vuln/detail/CVE-2026-43871) |
| GHSA | [GHSA-8wv5-x4w7-5gww](https://github.com/advisories/GHSA-8wv5-x4w7-5gww) |
| Weakness | CWE-835 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| apache/thrift | < 0.24.0 | 0.24.0 |

## What to do

Update apache/thrift to 0.24.0 or later: composer update apache/thrift.

Check which version you run with `composer show apache/thrift`, and every affected package with `composer audit`.

## About this advisory

Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Apache Thrift Python, Go, PHP and Java bindings.This issue affects Apache Thrift: before 0.24.0.

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

## Links

- [GHSA-8wv5-x4w7-5gww on GitHub](https://github.com/advisories/GHSA-8wv5-x4w7-5gww)
- [CVE-2026-43871 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-43871)
- [All Composer security advisories](https://buzzphp.com/security)
