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

CVE-2026-96292: Apache Thrift Lua ReDoS Vulnerability

CVE-2026-96292 is an inefficient regular expression complexity flaw in Apache Thrift Lua bindings that can lead to denial of service attacks. This article covers the technical details, affected versions, 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-96292 Overview

CVE-2026-96292 is an algorithmic complexity vulnerability [CWE-407] in the Apache Thrift Lua bindings. The flaw stems from inefficient regular expression handling that allows attackers to force excessive processing time against affected deserialization paths. Remote attackers can trigger the condition over the network without authentication or user interaction, producing a denial of service against the targeted process. Apache Thrift versions prior to 0.25.0 are affected, and the project recommends upgrading to version 0.25.0, which contains the fix.

Critical Impact

Network-reachable services that use the Apache Thrift Lua bindings can be rendered unavailable through crafted inputs that exploit inefficient regular expression and algorithmic complexity.

Affected Products

  • Apache Thrift Lua bindings, all versions prior to 0.25.0
  • Applications and services embedding the vulnerable Lua bindings
  • Downstream distributions packaging Apache Thrift releases before 0.25.0

Discovery Timeline

  • 2026-10-02 - CVE-2026-96292 published to the National Vulnerability Database (NVD)
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-96292

Vulnerability Analysis

The vulnerability resides in the Lua language bindings shipped with Apache Thrift. The affected code path relies on regular expressions and parsing routines whose runtime grows disproportionately with input size or structure. An attacker who can submit Thrift messages or payloads processed by the Lua bindings can drive CPU usage toward saturation. The result is a denial of service against the host process, degrading or halting any service that depends on the binding.

Because Apache Thrift is widely used for cross-language remote procedure calls (RPC), the vulnerability can affect backend services, API gateways, and middleware components that expose Thrift endpoints over the network.

Root Cause

The root cause is inefficient algorithmic complexity [CWE-407] in regular expression handling within the Lua bindings. Specific input patterns cause the regex engine to perform excessive backtracking or repeated work, consuming CPU time out of proportion to input size. This is the classic Regular Expression Denial of Service (ReDoS) pattern applied to Thrift's Lua parsing layer.

Attack Vector

The attack vector is network-based and requires no authentication. An attacker sends crafted input to a service that uses the Apache Thrift Lua bindings. The Lua binding processes the input through the inefficient regex path, consuming CPU resources. Repeated or concurrent requests amplify the effect and can exhaust worker processes, blocking legitimate traffic.

No public exploit code has been published for CVE-2026-96292, and no entries exist in the CISA Known Exploited Vulnerabilities catalog. See the Apache Mailing List Discussion and the Apache Mailing List Thread for upstream details.

Detection Methods for CVE-2026-96292

Indicators of Compromise

  • Sustained high CPU usage on processes hosting Apache Thrift Lua bindings without a proportional increase in request volume.
  • Request latency spikes or timeouts on Thrift RPC endpoints coinciding with specific client inputs.
  • Worker process stalls, thread saturation, or watchdog restarts in services embedding the Lua bindings.

Detection Strategies

  • Inventory services and container images that bundle Apache Thrift versions earlier than 0.25.0 with the Lua bindings enabled.
  • Instrument Thrift endpoints with request-duration metrics and alert on outliers that exceed normal processing bounds.
  • Correlate CPU exhaustion events with inbound Thrift message size and structure to identify abusive input patterns.

Monitoring Recommendations

  • Forward application, RPC, and host CPU telemetry to a centralized analytics backend for correlation across services.
  • Track per-client request rates and payload characteristics on Thrift listeners to identify sources driving CPU saturation.
  • Add synthetic health checks that fail fast when Thrift processing time exceeds a defined service-level objective.

How to Mitigate CVE-2026-96292

Immediate Actions Required

  • Upgrade all Apache Thrift deployments using the Lua bindings to version 0.25.0 or later.
  • Audit internal and third-party services for embedded Apache Thrift components and prioritize those exposed to untrusted networks.
  • Apply rate limiting and request-size limits in front of Thrift endpoints until patching completes.

Patch Information

Apache Thrift version 0.25.0 resolves the inefficient regular expression complexity in the Lua bindings. Upgrade all affected deployments, rebuild dependent applications against the fixed release, and redeploy. Refer to the Apache Mailing List Discussion and the Apache Mailing List Thread for upstream guidance.

Workarounds

  • Restrict network exposure of Thrift services to trusted clients using firewall rules or service mesh policies.
  • Enforce strict maximum message sizes and connection timeouts at the RPC and proxy layers.
  • Place a reverse proxy or API gateway in front of Thrift endpoints to drop oversized or malformed payloads before they reach the Lua bindings.
bash
# Configuration example: upgrade Apache Thrift via LuaRocks and verify version
luarocks install thrift 0.25.0
lua -e 'print(require("Thrift")._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

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.