CVE-2026-83745
CVE-2026-83745 · Apache Thrift, Apache Thrift: WebSocket frame decoders allocate the payload buffer from the declared length, not the bytes received (Node.js, D)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.7 · High · EPSS 0.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
apache thrift
- Versions
- ≥ 0, < 0.25.0: Affected (semver)
Update to 0.25.0
thrift Debian:12
- Versions
- 0.17.0-2
- 0.17.0-3
- 0.17.0-4
- 0.18.1-1
- 0.18.1-2
- 0.19.0-1
- 0.19.0-2
- 0.19.0-2.1
- 0.19.0-2.1~exp1
- 0.19.0-3
- 0.19.0-4
- 0.20.0-1
- 0.22.0-1
- 0.22.0-2
- 0.22.0-3
- 0.22.0-4
- 0.23.0-1
- 0.23.0-2
- 0.23.0-3
- 0.24.0-1
- 0.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Debian:13
- Versions
- 0.19.0-4
- 0.20.0-1
- 0.22.0-1
- 0.22.0-2
- 0.22.0-3
- 0.22.0-4
- 0.23.0-1
- 0.23.0-2
- 0.23.0-3
- 0.24.0-1
- 0.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Debian:14
- Versions
- 0.19.0-4
- 0.20.0-1
- 0.22.0-1
- 0.22.0-2
- 0.22.0-3
- 0.22.0-4
- 0.23.0-1
- 0.23.0-2
- 0.23.0-3
- 0.24.0-1
- 0.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:20.04:LTS
- Versions
- 0.11.0-6
- 0.13.0-2build1
- 0.13.0-2build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:22.04:LTS
- Versions
- 0.13.0-6ubuntu1
- 0.13.0-6ubuntu2
- 0.13.0-6ubuntu3
- 0.13.0-7
- 0.16.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:24.04:LTS
- Versions
- 0.17.0-4
- 0.19.0-2
- 0.19.0-2build1
- 0.19.0-2.1build4
- 0.19.0-2.1build5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:26.10
- Versions
- 0.22.0-3ubuntu1
- 0.23.0-3
- 0.23.0-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:26.04:LTS
- Versions
- 0.19.0-4build1
- 0.22.0-3
- 0.22.0-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published