Skip to main content

Apache Thrift CVE-2026-83745

| EUVDEUVD-2026-91580 HIGH
Memory Allocation with Excessive Size Value (CWE-789)
2026-10-02 apache GHSA-5jgj-9r28-q5fp
8.7
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Connect to WebSocket Thrift transport
  2. Delivery
    Send ~14-byte frame with oversized length header
  3. Exploit
    Server pre-allocates declared payload size
  4. Execution
    Replay frame on open connection
  5. Impact
    Exhaust 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.

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

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

Alert me

AnalysisAIv1 – 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

Apache Thrift 0 <0.25.0

Affected Packages

euvd apache_thrift fix: 0.25.0

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

Vendor (apache) 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:N
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

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
None

Lifecycle Timeline

2
Patch available
Oct 02, 2026 - 13:02 EUVD
CVE Published
Oct 02, 2026 - 12:16 cve.org
HIGH 8.7

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
Apache Thrift is widely used, but WebSocket Node.js/D transports are a narrow subset
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor 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.4%
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
CVE-2026-91135 CRITICAL
9.2 Oct 02

Heap-based buffer overflow in the C++ THeaderTransport of Apache Thrift before 0.25.0 lets a remote, unauthenticated att

CVE-2026-83632 CRITICAL
9.2 Oct 02

Heap-based memory corruption in Apache Thrift versions before 0.25.0 lets unauthenticated remote attackers who can send

CVE-2026-86537 HIGH
8.7 Oct 02

Denial of service in Apache Thrift deployments that use the D language bindings before version 0.25.0, where malformed i

CVE-2026-94646 HIGH
8.7 Oct 02

Denial of service in the Apache Thrift Node.js bindings (all versions before 0.25.0) lets remote, unauthenticated attack

CVE-2026-93925 HIGH
8.7 Oct 02

Remote denial of service against Apache Thrift C++ deployments that use the THeaderProtocol is achievable by sending a c

CVE-2026-66081 HIGH
8.7 Oct 02

Remote, unauthenticated attackers can crash applications built against Apache Thrift's c_glib (C/GLib) language bindings

CVE-2026-66859 HIGH
8.7 Oct 02

Denial of service in Apache Thrift's c_glib (C/GLib) language bindings before 0.25.0, where a crafted or malformed messa

CVE-2026-83663 HIGH
8.7 Oct 02

Denial of service in Apache Thrift's Go bindings (all versions before 0.25.0) allows an unauthenticated remote peer to c

CVE-2026-96277 HIGH
8.7 Oct 02

Uncaught exception handling in the Apache Thrift Ruby bindings lets unauthenticated remote attackers crash network-reach

CVE-2026-94658 HIGH
8.7 Oct 02

Inefficient algorithmic complexity (CWE-407) in Apache Thrift's Lua bindings prior to version 0.25.0 allows remote, unau

CVE-2026-87117 HIGH
8.7 Oct 02

Unauthenticated remote attackers can crash applications that use the Apache Thrift PHP bindings prior to version 0.25.0

CVE-2026-82458 HIGH
8.7 Oct 02

Memory exhaustion in Apache Thrift before 0.25.0 lets unauthenticated remote attackers crash services that deserialize a

Vendor StatusVendor

SUSE

Severity: Important

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