CVE-2026-83745
published high CVSS 4.0 · 8.7Apache Thrift, Apache Thrift: WebSocket frame decoders allocate the payload buffer from the declared length, not the bytes received (Node.js, D)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | thriftApache Thrift · 0 to < 0.25.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | D language bindingsApache Thrift · 0 to < 0.25.0 · Other versions: unaffected | Affected | Not stated | apache |
| Alpine Linux | edge | thrift | Fixed | 0.25.0-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- apache · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Thrift | 0 to < 0.25.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Thrift | 0 to < 0.25.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
2- CWE-789 CWE-789 Memory allocation with excessive size value
- CWE-130 CWE-130 Improper handling of length parameter inconsistency
References
2Provider assertions
2apache · cna
Apache Thrift, Apache Thrift: WebSocket frame decoders allocate the payload buffer from the declared length, not the bytes received (Node.js, D)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 79012e25cdf2df8e1ed4363fd52c8a0924c82ea7ae7689bdb53eef6292b51876
- Ingested
- 02 Oct 2026, 19:09:27 UTC
- Source record
- Official CVE record