Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Deno | Deno | < 2.8.1 |
Related Weaknesses (CWE)
References
- https://github.com/denoland/deno/pull/34391Issue Tracking
- https://github.com/denoland/deno/security/advisories/GHSA-9xg4-qhm4-g43wThird Party Advisory
FAQ
What is CVE-2026-49440?
CVE-2026-49440 is a vulnerability with a CVSS score of 7.4 (HIGH). 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 ...
How severe is CVE-2026-49440?
CVE-2026-49440 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49440?
Check the references section above for vendor advisories and patch information. Affected products include: Deno Deno.