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-85493 Overview
CVE-2026-85493 is an uncontrolled recursion vulnerability in the Apache Thrift Dart and Java ME language bindings. The flaw affects all Apache Thrift releases prior to version 0.25.0. An attacker can send a crafted Thrift message that triggers unbounded recursive parsing, exhausting stack or process resources on the receiving service. The Apache Thrift project recommends upgrading to version 0.25.0 to remediate the issue. The weakness is tracked as CWE-248: Uncaught Exception and is exploitable over the network without authentication or user interaction.
Critical Impact
Remote, unauthenticated attackers can crash Thrift-based services built on the Dart or Java ME bindings by submitting deeply nested serialized payloads.
Affected Products
- Apache Thrift Dart binding, all versions before 0.25.0
- Apache Thrift Java ME binding, all versions before 0.25.0
- Downstream applications and RPC services embedding these bindings
Discovery Timeline
- 2026-10-02 - CVE-2026-85493 published to the National Vulnerability Database
- 2026-10-02 - Last updated in NVD database
Technical Details for CVE-2026-85493
Vulnerability Analysis
Apache Thrift is a cross-language serialization and RPC framework used to define services and exchange structured data between heterogeneous clients and servers. The Dart and Java ME bindings implement message decoding routines that recursively descend into nested Thrift structures such as lists, maps, sets, and nested structs. The decoders do not enforce a maximum recursion depth or iteratively flatten nested containers. A single crafted message containing deeply nested fields drives the parser into recursive calls that grow linearly with the attacker-controlled nesting depth. The result is stack exhaustion or an uncaught runtime exception that terminates the processing thread or the entire service. Because Thrift servers typically listen on persistent network sockets, repeated payloads can suppress availability for other clients.
Root Cause
The root cause is missing input depth validation in the Dart and Java ME protocol readers, aligned with CWE-248: Uncaught Exception. The decoders propagate parser recursion directly from the wire format without clamping nesting levels or catching stack overflow conditions. Version 0.25.0 introduces bounded parsing semantics consistent with the other Thrift language bindings.
Attack Vector
An unauthenticated remote attacker transmits a serialized Thrift message with excessive nesting to any exposed Thrift endpoint using the vulnerable Dart or Java ME binding. The attacker does not need valid credentials, prior session state, or user interaction. Each malicious request forces the decoder to consume stack frames until the runtime raises an unrecoverable error, causing a denial-of-service condition. Technical discussion is available in the Apache Thrift mailing list thread and the follow-up update.
Detection Methods for CVE-2026-85493
Indicators of Compromise
- Repeated service restarts or worker thread crashes in Thrift-based applications after inbound traffic bursts
- Stack overflow exceptions logged by Dart or Java ME runtimes within Thrift deserialization frames
- Anomalously large inbound Thrift messages or sustained connections from a single remote source
Detection Strategies
- Inspect application logs for uncaught exceptions originating in Thrift protocol reader classes such as TBinaryProtocol or TCompactProtocol
- Deploy network inspection to flag Thrift payloads whose serialized nesting exceeds a reasonable application-defined threshold
- Correlate availability drops with inbound RPC traffic patterns in your observability stack
Monitoring Recommendations
- Track process uptime, thread crash counters, and stack depth metrics on Thrift servers
- Alert on sudden spikes in deserialization failures reported by Thrift middleware
- Capture packet samples at the service edge to retain evidence for post-incident analysis
How to Mitigate CVE-2026-85493
Immediate Actions Required
- Inventory applications and services that embed the Apache Thrift Dart or Java ME bindings
- Upgrade affected components to Apache Thrift 0.25.0 or later
- Restrict exposure of Thrift endpoints to trusted networks until patching is complete
- Enforce request size limits at ingress load balancers and API gateways fronting Thrift services
Patch Information
Apache has released Apache Thrift 0.25.0, which fixes the uncontrolled recursion in the Dart and Java ME bindings. Operators should rebuild and redeploy any client or server artifacts linked against the vulnerable versions. See the Apache Thrift mailing list announcement for upgrade coordination details.
Workarounds
- Terminate TLS and perform payload size enforcement at a reverse proxy to drop oversized Thrift messages
- Place vulnerable services behind network segmentation that restricts callers to authenticated internal clients
- Add application-level validation that rejects messages exceeding a safe container nesting depth
- Monitor and automatically restart Thrift workers to limit the blast radius of successful denial-of-service attempts
# Example: enforce a maximum request body size at an NGINX reverse proxy
# fronting a Thrift HTTP transport endpoint
server {
listen 443 ssl;
server_name thrift.example.com;
client_max_body_size 64k;
client_body_timeout 5s;
location /thrift {
proxy_pass http://thrift_backend;
proxy_read_timeout 10s;
}
}
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

