Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-94634 Overview
CVE-2026-94634 is a resource allocation vulnerability in the Apache Thrift Python bindings. The flaw combines unbounded resource allocation [CWE-770] with an insecure default initialization. Remote attackers can trigger availability loss by exploiting the lack of throttling in affected Thrift Python server components. The issue affects all Apache Thrift versions before 0.25.0, and the Apache Thrift project has released version 0.25.0 to address it.
Critical Impact
Unauthenticated remote attackers can exhaust server resources on Python-based Apache Thrift services, causing denial of service against affected RPC endpoints.
Affected Products
- Apache Thrift Python bindings, all versions before 0.25.0
- Python applications and services built on vulnerable Thrift releases
- RPC servers and microservices exposing Thrift Python endpoints over the network
Discovery Timeline
- 2026-10-02 - CVE-2026-94634 published to the National Vulnerability Database
- 2026-10-02 - Last updated in NVD database
Technical Details for CVE-2026-94634
Vulnerability Analysis
The vulnerability resides in the Apache Thrift Python bindings, a widely deployed RPC framework for cross-language service communication. The Python implementation lacks limits or throttling on resource allocation during request processing. It also ships with insecure default initialization values for resource-bound parameters.
An attacker who can reach a Thrift Python server over the network can submit crafted requests that cause the server to allocate large amounts of memory or other resources. Because no upper bound is enforced by default, repeated or oversized requests exhaust available capacity. The resulting condition degrades or halts service availability for legitimate clients.
The attack requires no authentication and no user interaction. Confidentiality and integrity are not affected; the impact is isolated to availability of the targeted process.
Root Cause
The root cause maps to [CWE-770] Allocation of Resources Without Limits or Throttling, compounded by insecure default initialization of a resource. The Python bindings allowed inbound payloads to drive allocations without applying size or count caps, and shipped defaults that did not constrain request-driven resource use.
Attack Vector
Exploitation occurs across the network against any exposed Apache Thrift Python server endpoint. An attacker sends malformed or oversized Thrift messages to force the server into allocating resources beyond safe thresholds. Repeated or parallel requests amplify the condition and lead to denial of service. Refer to the Apache List Discussion and the Apache List Thread Update for the project's technical disclosure.
Detection Methods for CVE-2026-94634
Indicators of Compromise
- Sudden memory growth or out-of-memory terminations in Python processes hosting Thrift services
- High rates of inbound Thrift requests from a small number of source addresses
- Repeated client disconnects or timeouts on Thrift RPC endpoints during allocation spikes
- Thrift server logs showing malformed, truncated, or unusually large message frames
Detection Strategies
- Inventory all Python services that import the thrift package and record their versions
- Alert on Apache Thrift Python versions earlier than 0.25.0 from software composition analysis tooling
- Correlate network-level request volume with host-level memory and CPU utilization on Thrift servers
- Baseline normal Thrift message sizes and flag statistically anomalous payloads
Monitoring Recommendations
- Monitor process-level resident set size (RSS) and file descriptor counts for Thrift Python workers
- Track request latency, error rates, and connection churn on Thrift endpoints
- Ingest Thrift server and reverse proxy logs into a centralized analytics platform for correlation
- Watch for repeated OOMKilled events in container orchestration platforms running Thrift workloads
How to Mitigate CVE-2026-94634
Immediate Actions Required
- Upgrade the Apache Thrift Python bindings to version 0.25.0 or later across all affected services
- Identify every Python application that depends on thrift and schedule remediation based on exposure
- Restrict network access to Thrift endpoints so only trusted clients can reach the RPC service
- Rate-limit inbound connections to Thrift servers at the load balancer or reverse proxy layer
Patch Information
The Apache Thrift project fixed the issue in version 0.25.0. Upgrade all Python bindings to this release or a later version. Consult the Apache List Discussion and the Apache List Thread Update for the official project announcements.
Workarounds
- Place Thrift Python endpoints behind a reverse proxy that enforces maximum request size and connection limits
- Apply operating system or container resource limits such as cgroup memory caps on Thrift worker processes
- Terminate TLS and apply authentication at an upstream gateway to reduce exposure to unauthenticated callers
- Isolate Thrift services on internal network segments and block external reachability where feasible
# Configuration example
pip install --upgrade 'thrift>=0.25.0'
pip show thrift | grep -i version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

