Read the docs
TI-2026-31935 Aliases CVE-2026-43871GHSA-8wv5-x4w7-5gww

Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit

Priority MEDIUM 46CWE-835Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0103 63rd percentileScored 2026-11-08
Fix Partial Apache Thrift (Apache Software Foundation): 0.24.0thrift (PyPI): 0.24.0+3 more productsRed Hat: 2 advisoriesRed Hat: 2 fixed, 1 without a fix

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

VendorProductAffected versionsFixed inStatusSource
ApacheApache Thriftbefore 0.24.00.24.0Patch availableCNA
ApacheApache Thriftbefore 0.24.00.24.0Patch availableCNA
ApacheApache Thriftbefore 0.24.00.24.0Patch availableCNA
ApacheApache Thriftbefore 0.24.00.24.0Patch availableCNA
—thrift (PyPI)before 0.24.00.24.0Patch availableGHSA-8wv5-x4w7-5gww
—github.com/apache/thrift (Go)before 0.24.00.24.0Patch availableGHSA-8wv5-x4w7-5gww
—apache/thrift (Packagist)before 0.24.00.24.0Patch availableGHSA-8wv5-x4w7-5gww
—org.apache.thrift:libthrift (Maven)before 0.24.00.24.0Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:*before 0.24.0VulnerableApache
  • cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:* Versions before 0.24.0 Vulnerable ·Apache

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 Important
    RHEL 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 Important
    Red 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 →

ProductStatusPlan or fix
Red Hat OpenShift Update ServiceAffectedNo fix yet
Red Hat Enterprise Linux AI 3.4 for RHEL 9Fixed RHSA-2026:94503
Red Hat Hardened ImagesFixed RHSA-2026:49837
Not affected: 3 products
  • Confidential Compute Attestation
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 5

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-43871
  2. 2026-10-03 Alias added: GHSA-8wv5-x4w7-5gww
  3. 2026-11-03 Fix available: RHSA-2026:94503 · Red Hat
  4. 2026-11-03 Fix available: Red Hat Enterprise Linux AI 3.4 for RHEL 9 · Red Hat

References

  • 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
See all 31 →

Sources