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

EcosystemPackageFixed inAdvisory
Debian:12thriftno fix listedDEBIAN-CVE-2026-43871
Debian:13thriftno fix listedDEBIAN-CVE-2026-43871
Debian:14thrift0.24.0-2DEBIAN-CVE-2026-43871
Gogithub.com/apache/thrift0.24.0GHSA-8wv5-x4w7-5gww
Mavenorg.apache.thrift:libthrift0.24.0GHSA-8wv5-x4w7-5gww
Packagistapache/thrift0.24.0GHSA-8wv5-x4w7-5gww
PyPIthrift0.24.0PYSEC-2026-3926
PyPIthrift0.24.0GHSA-8wv5-x4w7-5gww
Ubuntu:22.04:LTSlibthrift-javano fix listedUBUNTU-CVE-2026-43871
Ubuntu:24.04:LTSlibthrift-javano fix listedUBUNTU-CVE-2026-43871
Ubuntu:26.04:LTSlibthrift-javano fix listedUBUNTU-CVE-2026-43871
Ubuntu:26.10libthrift-javano fix listedUBUNTU-CVE-2026-43871
Ubuntu:22.04:LTSthriftno fix listedUBUNTU-CVE-2026-43871
Ubuntu:24.04:LTSthriftno fix listedUBUNTU-CVE-2026-43871
Ubuntu:26.04:LTSthriftno fix listedUBUNTU-CVE-2026-43871
Ubuntu:26.10thriftno fix listedUBUNTU-CVE-2026-43871

Affected products (as reported)

VendorProductVersions
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

References