# CVE-2024-27934: *const c_void / ExternalPointer unsoundness leading to use-after-free

Source: https://junglewise.ai/threats/cve-2024-27934-const-c-void-externalpointer-unsoundness-leading-to-use-after  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-03-06  
License: CC BY 4.0 with a link back

CVE-2024-27934 · Severity: low · CVSS 3.1 · Published 2024-03-06

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

Technologies: [deno (crates.io)](https://junglewise.ai/threats/technologies/deno). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2024-27934 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-27934 being exploited in the wild.

**How severe is CVE-2024-27934?** Low severity, with a CVSS score of 3.1, published 6 March 2024.

**Which products and versions are affected?** deno (crates.io) SEMVER:introduced=1.36.2,fixed=1.40.3.

**Is there a fix for CVE-2024-27934?** Yes. deno (crates.io): upgrade to 1.40.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-27934?** Check whether you run deno (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- deno (crates.io): upgrade to 1.40.3 or later

  ```sh
  cargo update -p deno
  ```


## Affected products

- deno (crates.io) SEMVER:introduced=1.36.2,fixed=1.40.3

## Identifiers

- CVE-2024-27934
- GHSA-3j27-563v-28wf

## Related threats

- [Deno denial of service via non-ASCII WebSocket response headers](https://junglewise.ai/threats/cve-2026-55517-deno-denial-of-service-via-non-ascii-websocket-response-headers)
- [Deno environment permission bypass in process.loadEnvFile](https://junglewise.ai/threats/cve-2026-49983-deno-environment-permission-bypass-in-process-loadenvfile)
- [Deno sandbox bypass via missing post-DNS check in WebSocket API](https://junglewise.ai/threats/cve-2026-49860-deno-sandbox-bypass-via-missing-post-dns-check-in-websocket-api)
- [Deno network restriction bypass in fetch API](https://junglewise.ai/threats/cve-2026-49859-deno-network-restriction-bypass-in-fetch-api)
- [Deno missing cryptographic rounds in node:crypto checkPrime](https://junglewise.ai/threats/cve-2026-49440-deno-missing-cryptographic-rounds-in-node-crypto-checkprime)
