CVE-2026-71851

CRITICAL
INFO Priority: 0.05 BB Relevance: 68/100
Published: 2026-08-07 Modified: 2026-10-24 First seen: 2026-10-29 Status: active

Attack Surface

Network No Auth No Interaction Conf. Impact Integ. Impact Scope Change

CVSS Vector Breakdown

AV: Network
AC: High
PR: None
UI: None
S: Changed
C: High
I: High
A: High

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.

Weakness Classification (3)

Bug Bounty Relevance

68 / 100
✓ Network accessible
✓ No authentication
✓ No user interaction

CVSS Score

9.0 / 10.0 v3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

EPSS — Exploitation Probability

0.55%
Raw Score 0.005500
Percentile 45.9%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00550
2026-10-28
0.00550

Intelligence Sources

nvd ref →