Description
Inefficient regular expression complexity, Inefficient Algorithmic Complexity vulnerability in Apache Thrift Lua bindings.



This issue affects Apache Thrift: before 0.25.0.



Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Published: 2026-10-02
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: Denial of Service via inefficient regex
Action: Apply Patch
AI Analysis

Impact

The vulnerability resides in the Lua bindings of Apache Thrift where the function THttpTransport:_parseHeaders applies a backtracking regular expression to each header line. This algorithmic pattern exhibits quadratic complexity, so for requests with many headers or with specially crafted values the parsing can consume excessive CPU resources. Consequently an attacker can trigger a Denial of Service by sending a request that forces the server to perform a large number of regex operations. The weakness corresponds to CWE‑1333 (Inconsistent Algorithmic Complexity) and CWE‑407 (Unbounded Resource Consumption).

Affected Systems

Apache Software Foundation’s Apache Thrift, specifically the Lua language bindings, are affected in all releases prior to version 0.25.0. Any system that deploys Thrift 0.x and uses Lua bindings to service HTTP requests is vulnerable.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity. EPSS data is not available, and the issue is not listed in the CISA KEV catalog, suggesting a moderate to low exploitation probability at present. However, the attack vector is remote and requires control over the HTTP request headers, which is feasible for any client connecting to the server. If an attacker can supply numerous or large header strings, the quadratic processing time can exhaust CPU resources, leading to service degradation or interruption.

Generated by OpenCVE AI on October 2, 2026 at 13:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Thrift 0.25.0 or later, which incorporates the regex fix.
  • If immediate upgrade is not possible, limit the number or length of HTTP headers accepted by the server or enforce a header count restriction in a front‑end proxy.
  • Monitor incoming HTTP traffic for unusually high header counts or large header values; throttle or block requests that exceed defined thresholds to mitigate DoS attempts.

Generated by OpenCVE AI on October 2, 2026 at 13:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 02 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift

Fri, 02 Oct 2026 11:30:00 +0000

Type Values Removed Values Added
Description Inefficient regular expression complexity, Inefficient Algorithmic Complexity vulnerability in Apache Thrift Lua bindings. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Title Apache Thrift: Lua `THttpTransport:_parseHeaders` matches each header line with a backtracking pattern (quadratic)
Weaknesses CWE-1333
CWE-407
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-02T11:11:33.256Z

Reserved: 2026-09-22T21:39:49.893Z

Link: CVE-2026-96292

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-02T12:17:24.297

Modified: 2026-10-02T14:30:28.440

Link: CVE-2026-96292

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T16:15:07Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

  • CWE-407

    Inefficient Algorithmic Complexity