Vulnerability

CVE-2026-49440

highCVSS 3.1 7.4Published 23 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, node:crypto.checkPrime(candidate[, options][, callback]) and crypto.checkPrimeSync(candidate[, options]) ran no Miller-Rabin rounds at all when the caller left options.checks at its default of 0. In that mode, the only test applied to the candidate was trial division by the primes up to 17,863. Any composite whose smallest prime factor exceeds that bound — for example the product of two primes just above it, such as 17,881 × 17,891 — was reported as true ("probably prime"). The same divergence affected the lower-level op_node_check_prime / op_node_check_prime_bytes paths that the polyfill calls into. This vulnerability is fixed in 2.8.1.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Deno deno

Weakness type

References

  • github.com /denoland/deno/pull/34391
  • github.com /denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43w

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning