CVE-2023-31290: Weak wallet-generation entropy in Trust Wallet browser extension
- Vendor
- Trust Wallet
CVE-2023-31290 is a cryptographically weak pseudorandom-number generation vulnerability in Trust Wallet Core before 3.1.1, affecting Trust Wallet browser extension versions 0.0.172 through 0.0.182. The WebAssembly wallet-generation path initializes the mt19937 Mersenne Twister with a single 32-bit seed, restricting possible BIP-39 mnemonics to at most 4,294,967,296 candidates. Attackers can enumerate these candidates, derive wallet keys and addresses, and identify vulnerable wallets using public blockchain data. New wallets generated during November 14–23, 2022, were affected; Trust Wallet mobile applications were unaffected. The vulnerability was exploited in December 2022 and March 2023.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Attackers can recover vulnerable wallet mnemonics and the deterministic hierarchy of private keys derived from them, enabling unauthorized cryptocurrency transfers and theft of funds. Previously empty vulnerable wallets remain exposed if they later receive funds. Two known exploitation incidents caused approximately $170,000 in combined losses.
Mitigation
If you can’t patch tonight, do this now.
Treat mnemonics generated by affected extension versions as compromised and promptly transfer assets to wallets with newly and securely generated mnemonics. Do not rely on an extension update or reimporting the existing mnemonic to protect affected funds.
Remediation
Patch, then assume compromise.
Upgrade Trust Wallet Core to version 3.1.1 or later and the Trust Wallet browser extension to version 0.0.183 or later. Generate a new wallet with a fresh mnemonic using securely generated entropy and transfer assets from every affected wallet to the new wallet. Updating the software prevents future vulnerable generation but does not secure existing weak mnemonics; importing the same mnemonic into another wallet interface does not remediate the exposure.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-31290 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-31290?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2023-31290, the earliest disclosed Jun 22, 2026.
- Is there a patch for CVE-2023-31290?
- Upgrade Trust Wallet Core to version 3.1.1 or later and the Trust Wallet browser extension to version 0.0.183 or later. Generate a new wallet with a fresh mnemonic using securely generated entropy and transfer assets from every affected wallet to the new wallet.
- What products are affected by CVE-2023-31290?
- Trust Wallet Browser Extension and Trust Wallet Core.
- How severe is CVE-2023-31290?
- CVE-2023-31290 has a CVSS v3.1 score of 5.9 (Medium) and an EPSS score of 0.92% (59th percentile) as of Oct 16, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.