Fund theft via 32-bit mnemonic entropy
Published Apr 27, 2023 · Updated Jan 30, 2025
Weak PRNG use in Trust Wallet Core before 3.1.1 allows attackers to derive browser-extension wallet keys and steal funds. The Wasm random_buffer function seeds std::mt19937 with one 32-bit random_device value, limiting mnemonic generation to about four billion possibilities. Attackers need only a public wallet address and offline computation; wallets created by extension versions 0.0.172 through 0.0.182 remain exposed to complete asset theft.
Summary
What happened
Weak PRNG use in Trust Wallet Core before 3.1.1 allows attackers to derive browser-extension wallet keys and steal funds. The Wasm random_buffer function seeds std::mt19937 with one 32-bit random_device value, limiting mnemonic generation to about four billion possibilities. Attackers need only a public wallet address and offline computation; wallets created by extension versions 0.0.172 through 0.0.182 remain exposed to complete asset theft.
The record
- CVE
- CVE-2023-31290
- Published
- Apr 27, 2023
- Updated
- Jan 30, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-338, T1552.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 1, 2022Exploitation reportedTheft from weak-seed Trust Wallet addresses
- Apr 27, 2023CVE publishedPublication date reported by the CVE source.
- Jan 30, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Ledger Donjon address-to-key recovery demonstrationfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Theft from weak-seed Trust Wallet addressesreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo