Vulnerability · Published Jul 27, 2026 · Assigned by apache
CVE-2026-43871Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit
High 8.7
In plain English
A high-severity infinite loop in Apache Thrift from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 4.0)8.7High
Exploit odds (30 days)1.0%top 36.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | thrift | no fix listed | DEBIAN-CVE-2026-43871 |
| Debian:13 | thrift | no fix listed | DEBIAN-CVE-2026-43871 |
| Debian:14 | thrift | 0.24.0-2 | DEBIAN-CVE-2026-43871 |
| Go | github.com/apache/thrift | 0.24.0 | GHSA-8wv5-x4w7-5gww |
| Maven | org.apache.thrift:libthrift | 0.24.0 | GHSA-8wv5-x4w7-5gww |
| Packagist | apache/thrift | 0.24.0 | GHSA-8wv5-x4w7-5gww |
| PyPI | thrift | 0.24.0 | PYSEC-2026-3926 |
| PyPI | thrift | 0.24.0 | GHSA-8wv5-x4w7-5gww |
| Ubuntu:22.04:LTS | libthrift-java | no fix listed | UBUNTU-CVE-2026-43871 |
| Ubuntu:24.04:LTS | libthrift-java | no fix listed | UBUNTU-CVE-2026-43871 |
| Ubuntu:26.04:LTS | libthrift-java | no fix listed | UBUNTU-CVE-2026-43871 |
| Ubuntu:26.10 | libthrift-java | no fix listed | UBUNTU-CVE-2026-43871 |
| Ubuntu:22.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-43871 |
| Ubuntu:24.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-43871 |
| Ubuntu:26.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-43871 |
| Ubuntu:26.10 | thrift | no fix listed | UBUNTU-CVE-2026-43871 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Thrift | 0 – before 0.24.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.24.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.24.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.24.0 |
Weakness: CWE-835 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N