AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

Apache Thrift: excessive memory allocation

Apache Software Foundation

CVE-2026-83745 · Published Oct 2, 2026

High8.7
Fix: upgrade to 0.25.0 or later (2 fixed versions below)

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.

Affected versions

PackageAffectedFixed in
Apache Thrift
Product
< 0.25.00.25.0
< 0.25.00.25.0
Details and references
CVSS 4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-130, CWE-789

More Apache Software Foundation advisories

All Apache Software Foundation