CVE-2026-43871: Apache Thrift Python, Go, PHP and Java bindings have an Infinite Loop

Published Jul 24, 2026
·
Updated

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

24 affected componentsFixes available
Apache Thrift<0.24.0
Microsoft azl3 thrift 0.15.0-6<0.24.0-1
0.24.0-1
Microsoft azl3 vitess 19.0.4-12<19.0.4-12
19.0.4-12
Microsoft azl3 telegraf 1.31.0-28<1.31.0-26
1.31.0-26
Microsoft azl3 influxdb 2.7.5-19<2.7.5-20
2.7.5-20
Apache Thrift<0.24.0
composer/apache/thrift<0.24.0
0.24.0
maven/org.apache.thrift:libthrift<0.24.0
0.24.0
composer/apache/thrift<0.24.0
0.24.0
go/github.com/apache/thrift<0.24.0
0.24.0
pip/thrift<0.24.0
0.24.0
IBM watsonx.data<=2.4.0 - 2.4.0 patch 8
debian/thrift<=0.17.0-2, <=0.19.0-4
0.24.0-10.24.0-2
ubuntu/libthrift-java*
ubuntu/libthrift-java*
ubuntu/thrift*
ubuntu/libthrift-java*
ubuntu/thrift*
ubuntu/libthrift-java*
ubuntu/thrift*
ubuntu/libthrift-java*
ubuntu/thrift*
ubuntu/libthrift-java*
ubuntu/thrift*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.24.0-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 19.0.4-12
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.7.5-20
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.31.0-26
  5. Upgrade

    Upgrade composer/apache/thrift to a version that resolves this vulnerability.

    Fixed in 0.24.0
  6. Upgrade

    Upgrade maven/org.apache.thrift:libthrift to a version that resolves this vulnerability.

    Fixed in 0.24.0
  7. Upgrade

    Upgrade go/github.com/apache/thrift to a version that resolves this vulnerability.

    Fixed in 0.24.0
  8. Upgrade

    Upgrade pip/thrift to a version that resolves this vulnerability.

    Fixed in 0.24.0
  9. Upgrade

    Upgrade debian/thrift to a version that resolves this vulnerability.

    Fixed in 0.24.0-1Fixed in 0.24.0-2
  10. Upgrade

    Upgrade Apache Thrift Python, Go, PHP and Java bindings to a version that resolves this vulnerability.

    Fixed in 0.24.0

Event History

Jul 27, 2026
CVE Published
via MITRE·10:56 AM
Data Sourced
via MITRE·10:56 AM
DescriptionWeakness
Data Sourced
via OSV·10:56 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·12:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeakness
Advisory Published
via Packagist·12:31 PM
Data Sourced
via Packagist·12:31 PM
DescriptionSeverityAffected Software
Data Sourced
via GitHub·12:31 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·07:51 PM
Affected Software
Updated
via NVD·07:51 PM
Severity
Aug 7, 2026
Data Sourced
via Microsoft·08:21 AM
DescriptionSeverityWeaknessAffected Software
Oct 8, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 14, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 19, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-43871?

CVE-2026-43871 has a severity rating of high with a CVSS score of 8.7.

2

How do I fix CVE-2026-43871?

To mitigate CVE-2026-43871, users should upgrade to Apache Thrift version 0.24.0 or later.

3

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.

4

Which versions of Apache Thrift are affected by CVE-2026-43871?

CVE-2026-43871 affects Apache Thrift versions prior to 0.24.0.

5

What languages are impacted by CVE-2026-43871?

CVE-2026-43871 impacts Apache Thrift bindings in Python, Go, PHP, and Java.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203