Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-49440: CWE-325: Missing Cryptographic Step in denoland deno

0
High
VulnerabilityCVE-2026-49440cvecve-2026-49440cwe-325
Published: 06/23/2026 (06/23/2026, 17:13:25 UTC)
Source: CVE Database V5
Vendor/Project: denoland
Product: deno

Description

Deno versions prior to 2.8.1 contain a vulnerability in the node:crypto.checkPrime and crypto.checkPrimeSync functions where no Miller-Rabin primality test rounds are performed if the options.checks parameter is left at its default of 0. This causes certain composite numbers with large prime factors to be incorrectly identified as prime. The issue is fixed in version 2.8.1.

CVSS v3.1

Score 7.4high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
denoland/deno
pkg:github/denoland/deno
Affected versions
<2.8.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/23/2026, 17:54:09 UTC

Technical Analysis

The vulnerability in denoland's Deno runtime affects the node:crypto.checkPrime(candidate[, options][, callback]) and crypto.checkPrimeSync(candidate[, options]) functions prior to version 2.8.1. When the options.checks parameter is set to its default value of 0, these functions skip the Miller-Rabin primality test rounds entirely, relying only on trial division by primes up to 17,863. This allows composite numbers whose smallest prime factor is greater than 17,863 to be falsely reported as probably prime. The lower-level op_node_check_prime and op_node_check_prime_bytes paths are also affected. This cryptographic step omission is classified under CWE-325 and is addressed by updating to Deno 2.8.1.

Potential Impact

The vulnerability causes the primality checking functions to incorrectly identify certain composite numbers as prime, potentially undermining cryptographic operations that rely on accurate prime validation. This could lead to weakened cryptographic guarantees, impacting confidentiality and integrity in affected applications. The CVSS score of 7.4 reflects a high severity with network attack vector, high impact on confidentiality and integrity, and no privileges or user interaction required.

Mitigation Recommendations

A fix is available in Deno version 2.8.1. Users should upgrade to version 2.8.1 or later to ensure the Miller-Rabin primality tests are properly performed. No other mitigation is indicated or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-30T02:43:33.105Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3ac4efeed863c81e61823a

Added to database: 06/23/2026, 17:39:59 UTC

Last enriched: 06/23/2026, 17:54:09 UTC

Last updated: 06/23/2026, 17:55:29 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses