Versions of crypto-js prior to 4.0.0 generate randomness in CryptoJS.lib.WordArray.random() using a custom variation
Affects cryptojsSource GCVE Database
Not known to be exploited · CVSS 9.0 Critical · fixed in 4.0.0 : patch cryptojs as a priority.
Data as of 24 Nov 2026, 21:01 UTC
- Patch
- Available – fixed in 4.0.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTScryptojspkg:deb/ubuntu/cryptojs?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTScryptojspkg:deb/ubuntu/cryptojs?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTScryptojspkg:deb/ubuntu/cryptojs?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTScryptojspkg:deb/ubuntu/cryptojs?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTScryptojspkg:deb/ubuntu/cryptojs?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to crypto-js version 4.0.0 or later, where the randomness generation uses a cryptographically secure source. No other mitigations are indicated. Users of affected versions should replace the vulnerable library to prevent exploitation.
Description
Versions of the crypto-js JavaScript library prior to 4.0.0 use a weak pseudorandom number generator in CryptoJS.lib.WordArray.random(), seeded from Math.random(), resulting in low entropy output. This weakness reduces the effective search space for generated randomness, making it feasible for attackers to enumerate possible values. Wallet applications relying on this function for BIP39 recovery phrase entropy are vulnerable to private key recovery and fund theft. The issue is fixed in version 4.0.0.
References
- ubuntu.com/security/CVE-2026-71851 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-71851 (opens in a new tab)
- github.com/brix/crypto-js/commit/b405ff597fb3ac76a7bdfbc72dca10ba1079b1d5 (opens in a new tab)
- github.com/brix/crypto-js/security/advisories/GHSA-rg76-677x-56q9 (opens in a new tab)
- coinspect.com/blog/ill-bloom-investigation (opens in a new tab)