9

CVE-2026-71851: crypto-js: Insufficient Entropy in Cryptographic Secret Generation via Vulnerable CryptoJS Dependency Chain

Deferred
AliasesUBUNTU-CVE-2026-71851DEBIAN-CVE-2026-71851GHSA-rg76-677x-56q9
Published 07-08-2026Last modified 08-08-2026

Vulnerability summary

CVE-2026-71851 is a critical (CVSS 9.0) Insufficient Entropy vulnerability in brix crypto-js. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 44.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.51%
0%100%
Low · -0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 07-08-2026
    PublishedVulnerability first disclosed.
  2. 08-08-2026
    Last modifiedVulnerability information updated.

Description

crypto-js is a JavaScript library of crypto standards. Versions of crypto-js prior to 4.0.0 generate randomness in CryptoJS.lib.WordArray.random() using a custom variation of the Multiply-With-Carry pseudorandom number generator, seeded from Math.random(), instead of a cryptographically secure source. This generator was introduced in version 3.1.2-4 and remained present in nearly every 3.x release. Nominal requests for 128 or 256 bits of entropy through this function produce effective search spaces of approximately 2 to the 39th and 2 to the 47th possibilities, small enough to enumerate on commodity hardware. Downstream wallet applications that used CryptoJS.lib.WordArray.random() as the entropy source for BIP39 recovery phrases are affected, and an attacker who enumerates the reduced output space can recover the resulting private keys and control the associated funds. This issue is fixed in version 4.0.0.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

Decrease -0.04 pp

From 0.55% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Brix1 product
Debian1 product
  • cryptojsAll versions (No fix recorded)
Npm1 product
  • crypto-js< 4.0.0
Ubuntu1 product
  • cryptojsAll versions (No fix recorded)

4 vendors · 4 products

References

7 links