CVE-2026-43871: Apache Thrift Python, Go, PHP and Java bindings have an Infinite Loop
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.
Published Jul 27, 2026 · Updated Sep 2, 2026
Affected packages
thrift
- Ecosystem
- PyPI
- Affected
- < 0.24.0
- Fixed in
- 0.24.0
- Check
pip show thrift
github.com/apache/thrift
- Ecosystem
- Go
- Affected
- < 0.24.0
- Fixed in
- 0.24.0
- Check
go list -m github.com/apache/thrift
apache/thrift
- Ecosystem
- Composer (PHP)
- Affected
- < 0.24.0
- Fixed in
- 0.24.0
- Check
composer show apache/thrift
org.apache.thrift:libthrift
- Ecosystem
- Maven
- Affected
- < 0.24.0
- Fixed in
- 0.24.0
- Check
mvn dependency:tree -Dincludes=org.apache.thrift:libthrift
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to carlosfunk, oscerd.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-41608
Apache Thrift Python bindings have an Improper Handling of Highly Compressed Data (Data Amplification) vulnerability
high7.5Jul 27, 2026CVE-2026-66053
Apache Thrift Python bindings have a Improper Validation of Certificate with Host Mismatch vulnerabilit
medium5.9Jul 27, 2026CVE-2026-43869
Apache Thrift has an Improper Validation of Certificate with Host Mismatch Vulnerability
high7.3May 5, 2026CVE-2026-41602
Apache Thrift TFramedTransport Go language implementation has an Integer Overflow or Wraparound vulnerability
high7.5Apr 28, 2026CVE-2026-41603
Apache Thrift has an issue with Java TSSLTransportFactory hostname verification
high7.4Apr 28, 2026
