CVE-2026-43871 Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit
An infinite loop in Apache Thrift bindings allows attackers to cause a denial of service via crafted varint byte counts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-43871?
CVE-2026-43871 is a high-severity denial of service vulnerability in Apache Thrift, published on 27 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-835
Which versions are affected by CVE-2026-43871?
10 open source packages ship an affected version, including github.com/apache/thrift, thrift and org.apache.thrift:libthrift. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/apache/thrift Go | All versions | 0.24.0 |
github.com/apache/thrift Go | All versions | 0.24.0 |
thrift Bitnami | All versions | 0.24.0 |
org.apache.thrift:libthrift Maven | All versions | 0.24.0 |
org.apache.thrift:libthrift Maven | All versions | 0.24.0 |
apache/thrift Packagist | All versions | 0.24.0 |
4 more packages
apache/thrift Packagist | All versions | 0.24.0 |
thrift PyPI | All versions | 0.24.0 |
thrift PyPI | All versions | 0.24.0 |
thrift PyPI | All versions | 0.24.0 |
Products include Apache Thrift.
How do I fix CVE-2026-43871?
Upgrade github.com/apache/thrift to 0.24.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-43871 being exploited?
There is no known exploitation of CVE-2026-43871 in the wild and no public exploit code.
Other vulnerabilities in Apache Thrift
- CVE-2026-55971 Apache Thrift: C++ ZLIB heap buffer overflow (write) in THeaderTransport::untransform()
- CVE-2026-48144 Apache Thrift: c_glib TLS Client Missing Hostname Verification
- CVE-2016-5397 Apache Thrift Go Library Command Injection
- CVE-2026-48586 Denial of service in Apache Thrift
- CVE-2026-55968 Apache Thrift: Node.js quadratic-time DoS in server receive transports
Sources
Also known as AZL-93995, AZL-94163, AZL-94220, AZL-94235, AZL-94320, AZL-94329 and 105 more.