Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to WebSocket Thrift transport
-
DeliverySend ~14-byte frame with oversized length header
-
ExploitServer pre-allocates declared payload size
-
ExecutionReplay frame on open connection
-
ImpactExhaust process memory and crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | Requires the target to run the Apache Thrift WebSocket server transport from the Node.js or D language bindings at a version before 0.25.0, reachable by the attacker over the network. No authentication, user interaction, or special configuration is needed beyond having the WebSocket transport exposed - the flaw triggers against the transport's default frame-handling behavior because the payload length is trusted and allocated before the payload arrives. Limiting factors: only these two bindings' WebSocket transports are affected (not all Thrift transports or languages), so deployments using other transports (e.g., framed/buffered TCP) or other language bindings are not in scope; the impact is confined to availability (service crash/exhaustion) with no data or integrity consequences, and the per-frame allocation ceiling bounds single-frame impact (though the Node.js open-connection behavior permits repetition). |
| Impact | This is a genuine but bounded availability risk - a resource-exhaustion (memory) denial-of-service flaw, not a code-execution or data-exposure bug. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms remote, unauthenticated, low-complexity exploitation with no user interaction, and the impact profile is availability-only (VC:N/VI:N/VA:H), which is fully consistent with CWE-789 (memory allocation with excessive size value) and the description of a single ~14-byte frame committing 513 MiB (Node.js) or 2 GiB (D). The 8.7 score is appropriately high for an easy remote DoS, and the Node.js case is worse because the connection stays open, allowing the same frame to be replayed to amplify exhaustion. However, no EPSS score, KEV listing, or POC indicator was supplied, so there is no evidence of active exploitation or published exploit code; the real-world urgency is therefore moderate rather than critical - prioritize patching exposed WebSocket-transport servers, but this is a service-disruption issue, not a breach vector. Note one metadata conflict: the input Tags include 'Information Disclosure,' which contradicts the CVSS impact (C:N, no confidentiality impact) - this flaw does not disclose information. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker connects to an Apache Thrift WebSocket server transport (Node.js or D binding) and sends a single tiny (~14-byte) frame whose header declares a huge payload length. The server immediately allocates that many bytes (measured at 513 MiB for Node.js, 2 GiB for D) before any payload data arrives; against the Node.js transport the socket stays open, so the attacker simply resends the frame repeatedly to drive the process toward memory exhaustion and crash. No public exploit code was identified at time of analysis, but the technique is trivial given the low attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Memory exhaustion in Apache Thrift's Node.js and D language WebSocket server transports (all versions before 0.25.0) lets unauthenticated remote attackers commit 513 MiB on a Node.js server, or up to 2 GiB on the D transport, by sending a single ~14-byte frame that merely declares a huge payload length. The transport reads the length out of the WebSocket frame header and allocates that many bytes immediately, before the payload has actually arrived, so an extremely small request causes disproportionate memory growth; in the Node.js case the connection is left open afterwards, allowing the same frame to be resent repeatedly until the service is exhausted or killed. Impact is limited to availability (CVSS 4.0 8.7, CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), no authentication or user interaction is required, and no public exploit code was identified at time of analysis. Affected deployments are those exposing the Thrift WebSocket server transport from the Node.js or D bindings; other Thrift transports and language bindings are out of scope.
RemediationAI
Vendor-released patch: upgrade to Apache Thrift 0.25.0, which the advisory states fixes the issue; because the Node.js binding is distributed via npm and the D binding via its package registry, verify that the resolved dependency version is at least 0.25.0 rather than only bumping a top-level constraint, and rebuild any bundled or vendored copies. Where immediate upgrade is not possible, the most effective compensating control is to stop exposing the WebSocket server transport to untrusted networks: either disable that transport and require clients to use framed or buffered TCP instead (trade-off: clients must be reconfigured and rebuilt, so this is disruptive), or restrict the listening port with firewall rules, network policy, or a private overlay network so that only trusted peers can reach it (trade-off: external or browser-based Thrift clients lose access). Running the server under a per-process memory cap (container limits, systemd MemoryMax, or Node.js --max-old-space-size) contains the blast radius by turning exhaustion into a fast, restartable OOM kill rather than host-wide memory pressure, at the cost of availability during the attack. Connection and concurrency limits, plus rate limiting or connection caps in a fronting proxy, reduce how often the Node.js open-connection behavior can be replayed, though note that generic reverse proxies cannot inspect individual WebSocket frame payload lengths, so they cannot block the attack outright. Finally, monitor for anomalous RSS growth correlated with WebSocket connections, and rate-limit or drop clients that repeatedly open WebSocket sessions without sending legitimate payloads.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in 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 and serialization framework whose bindings are implemented separately per language, and this flaw lives in the WebSocket server transports of two of them - the Node.js binding (the npm thrift package) and the D binding. WebSocket framing places an attacker-controlled payload length field in the frame header, and the vulnerable transports trust that value: rather than streaming the payload in bounded chunks or validating that the declared length is plausible and that the bytes have actually been received, they allocate a buffer of the declared size up front. That is CWE-789 (memory allocation with excessive size value), compounded by improper handling of length parameter inconsistency between the header and the actual data delivered. Because the allocation happens on the read path before any payload arrives, the attacker's bandwidth and effort are decoupled from the memory cost imposed on the server, giving an amplification ratio of roughly five to six orders of magnitude per frame. The Node.js transport additionally fails to close the connection after the oversized allocation, turning a single-shot denial of service into a repeatable memory-pressure loop; the D transport reaches a higher per-frame ceiling (measured at 2 GiB). The reported CPE data (apache_software_foundation:apache_thrift with wildcard version ranges) matches the advisory's statement that all versions prior to 0.25.0 are affected, and the root cause is a robustness failure in transport-level frame handling rather than a flaw in the Thrift IDL compiler, protocol layer, or any generated code.
Know when Apache 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote unauthenticated single-frame trigger with no interaction gives AV:N/AC:L/PR:N/UI:N; impact is memory-exhaustion DoS only, so C:N/I:N/A:H.
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Memory allocation with excessive size value, Improper handling of length parameter inconsistency vulnerability in Apache Thrift nodejs and D lang bindings.
Both bindings' WebSocket server transports read the payload length out of the frame header and allocate that many bytes immediately, without checking that the bytes have arrived. A single ~14-byte frame therefore commits as much memory as it cares to declare -- measured at 513 MiB against the Node.js server and 2 GiB against the D transport -- and in the Node.js case the connection is left open afterwards, so the frame can simply be sent again.
This issue affects Apache Thrift before 0.25.0.
Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Articles & Coverage 1
Executive ViewAI
Apache Thrift's WebSocket server transport in the Node.js and D language bindings can be driven into memory exhaustion by a single tiny, unauthenticated network frame, allowing any remote attacker who can reach the service to degrade or take down applications that rely on it. Because the same cheap request can be repeated against an open connection, a low-effort, low-cost attack can produce sustained availability loss for customer-facing or internal services built on these bindings. Leadership should care because no vendor patch is currently available, the attack requires no credentials or user interaction, and the affected components are typically embedded in larger platforms where an outage cascades beyond the Thrift endpoint itself.
No vendor-released patch identified at time of analysis; interim mitigations: restrict or disable the Thrift WebSocket server transport on Node.js and D bindings where not required, enforce maximum WebSocket frame/message size limits and per-IP connection and rate caps at the reverse proxy or API gateway, cap concurrent connections, and monitor and automatically restart affected processes on abnormal memory growth. Apply vendor patch when available.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Apache Thrift
View allHeap-based buffer overflow in the C++ THeaderTransport of Apache Thrift before 0.25.0 lets a remote, unauthenticated att
Heap-based memory corruption in Apache Thrift versions before 0.25.0 lets unauthenticated remote attackers who can send
Denial of service in Apache Thrift deployments that use the D language bindings before version 0.25.0, where malformed i
Denial of service in the Apache Thrift Node.js bindings (all versions before 0.25.0) lets remote, unauthenticated attack
Remote denial of service against Apache Thrift C++ deployments that use the THeaderProtocol is achievable by sending a c
Remote, unauthenticated attackers can crash applications built against Apache Thrift's c_glib (C/GLib) language bindings
Denial of service in Apache Thrift's c_glib (C/GLib) language bindings before 0.25.0, where a crafted or malformed messa
Denial of service in Apache Thrift's Go bindings (all versions before 0.25.0) allows an unauthenticated remote peer to c
Uncaught exception handling in the Apache Thrift Ruby bindings lets unauthenticated remote attackers crash network-reach
Inefficient algorithmic complexity (CWE-407) in Apache Thrift's Lua bindings prior to version 0.25.0 allows remote, unau
Unauthenticated remote attackers can crash applications that use the Apache Thrift PHP bindings prior to version 0.25.0
Memory exhaustion in Apache Thrift before 0.25.0 lets unauthenticated remote attackers crash services that deserialize a
EUVD-2026-91580
GHSA-5jgj-9r28-q5fp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB