Read the docs
TI-2024-18537 Aliases CVE-2024-27934GHSA-3j27-563v-28wf

*const c_void / ExternalPointer unsoundness leading to use-after-free

Priority HIGH 73CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-416 and the CVSS impact.

Summary

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.36.2 and prior to version 1.40.3, use of inherently unsafe `*const c_void` and `ExternalPointer` leads to use-after-free access of the underlying structure, resulting in arbitrary code execution. Use of inherently unsafe `*const c_void` and `ExternalPointer` leads to use-after-free access of the underlying structure, which is exploitable by an attacker controlling the code executed inside a Deno runtime to obtain arbitrary code execution on the host machine regardless of permissions. This bug is known to be exploitable for both `*const c_void` and `ExternalPointer` implementations. Version 1.40.3 fixes this issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00392 33rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed deno (denoland): 1.40.3deno (crates.io): 1.40.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
denolanddeno1.36.2 to before 1.40.31.40.3Patch availableCNA
—deno (crates.io)1.36.2 to before 1.40.31.40.3Patch availableGHSA-3j27-563v-28wf
  • deno Vendordenoland Affected 1.36.2 to before 1.40.3 Fixed in 1.40.3 Patch available CNA
  • deno (crates.io) Vendor— Affected 1.36.2 to before 1.40.3 Fixed in 1.40.3 Patch available GHSA-3j27-563v-28wf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*1.36.2 to before 1.40.3Vulnerabledenoland
  • cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:* Versions 1.36.2 to before 1.40.3 Vulnerable ·denoland

Remediation

  • Fix · CNA deno (denoland) Fixed in 1.40.3
  • Fix · GHSA-3j27-563v-28wf deno (crates.io) Fixed in 1.40.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-27934
  2. 2026-10-03 Alias added: GHSA-3j27-563v-28wf

References

  • TI-2026-21627 Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process CVSS 3.1CRITICAL 9.8
  • TI-2025-17782 Deno's AES GCM authentication tags are not verified CVSS 4.0HIGH 7.7
  • TI-2024-18536 Deno arbitrary file descriptor close via `op_node_ipc_pipe()` leading to permission prompt bypass CVSS 3.1HIGH 8.8
  • TI-2023-12990 Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization CVSS 3.1HIGH 8.8
  • TI-2023-11328 Regular expression denial of service in deno CVSS 3.1HIGH 7.5
  • TI-2024-18539 Deno interactive permission prompt spoofing via improper ANSI stripping CVSS 3.1HIGH 8.8
See all 37 →

Sources