CVE-2026-41636

Apache Thrift: Node.js skip() recursion

Published Apr 28, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Uncontrolled Recursion vulnerability in Apache Thrift Node.js bindings

This issue affects Apache Thrift: before 0.23.0.

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

Analysis

AI-generated

Technical impact

Apache Thrift’s Node.js bindings contain an uncontrolled recursion flaw. This weakness can be triggered by malicious input that causes the code to recurse without an adequate termination condition, exhausting stack space and terminating the process. The result is a denial‑of‑service where the affected Thrift service or client becomes unavailable. The vulnerability is identified by CWE‑674 and CWE‑776.

Affected Systems

Apache Software Foundation’s Apache Thrift implementation prior to version 0.23.0 that uses the Node.js bindings is vulnerable. Any deployment employing those versions runs the risk of exploitation.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, while the EPSS score of less than 1% and the absence from the CISA KEV catalog suggest that widespread exploitation has not been observed so far. The likely attack vector is remote: an attacker can send crafted Thrift requests to trigger the recursion, forcing a stack overflow and crashing the process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift to version 0.23.0 or later, which removes the recursion bug.
  • If an upgrade is not immediately possible, limit exposure by binding the Thrift service to trusted networks and enforcing request size or depth limits to prevent the recursion from being triggered.
  • Add validation for Thrift request sizes and depth in custom code or configure Thrift to reject overly large structures, ensuring that input lengths and recursion depth are bounded before processing.

Generated by OpenCVE AI on May 2, 2026 at 11:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r67j-r569-jrwp Apache Thrift Node.js bindings vulnerable to Uncontrolled Recursion
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:thrift:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', '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 Node.js bindings This issue affects Apache Thrift: before 0.23.0. Users are recommended to upgrade to version 0.23.0, which fixes the issue.
Title Apache Thrift: Node.js skip() recursion
Weaknesses CWE-674
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-776

    Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 31, 2026, 8:36 PM
Reserved
Apr 21, 2026, 10:23 PM
Status
Analyzed
Published
Apr 28, 2026, 10:16 AM
Modified
Oct 26, 2026, 9:10 PM
Severity
Moderate
Public date
Apr 28, 2026, 9:22 AM