Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-835.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Thrift | before 0.24.0 | 0.24.0 | Patch available | CNA |
| Apache | Apache Thrift | before 0.24.0 | 0.24.0 | Patch available | CNA |
| Apache | Apache Thrift | before 0.24.0 | 0.24.0 | Patch available | CNA |
| Apache | Apache Thrift | before 0.24.0 | 0.24.0 | Patch available | CNA |
| — | thrift (PyPI) | before 0.24.0 | 0.24.0 | Patch available | GHSA-8wv5-x4w7-5gww |
| — | github.com/apache/thrift (Go) | before 0.24.0 | 0.24.0 | Patch available | GHSA-8wv5-x4w7-5gww |
| — | apache/thrift (Packagist) | before 0.24.0 | 0.24.0 | Patch available | GHSA-8wv5-x4w7-5gww |
| — | org.apache.thrift:libthrift (Maven) | before 0.24.0 | 0.24.0 | Patch available | GHSA-8wv5-x4w7-5gww |
- Apache Thrift VendorApache Affected before 0.24.0 Fixed in 0.24.0 Patch available CNA
- Apache Thrift VendorApache Affected before 0.24.0 Fixed in 0.24.0 Patch available CNA
- Apache Thrift VendorApache Affected before 0.24.0 Fixed in 0.24.0 Patch available CNA
- Apache Thrift VendorApache Affected before 0.24.0 Fixed in 0.24.0 Patch available CNA
- thrift (PyPI) Vendor— Affected before 0.24.0 Fixed in 0.24.0 Patch available GHSA-8wv5-x4w7-5gww
- github.com/apache/thrift (Go) Vendor— Affected before 0.24.0 Fixed in 0.24.0 Patch available GHSA-8wv5-x4w7-5gww
- apache/thrift (Packagist) Vendor— Affected before 0.24.0 Fixed in 0.24.0 Patch available GHSA-8wv5-x4w7-5gww
- org.apache.thrift:libthrift (Maven) Vendor— Affected before 0.24.0 Fixed in 0.24.0 Patch available GHSA-8wv5-x4w7-5gww
Remediation
- Fix · CNA Apache Thrift (Apache Software Foundation) Fixed in 0.24.0
- Fix · CNA Apache Thrift (Apache Software Foundation) Fixed in 0.24.0
- Fix · CNA Apache Thrift (Apache Software Foundation) Fixed in 0.24.0
- Fix · CNA Apache Thrift (Apache Software Foundation) Fixed in 0.24.0
- Fix · GHSA-8wv5-x4w7-5gww thrift (PyPI) Fixed in 0.24.0 Advisory →
- Fix · GHSA-8wv5-x4w7-5gww github.com/apache/thrift (Go) Fixed in 0.24.0 Advisory →
- Fix · GHSA-8wv5-x4w7-5gww apache/thrift (Packagist) Fixed in 0.24.0 Advisory →
- Fix · GHSA-8wv5-x4w7-5gww org.apache.thrift:libthrift (Maven) Fixed in 0.24.0 Advisory →
Red Hat 2 advisories
- RHSA-2026:94503 Released 2026-11-03 · Red Hat rating ImportantRHEL AI 3.4 RPM runtime CVE fix - thrift
- Red Hat Enterprise Linux AI 3.4 for RHEL 9 perl-thrift-1:0.15.0-8.el9ai, python3-thrift-1:0.15.0-8.el9ai, thrift-1:0.15.0-8.el9ai +3
- RHSA-2026:49837 Released 2026-08-03 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images perl-thrift-0.24.0-0.1.hum1@noarch@public-hummingbird-aarch64-rpms, perl-thrift-0.24.0-0.1.hum1@noarch@public-hummingbird-x86_64-rpms, python3-thrift-0.24.0-0.1.hum1@aarch64 +10
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Apache Thrift — lists.apache.org/thread/7v3jhgwfbmhx42424phydlnzb109g8b9
15 records Highest priority Priority MEDIUM 10 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2026-40373 Apache Thrift: C++ ZLIB heap buffer overflow (write) in THeaderTransport::untransform()Priority MEDIUM 50
- TI-2026-42227 Apache Thrift: C++ THeaderTransport::readString() info-header length bounds bypassPriority MEDIUM 46
- TI-2026-42014 Apache Thrift: Rust binary protocol non-strict path missing string size limitPriority MEDIUM 46
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Update Service | Affected | No fix yet |
| Red Hat Enterprise Linux AI 3.4 for RHEL 9 | Fixed | RHSA-2026:94503 |
| Red Hat Hardened Images | Fixed | RHSA-2026:49837 |
Not affected: 3 products
- Confidential Compute Attestation
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-43871
- 2026-10-03 Alias added: GHSA-8wv5-x4w7-5gww
- 2026-11-03 Fix available: RHSA-2026:94503 · Red Hat
- 2026-11-03 Fix available: Red Hat Enterprise Linux AI 3.4 for RHEL 9 · Red Hat
References
More Apache Thrift vulnerabilities
- TI-2026-40373 Apache Thrift: C++ ZLIB heap buffer overflow (write) in THeaderTransport::untransform() CVSS 4.0CRITICAL 9.3
- TI-2016-04675 Command injection in Apache Thrift CVSS 3.0HIGH 8.8
- TI-2026-42227 Apache Thrift: C++ THeaderTransport::readString() info-header length bounds bypass CVSS 4.0HIGH 8.7
- TI-2026-42014 Apache Thrift: Rust binary protocol non-strict path missing string size limit CVSS 4.0HIGH 8.7
- TI-2026-40371 Integer overflow in Apache Thrift CVSS 4.0HIGH 8.7
- TI-2026-40370 Apache Thrift: Node.js quadratic-time DoS in server receive transports CVSS 4.0HIGH 8.7
Sources
- CVE-2026-43871 · CVE Program
- CVE-2026-43871 · NVD
- FIRST EPSS
- GHSA-8wv5-x4w7-5gww · GitHub Advisory Database · CC BY 4.0
- CVE-2026-43871 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences