Skip to main content

Apache Thrift CVE-2026-41636

| EUVDEUVD-2026-26026 HIGH
Uncontrolled Recursion (CWE-674)
8.7
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Thrift endpoint
  2. Delivery
    Craft deeply-nested message
  3. Exploit
    Send to service
  4. Execution
    Trigger skip() recursion
  5. Persist
    Exhaust Node.js stack
  6. Impact
    Crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Remote exploitation against any Apache Thrift Node.js service that deserializes Thrift protocol messages from untrusted sources. No special product features, non-default configurations, or specific deployment modes required-vulnerability exists in core skip() deserialization logic invoked during normal message parsing. Exploitation requires only network access to a Thrift endpoint (HTTP, TCP, WebSocket transports all vulnerable) and ability to send crafted binary Thrift messages. No authentication required per CVSS PR:N. No user interaction required per CVSS UI:N. Limits to exploitation: services that reject messages above certain size thresholds before deserialization begins may block payloads, though deeply-nested structures can be small in byte size. Services behind authentication layers or network segmentation reduce attacker pool but remain vulnerable to authenticated or insider attackers.

Impact

Real-world risk is MODERATE-to-HIGH for internet-facing Node.js services using Apache Thrift. CVSS 4.0 vector indicates remote unauthenticated exploitation (AV:N/AC:L/PR:N/UI:N) with high availability impact on vulnerable component (VA:H) plus low subsequent availability impact (SA:L), reflecting potential cascading failures in distributed systems. Attack complexity is LOW-crafting deeply-nested Thrift messages requires only protocol knowledge, not cryptographic breaks or race conditions. No user interaction required. However, real-world exploitability depends heavily on deployment: Thrift services exposed to untrusted networks (public APIs, cross-org integrations) face immediate risk, while internal-only microservices behind authentication layers have reduced exposure. The coordinated disclosure of four Thrift CVEs simultaneously (CVE-2026-41605/06/07/36) suggests systematic security review rather than active exploitation discovery. EPSS score unavailable (2026 CVE), KEV status unknown. No POC availability confirmed from oss-security disclosure alone, though Thrift's open-source nature means researchers can reverse-engineer the fix from Apache's commit. Priority should be HIGH for public-facing Thrift services, MEDIUM for authenticated internal services with defense-in-depth.

Exploit ScenarioDerived

Attacker identifies internet-facing Node.js microservice exposing Apache Thrift API endpoint (e.g., analytics ingestion service, configuration management API). Crafts malicious Thrift binary message with 10,000 levels of nested struct/list containers, each triggering recursive skip() call during deserialization. Sends single HTTP POST or raw TCP connection to Thrift endpoint with crafted payload. Node.js process exhausts call stack within milliseconds, throwing RangeError (Maximum call stack size exceeded) and terminating the worker. In clustered deployments, attacker repeats attack against all worker processes, achieving full service outage. Recovery requires manual restart, during which legitimate clients experience 503 errors.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

Uncontrolled recursion in Apache Thrift Node.js library's skip() function enables remote denial of service via crafted protocol messages. Attacker sends specially-crafted Thrift messages triggering deep recursion in the skip() deserialization routine, exhausting stack memory and crashing the Node.js process. CVSS 8.7 High severity with network attack vector requiring no authentication. Disclosed via oss-security mailing list on 2026-04-28 alongside three related Thrift vulnerabilities (C++ JSON OOB read CVE-2026-41607, c_glib dispatch stack overflow CVE-2026-41606, Swift Compact Protocol issue CVE-2026-41605), suggesting coordinated security audit results. EPSS data not yet available for 2026 CVE.

RemediationAI

Upgrade to patched Apache Thrift version per Apache Security Advisory at lists.apache.org/thread/lb4j0zyd5f3g36cos0wql925przpnwql (specific fix version not confirmed in pre-NVD data-check advisory for Node.js library version). Workaround if patching is delayed: implement message size limits and deserialization timeouts at the application layer to detect and terminate abnormally slow parsing operations, typically by wrapping Thrift deserialization calls with Promise.race() using a timeout (e.g., 5-10 seconds) and enforcing maximum message size (e.g., 10MB) at the transport layer before deserialization begins-note this prevents processing of legitimately large messages and adds latency overhead. Network-level mitigation: restrict Thrift service endpoints to trusted IP ranges via firewall rules or VPC security groups to eliminate untrusted attacker access, though this does not protect against insider threats or compromised clients. For critical public-facing services, consider deploying a rate-limiting reverse proxy to throttle requests per source IP, reducing DoS amplification potential-aware this impacts legitimate high-volume clients and requires tuning per workload.

Affected VersionsENISA

Apache Thrift 0 <0.23.0

Affected Packages

npm thrift fix: 0.23.0
euvd apache_thrift fix: 0.23.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Thrift is a cross-language RPC framework using binary serialization protocols. The Node.js implementation includes a skip() function in its protocol deserialization layer, used to skip over unknown or unwanted fields during message parsing. CWE-674 (Uncontrolled Recursion) indicates the skip() function lacks proper recursion depth controls when processing nested data structures. In Thrift's binary protocols, container types (lists, sets, maps, structs) can be arbitrarily nested-legitimate use cases exist for several levels, but malicious messages with hundreds or thousands of nested containers trigger recursive skip() calls. Node.js V8 engine has limited call stack size (typically 10-15KB), making it particularly vulnerable to stack exhaustion attacks. The vulnerability affects the core protocol parsing layer, meaning any Node.js application using Apache Thrift for deserialization is potentially vulnerable regardless of the specific RPC service implementation.

Know when Thrift gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 8.7 HIGH
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
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
Low

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 18:38 nvd
Patch available
Patch available
Apr 28, 2026 - 11:01 EUVD
CVSS changed
Apr 28, 2026 - 10:22 NVD
8.7 (HIGH)
CVE Published
Apr 28, 2026 - 00:45 nvd
HIGH 8.7

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

Apache Thrift Node.js library versions prior to the fix are vulnerable to remote denial of service attacks through uncontrolled recursion in message deserialization, allowing unauthenticated attackers to crash Node.js applications without requiring authentication. Organizations running Thrift-dependent microservices, APIs, or backend systems face immediate service availability risk, with potential business impact including application downtime and service degradation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement network-level rate limiting and request size restrictions on Thrift protocol endpoints to reduce recursion payload impact; (2) Deploy circuit breakers and automatic process restart mechanisms to limit individual service downtime; (3) Segment Thrift services behind load balancers with health checks to isolate failures; (4) Monitor Node.js process CPU and memory usage for anomalous recursion patterns; (5) Consider disabling or restricting external Thrift protocol access until patch availability confirmed.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in Thrift

View all
CVE-2021-24028 CRITICAL
9.8 Apr 14

An invalid free in Thrift's table-based serialization can cause the application to crash or potentially result in code e

CVE-2026-55971 CRITICAL
9.3 Jul 24

Heap-based buffer overflow in Apache Thrift C++ THeaderTransport::untransform() allows remote code execution by sending

CVE-2026-48144 CRITICAL
9.1 Jul 24

Improper certificate validation in Apache Thrift c_glib TLS clients allows man-in-the-middle attackers to intercept or t

CVE-2026-58662 HIGH
8.7 Jul 24

Apache Thrift C++ library's THeaderTransport::readString() fails to properly validate info-header length, allowing an ou

CVE-2026-58389 HIGH
8.7 Jul 24

Denial of service vulnerability in Apache Thrift Rust bindings prior to 0.24.0 allows remote attackers to exhaust memory

CVE-2026-55969 HIGH
8.7 Jul 24

Denial of service in Apache Thrift through an integer overflow in the TProtocol::checkReadBytesAvailable() function affe

CVE-2026-55968 HIGH
8.7 Jul 24

Denial of service in Apache Thrift Node.js server bindings before 0.24.0 allows remote attackers to exhaust server CPU r

CVE-2026-48586 HIGH
8.7 Jul 24

Data amplification vulnerability in Apache Thrift's TZlibTransport allows remote attackers to exhaust server resources b

CVE-2026-43871 HIGH
8.7 Jul 24

Denial of service vulnerability in Apache Thrift's TCompactProtocol implementation allows remote attackers to trigger in

CVE-2026-48145 HIGH
8.2 Jul 24

TLS hostname verification bypass in Apache Thrift C++ bindings allows man-in-the-middle interception of Thrift RPC commu

CVE-2026-41604 HIGH
8.2 Apr 28

Out-of-bounds read vulnerability in Apache Thrift Swift implementation allows remote unauthenticated attackers to trigge

CVE-2019-3565 HIGH
7.5 May 06

Legacy C++ Facebook Thrift servers (using cpp instead of cpp2) would not error upon receiving messages with containers o

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 12 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy