CVE-2026-94650

Apache Thrift: c_glib generated struct readers have no recursion-depth guard (native stack exhaustion)

Published Oct 2, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
Uncontrolled Recursion vulnerability in Apache Thrift c_glib bindings.



This issue affects Apache Thrift: before 0.25.0.



Users are recommended to upgrade to version 0.25.0, which fixes the issue.

Analysis

AI-generated

Technical impact

An uncontrolled recursion flaw exists in the c_glib bindings of Apache Thrift, where generated struct readers lack a recursion-depth guard. This can cause native stack exhaustion when parsing deeply nested Thrift structures, potentially leading to a service crash and denial of service. The weakness is classified as CWE-674 (Uncontrolled Recursion) and CWE-770 (Unchecked Loop or Recursion with No Built-in Resource Limit).

Affected Systems

The vulnerability affects all Apache Thrift releases prior to 0.25.0 that use the c_glib bindings. Any application, client, or server that links against these bindings is subject to the flaw. The affected vendor is the Apache Software Foundation, and the product is Apache Thrift.

Risk and Exploitability

The CVSS score of 8.2 reflects high severity. No EPSS score is provided, so the probability of exploitation cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector involves sending specially crafted Thrift requests that trigger deep recursion during parsing. If the service is exposed over the network, an attacker could send such a request, causing native stack exhaustion, leading to a process crash and denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift to 0.25.0 or later, which adds a recursion-depth guard to the c_glib struct readers.
  • If a patch cannot be applied immediately, restrict network access to Thrift service endpoints using firewalls or ACLs to limit the number of clients that can send requests.
  • As a temporary measure, implement input validation at the application layer to limit the depth or size of incoming Thrift structures and monitor system logs for stack overflow errors.

Generated by OpenCVE AI on October 3, 2026 at 01:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-770
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift
Type Values Removed Values Added
Description Uncontrolled Recursion vulnerability in Apache Thrift c_glib 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: c_glib generated struct readers have no recursion-depth guard (native stack exhaustion)
Weaknesses CWE-674
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'}

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 2, 2026, 4:12 PM
Reserved
Sep 21, 2026, 11:18 PM
Status
Deferred
Published
Oct 2, 2026, 11:17 AM
Modified
Oct 2, 2026, 5:17 PM
Severity
Important
Public date
Oct 2, 2026, 10:49 AM