Vulnerability · Published Oct 2, 2026 · Assigned by apache
CVE-2026-83745Apache Thrift, Apache Thrift: WebSocket frame decoders allocate the payload buffer from the declared length, not the bytes received (Node.js, D)
High 8.7
In plain English
A high-severity security flaw in Apache Thrift from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | thrift | no fix listed | DEBIAN-CVE-2026-83745 |
| Debian:13 | thrift | no fix listed | DEBIAN-CVE-2026-83745 |
| Debian:14 | thrift | no fix listed | DEBIAN-CVE-2026-83745 |
| Ubuntu:22.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-83745 |
| Ubuntu:24.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-83745 |
| Ubuntu:26.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-83745 |
| Ubuntu:26.10 | thrift | no fix listed | UBUNTU-CVE-2026-83745 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
Weakness: CWE-789, CWE-130 · Vector: 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
References
- https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1 vendor-advisory
- https://lists.apache.org/thread/64y7f0b89mnq4xoqcn4h26to8kskolgc vendor-advisory