CVE-2026-49440

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

Configuration 1 (hide)

cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*

History

26 Jun 2026, 19:27

Type Values Removed Values Added
CPE cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
First Time Deno
Deno deno
References () https://github.com/denoland/deno/pull/34391 - () https://github.com/denoland/deno/pull/34391 - Issue Tracking
References () https://github.com/denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43w - () https://github.com/denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43w - Third Party Advisory

25 Jun 2026, 15:16

Type Values Removed Values Added
References () https://github.com/denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43w - () https://github.com/denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43w -

24 Jun 2026, 14:17

Type Values Removed Values Added
References () https://github.com/denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43w - () https://github.com/denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43w -

23 Jun 2026, 18:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-23 18:18

Updated : 2026-06-26 19:27


NVD link : CVE-2026-49440

Mitre link : CVE-2026-49440

CVE.ORG link : CVE-2026-49440


JSON object : View

Products Affected

deno

  • deno
CWE
CWE-325

Missing Cryptographic Step