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-66055 Overview
CVE-2026-66055 is an Allocation of Resources Without Limits or Throttling vulnerability [CWE-770] affecting Apache Thrift language bindings. The flaw impacts the C++, Java, Go, netstd, Python, and Delphi bindings in versions before 0.25.0. A remote attacker can send crafted Thrift protocol messages that cause the receiver to allocate resources without appropriate bounds, resulting in denial of service against the targeted service.
The Apache Thrift project has released version 0.25.0 to address the issue. Services exposing Thrift endpoints across untrusted or semi-trusted networks are directly in scope.
Critical Impact
An unauthenticated remote attacker can exhaust memory or processing resources on any service built on vulnerable Apache Thrift bindings, causing service unavailability.
Affected Products
- Apache Thrift C++, Java, Go, netstd, Python, and Delphi bindings before 0.25.0
- Services and RPC endpoints built on vulnerable Thrift bindings
- Downstream applications and frameworks that embed affected Thrift runtime libraries
Discovery Timeline
- 2026-10-02 - CVE-2026-66055 published to NVD
- 2026-10-03 - Last updated in NVD database
Technical Details for CVE-2026-66055
Vulnerability Analysis
The vulnerability resides in how multiple Apache Thrift language bindings process incoming serialized messages. The affected bindings parse length-prefixed fields such as lists, sets, maps, strings, and binary blobs. The implementations trust the size values declared in the message header and attempt to pre-allocate buffers or container structures based on those values before validating that enough data actually follows on the wire.
An attacker crafts a small payload that declares an extremely large element count or byte length. The server-side binding then allocates memory or iterates container initialization proportional to the attacker-supplied value. Memory, CPU, and garbage collector pressure spike quickly, degrading or killing the process. Because the bindings do not enforce a maximum container size or compare declared length against available bytes, a single short message can trigger large allocations.
Root Cause
The root cause is missing resource throttling in the deserialization code paths across six language bindings. The classification maps to [CWE-770] Allocation of Resources Without Limits or Throttling. The parsers lack configurable upper bounds on container element counts and payload sizes, and they do not cross-check declared sizes against the remaining input length before allocation.
Attack Vector
Exploitation requires only network access to a service that accepts Apache Thrift messages. No authentication or user interaction is needed. An attacker opens a Thrift transport connection, sends a short crafted frame declaring oversized containers or strings, and triggers unbounded allocation on the server. Repeated or parallel requests amplify the effect and can take a service offline.
No verified public exploit code is available at this time. For protocol-level details, review the Apache Mailing List Discussion and the Apache Mailing List Update.
Detection Methods for CVE-2026-66055
Indicators of Compromise
- Repeated Thrift service process crashes with out-of-memory errors or killed-by-OOM-killer events in system logs
- Sudden spikes in heap usage, garbage collection time, or resident set size on hosts running Thrift servers
- Short inbound Thrift frames that correlate with large memory allocations in application telemetry
Detection Strategies
- Instrument Thrift deserialization paths to log declared container sizes and alert when they exceed expected application thresholds
- Correlate network flow metadata showing small inbound payloads with disproportionate memory growth on the receiving process
- Inventory running services for vulnerable Apache Thrift binding versions below 0.25.0 using software composition analysis
Monitoring Recommendations
- Monitor process-level memory, CPU, and restart counts for all services exposing Thrift endpoints
- Track inbound connection rates and payload-size distributions on Thrift listener ports for anomalous bursts
- Forward application and host telemetry to a centralized analytics platform to correlate resource exhaustion with network activity
How to Mitigate CVE-2026-66055
Immediate Actions Required
- Upgrade all Apache Thrift C++, Java, Go, netstd, Python, and Delphi bindings to version 0.25.0 or later
- Identify every internal and external service that embeds a vulnerable Thrift binding, including transitive dependencies
- Restrict network exposure of Thrift endpoints to trusted clients using firewalls, service mesh policies, or mutual TLS
Patch Information
Apache Thrift version 0.25.0 fixes CVE-2026-66055. Users of the C++, Java, Go, netstd, Python, and Delphi bindings must upgrade to 0.25.0 or later. Refer to the Apache Mailing List Discussion and the Apache Mailing List Update for release coordination details.
Workarounds
- Place Thrift services behind a reverse proxy or API gateway that enforces strict maximum request size limits
- Apply per-client rate limiting and connection quotas to reduce the impact of repeated malformed requests
- Where supported, configure transport-level maximum frame size and container size limits in the Thrift server configuration
- Isolate Thrift services in resource-constrained containers so that a single process crash does not cascade to shared hosts
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

