BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-27934 in Deno

High 8.8

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.4%
EPSS percentile22th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Deno Deno ≥ 1.36.2, < 1.40.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-27934
BreachSpider IDBS-2024-GLOBAL-206086-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2024-03-21
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

Deno versions 1.36.2 to 1.40.2 are vulnerable to arbitrary code execution due to use-after-free access of the underlying structure caused by the use of inherently unsafe `*const c_void` and `ExternalPointer`.

An attacker can exploit this vulnerability by crafting a specific input that triggers the use-after-free condition, leading to arbitrary code execution in the context of the Deno process.

Questions

What is CVE-2024-27934?

Deno versions 1.36.2 to 1.40.2 are vulnerable to arbitrary code execution due to use-after-free access of the underlying structure caused by the use of inherently unsafe `*const c_void` and `ExternalPointer`.

What is the CVSS score for CVE-2024-27934?

CVE-2024-27934 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.4%.

Is CVE-2024-27934 actively exploited?

No confirmed active exploitation of CVE-2024-27934 as of 2026-09-25.

How do I remediate CVE-2024-27934?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-27934?

CVE-2024-27934 affects Deno Deno.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Deno","product":"Deno","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.