# CVE-2024-27935: Deno's Node.js Compatibility Runtime has Cross-Session Data Contamination

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L`
- 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.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-05T20:49:14.000Z
- Modified: 2026-09-10T03:50:10.914Z
- Also known as: GHSA-wrqv-pf6j-mqjp
- Weaknesses: CWE-488
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.35.1 and prior to version 1.36.3, a vulnerability in Deno's Node.js compatibility runtime allows for cross-session data contamination during simultaneous asynchronous reads from Node.js streams sourced from sockets or files. The issue arises from the re-use of a global buffer (BUF) in stream_wrap.ts used as a performance optimization to limit allocations during these asynchronous read operations. This can lead to data intended for one session being received by another session, potentially resulting in data corruption and unexpected behavior. This affects all users of Deno that use the node.js compatibility layer for network communication or other streams, including packages that may require node.js libraries indirectly. Version 1.36.3 contains a patch for this issue.

(As written by CVE List.)

## Affected

- denoland deno: >= 1.35.1, < 1.36.3; from 1.35.1 up to 1.36.3
- deno (crates.io): from 1.35.1 before 1.36.3
- deno deno: from 1.35.1 before 1.36.3

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L`
- NVD: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`

## References

- <https://github.com/denoland/deno/issues/20188> (exploit, issue-tracking, web)
- <https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp> (vendor-advisory, web)
- <https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27935> (advisory)
- <https://github.com/denoland/deno> (package)

## Sources

- CVE List: [CVE-2024-27935](https://www.cve.org/CVERecord?id=CVE-2024-27935), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-wrqv-pf6j-mqjp](https://github.com/advisories/GHSA-wrqv-pf6j-mqjp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-27935](https://nvd.nist.gov/vuln/detail/CVE-2024-27935), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27935 · Whole record: https://cve.day/CVE-2024-27935.json · Rebuilt by cve.day 2026-11-25T22:58:37.795Z
