VYPR
High severity7.4GHSA Advisory· Published Jun 23, 2026· Updated Jun 26, 2026

CVE-2026-49440

CVE-2026-49440

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
denocrates.io
< 2.8.12.8.1

Affected products

2
  • Denoland/Deno2 versions
    cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*range: <2.8.1
    • (no CPE)range: <= 2.8.0

Patches

Vulnerability mechanics

References

3

News mentions

1