CVE-2026-71851
Last modified
CVE-2026-71851 is a critical-severity vulnerability rated 9/10 on the CVSS scale. 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.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| brix | crypto-js | < 4.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-71851?
How severe is CVE-2026-71851?
How do I fix CVE-2026-71851?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-71845A flaw was found in insights-client. The setDefault() functi…6.3
- CVE-2026-71847Ruby JSON is a JSON implementation for Ruby. From 2.20.0 unt…8.7
- CVE-2026-71848Hono is a Web application framework that provides support fo…5.3
- CVE-2026-71849Hono is a Web application framework that provides support fo…3.7
- CVE-2026-7185A validation vulnerability has been identified in certain we…6
- CVE-2026-71850Hono is a Web application framework that provides support fo…4.8
- CVE-2026-71852pypdf is a free and open-source pure-python PDF library. Pri…4.8
- CVE-2026-7186Stored cross-site scripting in the URL dashboard widget in C…5.4
- CVE-2026-7187Missing authentication for critical function vulnerability i…8.8
- CVE-2026-71870pypdf is a free and open-source pure-python PDF library. Pri…4.8
- CVE-2026-7189Insertion of sensitive information into sent data vulnerabil…7.5
- CVE-2026-7191Improper use of the static-eval npm package in the open sour…8.6
Are you affected by CVE-2026-71851?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
