CVE-2026-49440
published high CVSS 3.1 · 7.4Deno: Miller-Rabin Primality Test Allows Zero Rounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| denoland | — | deno< 2.8.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | deno | Fixed | 2.9.8-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| denoland | deno | < 2.8.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-325 CWE-325: Missing Cryptographic Step
References
2Provider assertions
2GitHub_M · cna
Deno: Miller-Rabin Primality Test Allows Zero Rounds
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c9f68058e15bbc24a44aff062d4e544e826f273d50782dfa1238c201ff237c99
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record