Apache Thrift Python, Go, PHP and Java bindings have an Infinite Loop
High severity. Published 27 July 2026. Update apache/thrift to 0.24.0 or later: composer update apache/thrift.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| apache/thrift (opens in a new tab) | < 0.24.0 | 0.24.0 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show apache/thrift
composer auditAdvisory details
| Severity | HighCVSS 7.5 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-43871 (opens in a new tab) |
| GHSA | GHSA-8wv5-x4w7-5gww (opens in a new tab) |
| Weakness | CWE-835 |
What the advisory says
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.
Source: GHSA-8wv5-x4w7-5gww (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .