CVE-2026-120135

Apache Thrift: Java TProtocolUtil.skip() does not limit the recursion depth by default

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



This issue affects Apache Thrift: before 0.24.0.



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

Analysis

AI-generated

Technical impact

An Uncontrolled Recursion flaw in the Java bindings of Apache Thrift occurs when the TProtocolUtil.skip function processes nested fields in a protocol stream without enforcing a recursion limit. This allows malicious input to trigger a deep, uncontrolled recursion, leading to a stack overflow or exhaustion of memory resources. While the CVE description does not explicitly state the attacker’s ability to influence the protocol stream, the fact that the vulnerability arises during parsing of externally supplied data means that an attacker who can control the Thrift traffic can potentially exploit it. Based on the description, it is inferred that remote clients capable of sending crafted protocol messages could cause the service to crash or become unresponsive.

Affected Systems

The flaw exists in all Apache Thrift releases prior to 0.24.0. The affected component is the Apache Thrift Java bindings, which are commonly used to build client‑server RPC services in Java. Any installation using a Thrift library version older than 0.24.0 is potentially impacted, regardless of platform or deployment scenario.

Risk and Exploitability

The CVSS score of 8.2 classifies the issue as high severity, and the lack of a recursion guard means that a malicious caller could trigger a crash or a DoS event. The CVE description does not provide an explicit EPSS value and the vulnerability is not listed in the CISA KEV catalog. Although the exact likelihood of exploitation is not quantified, the possibility of remote exploitation is inferred from the fact that the vulnerability is exercised while parsing externally supplied data. Therefore, this issue is considered a high‑risk, potentially remote denial of service vector that should be addressed promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Thrift version 0.24.0 or later, which removes the unbounded recursion from TProtocolUtil.skip.
  • If an upgrade cannot be applied immediately, limit exposure by placing the Thrift service behind a network load balancer that applies rate limiting and only accepts traffic from trusted clients.
  • Continuously monitor server logs for stack‑overflow errors or JVM crashes, and set up alerts to trigger rapid incident response if such events occur.

Generated by OpenCVE AI on October 31, 2026 at 21:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 Java bindings. This issue affects Apache Thrift: before 0.24.0. Users are recommended to upgrade to version 0.24.0, which fixes the issue.
Title Apache Thrift: Java TProtocolUtil.skip() does not limit the recursion depth by default
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

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 6, 2026, 1:45 PM
Reserved
Oct 30, 2026, 10:21 PM
Status
Awaiting Analysis
Published
Oct 31, 2026, 9:16 PM
Modified
Nov 6, 2026, 2:17 PM