CVE-2026-43871: Apache Thrift Python, Go, PHP and Java bindings have an Infinite Loop
Apache Thrift Python, Go, PHP and Java bindings have an Infinite Loop
Other sources
Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit
— Microsoft
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.24.0-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 19.0.4-12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.7.5-20 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.31.0-26 - Upgrade
Upgrade
composer/apache/thriftto a version that resolves this vulnerability.Fixed in 0.24.0 - Upgrade
Upgrade
maven/org.apache.thrift:libthriftto a version that resolves this vulnerability.Fixed in 0.24.0 - Upgrade
Upgrade
go/github.com/apache/thriftto a version that resolves this vulnerability.Fixed in 0.24.0 - Upgrade
Upgrade
pip/thriftto a version that resolves this vulnerability.Fixed in 0.24.0 - Upgrade
Upgrade
Apache Thrift Python, Go, PHP and Java bindingsto a version that resolves this vulnerability.Fixed in 0.24.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43871?
CVE-2026-43871 has a severity rating of high with a CVSS score of 8.7.
How do I fix CVE-2026-43871?
To mitigate CVE-2026-43871, users should upgrade to Apache Thrift version 0.24.0 or later.
What is the issue related to CVE-2026-43871?
CVE-2026-43871 is an 'Infinite Loop' vulnerability that affects the TCompactProtocol of Apache Thrift in multiple programming languages.
Which versions of Apache Thrift are affected by CVE-2026-43871?
CVE-2026-43871 affects Apache Thrift versions prior to 0.24.0.
What languages are impacted by CVE-2026-43871?
CVE-2026-43871 impacts Apache Thrift bindings in Python, Go, PHP, and Java.