Back to Feed
VulnerabilitiesAug 6, 2026

CryptoJS Weak RNG Behind $5.7 Million in Drains Affects Five Crypto Wallet Apps

Weak RNG in CryptoJS library led to $5.7M crypto drain from five wallet apps.

A vulnerability in the CryptoJS JavaScript cryptography library's random number generator, present for over a decade, has been linked to the theft of at least $5.7 million from five cryptocurrency wallet applications. The weak entropy affected the generation of recovery phrases, making them guessable and allowing attackers to drain funds. While some wallets have been fixed, others are discontinued, and users with affected phrases must move their funds to new, securely generated ones.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run CryptoJS?

Get an email when a new story names CryptoJS, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

Five cryptocurrency wallet applications relied on CryptoJS's flawed random number generator to create cryptographic seed phrases, a vulnerability that went undetected and unpatched for over a decade. Because the entropy was insufficiently random, attackers could systematically guess recovery phrases and drain wallets without any direct system access. This incident highlights the danger of blindly trusting third-party cryptographic libraries without ongoing scrutiny of their security properties. Supply chain dependencies—especially in security-critical code paths like key generation—must be continuously evaluated, not simply adopted and forgotten. The $5.7 million loss demonstrates that a single weak link in a cryptographic foundation can silently undermine an entire application's security model.

What helps against this

How we list vendors

Entities

CryptoJS (product)RRWallet (product)Bexo Wallet (product)NanChat (product)Bitcoin Libre (product)Milo (product)