CVE-2026-49440

Deno: Miller-Rabin Primality Test Allows Zero Rounds

HIGH
7.4
CVSS Score
Published: June 23, 2026 at 05:13 PM UTC
Updated: October 25, 2026 at 11:10 PM UTC
2 products affected across 2 vendorsDenoDeno

Using deno by denoland?

Get instant alerts when new vulnerabilities affect deno - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.4
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
v < 2.8.1
Affected range stops below 2.8.1, so it looks safe — our inference, not a vendor statement
v < 2.8.1
Affected range stops below 2.8.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (2)

x_refsource_CONFIRMThird Party Advisory
Source: cverecord
https://github.com/denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43w
x_refsource_MISCIssue Tracking
Source: cverecord
https://github.com/denoland/deno/pull/34391

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.4HIGHGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-325

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card