CVE-2026-71851: Vulnerability in crypto-js
Critical. 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...
npm, CWE-331, CWE-334
- Exploitation
- None confirmed
- Severity
- 9 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-rg76-677x-56q9
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-331, CWE-334, CWE-338
- Published
- 7 Aug 2026
- Last change
- 24 Oct 2026
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- crypto-js npm, Affected before 4.0.0. Fixed in 4.0.0
Advisories
Vendor and security advisories
- github.com/brix/crypto-js/security/advisories/GHSA-rg76-677x-56q9
- coinspect.com/blog/ill-bloom-investigation
Patches and fixes
Updates, commits and release notes