Skip to main content
Vulnerability Database/CVE-2026-90440

CVE-2026-90440: Apache Thrift Server Exception Vulnerability

CVE-2026-90440 is an uncaught exception and improper resource handling flaw in Apache Thrift's TNonblockingServer component that affects versions before 0.25.0. This post explains its technical details, impact, and mitigation.

Published:

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-90440 Overview

CVE-2026-90440 is an uncaught exception and improper resource shutdown vulnerability in the Apache Thrift D language implementation. The flaw resides in thrift.server.nonblocking.TNonblockingServer and affects all versions of Apache Thrift prior to 0.25.0. A remote attacker can trigger an unhandled exception that disrupts server availability without requiring authentication or user interaction. The weakness is categorized as [CWE-248] (Uncaught Exception). Apache has released version 0.25.0 to address the issue.

Critical Impact

Unauthenticated remote attackers can crash the non-blocking Thrift D server over the network, resulting in denial of service for applications relying on it for RPC communication.

Affected Products

  • Apache Thrift D language binding versions prior to 0.25.0
  • thrift.server.nonblocking.TNonblockingServer component
  • Any application or service exposing Thrift D non-blocking RPC endpoints

Discovery Timeline

  • 2026-10-02 - CVE-2026-90440 published to NVD
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-90440

Vulnerability Analysis

The vulnerability affects the D language implementation of Apache Thrift, specifically the TNonblockingServer class in the thrift.server.nonblocking module. The server fails to properly handle exceptional conditions during request processing, allowing exceptions to propagate uncaught. When this occurs, server resources are not properly shut down, resulting in an availability loss for the Thrift service.

Apache Thrift is widely used as an RPC framework for cross-language service communication, and the non-blocking server is favored for high-throughput deployments. A disruption of this component halts dependent microservices and client applications.

The underlying weakness class [CWE-248] applies to code paths that assume well-formed inputs or stable runtime conditions. When malformed messages or unexpected protocol states reach the server, the lack of structured exception handling terminates the processing loop.

Root Cause

The root cause is missing or incomplete exception handling within TNonblockingServer. Code paths processing network-received frames do not catch exceptional conditions, and resource cleanup routines are not reliably invoked. This leaves sockets, buffers, or worker state in an inconsistent condition when a fault occurs.

Attack Vector

An unauthenticated remote attacker can send crafted Thrift protocol messages over the network to a vulnerable TNonblockingServer instance. The malformed input triggers an uncaught exception inside the server event loop. No user interaction is required, and the attack can be repeated to maintain service unavailability.

No verified proof-of-concept code is published. Refer to the Apache Mailing List Thread and Apache Mailing List Discussion for upstream details.

Detection Methods for CVE-2026-90440

Indicators of Compromise

  • Unexpected termination or restart of Thrift D server processes exposing TNonblockingServer.
  • Server logs containing uncaught exception traces originating from the thrift.server.nonblocking module.
  • Abrupt loss of TCP connections to Thrift RPC ports followed by failed client reconnects.

Detection Strategies

  • Inventory services using Apache Thrift D bindings and verify the installed version against 0.25.0.
  • Monitor process supervisors (systemd, Kubernetes) for repeated restart events on Thrift workloads.
  • Deploy network signatures for malformed Thrift frames targeting non-blocking server ports.

Monitoring Recommendations

  • Alert on application crash loops and non-zero exit codes from Thrift server processes.
  • Track latency and connection-reset metrics on Thrift RPC endpoints for anomaly spikes.
  • Centralize Thrift server stderr and application logs for correlation of exception stack traces.

How to Mitigate CVE-2026-90440

Immediate Actions Required

  • Upgrade Apache Thrift D bindings to version 0.25.0 or later across all affected services.
  • Restrict network exposure of TNonblockingServer endpoints to trusted internal networks only.
  • Rebuild and redeploy any statically linked applications that embed vulnerable Thrift D code.

Patch Information

Apache Thrift version 0.25.0 resolves the vulnerability. Users are recommended to upgrade immediately. See the Apache Mailing List Thread for release details.

Workarounds

  • Place Thrift RPC endpoints behind an authenticated reverse proxy or service mesh with input validation.
  • Enforce strict firewall rules limiting access to Thrift ports to known client subnets.
  • Deploy process supervision with automated restart to reduce availability impact until patching is complete.
bash
# Verify installed Apache Thrift version
thrift --version

# Upgrade to patched version (example using DUB for D projects)
dub upgrade thrift --version="0.25.0"

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.