Back to overview

CVE-2026-49440

HIGH
7.4
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-49440
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-30 02:43 UTC
Published
2026-06-23 17:13 UTC
Last updated
2026-06-23 17:13 UTC
Primary CWE
CWE-325
CWE-325: Missing Cryptographic Step
Vendor / Product
denoland / deno
Sources
cve.org  ·  NVD

Severity & Metrics

7.4 HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected products (1)
VendorProductPlatformVersions
denoland deno < 2.8.1
Weakness (CWE)
CWESourceDescription
CWE-325 cna CWE-325: Missing Cryptographic Step
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.4 HIGH 3.1 cna CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References (2)
Back to overview