# 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)

- Severity: High 8.7 (CVSS:4.0, scored by apache) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-10-02T12:16:15.128Z
- Modified: 2026-10-09T12:00:13.098Z
- Also known as: BIT-THRIFT-2026-83745
- Weaknesses: CWE-130, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- thrift: before 0.25.0
- D language bindings: before 0.25.0
- thrift (Bitnami): before 0.25.0

## Every score

- apache: CVSS:4.0 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1> (vendor-advisory, web)
- <https://lists.apache.org/thread/64y7f0b89mnq4xoqcn4h26to8kskolgc> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-83745> (web)

## Sources

- CVE List: [CVE-2026-83745](https://www.cve.org/CVERecord?id=CVE-2026-83745), CVE Terms of Use, modified 2026-10-02
- NVD: [CVE-2026-83745](https://nvd.nist.gov/vuln/detail/CVE-2026-83745), Public domain, modified 2026-10-02
- Bitnami Vulnerability Database: [BIT-THRIFT-2026-83745](https://osv.dev/vulnerability/BIT-THRIFT-2026-83745), Apache-2.0, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-83745 · Whole record: https://cve.day/CVE-2026-83745.json · Rebuilt by cve.day 2026-11-25T22:59:41.971Z
