CVE-2024-27934
published high CVSS 3.1 · 8.4*const c_void / ExternalPointer unsoundness leading to use-after-free
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| denoland | deno | >= 1.36.2, < 1.40.3 (affected) | GitHub_M · cna |
| deno | deno | 1.36.2 to < 1.40.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
1Provider assertions
3GitHub_M · cna
*const c_void / ExternalPointer unsoundness leading to use-after-free
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b223897eb0b1d117236f4c1c21d94596bb8f8e875bfbf55d8717e9cf0aca7bb5
- Ingested
- 23 Sep 2026, 08:21:01 UTC
- Source record
- Official CVE record