Vulnerability in Libbitcoin Explorer
CVE-2023-39910
- CVSS v3
- 7.5 High
- Public exploits
- 5 repositories
- EPSS
- 0.018 · 78.9th percentile
- Published
- 2023-08-09
The cryptocurrency wallet entropy seeding mechanism used in Libbitcoin Explorer 3.0.0 through 3.6.0 is weak, aka the Milk Sad issue. The use of an mt19937 Mersenne Twister PRNG restricts the internal entropy to 32 bits regardless of settings. This allows remote attackers to recover any wallet private keys generated from "bx seed" entropy output and steal funds. (Affected users need to move funds to a secure new cryptocurrency wallet.) NOTE: the vendor's position is that there was sufficient documentation advising against "bx seed" but others disagree. NOTE: this was exploited in the wild in June and July 2023.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.018, 78.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
5 public repositories with exploit or proof-of-concept code for this CVE:
- z1ph1us/MilkSad-Mnemonic-Generator (11 stars, last pushed 2025-06-04): This tool generates BIP-39 mnemonic phrases derived from Unix timestamps, exploring the 'Milk Sad' vulnerability's implications (CVE-2023-39910)
- demining/RAMnesia-Attack (1 star, last pushed 2026-02-07): RAMnesia Attack: A Scientific Investigation of WireTap Threats to Bitcoin Infrastructure, Hardware Vulnerabilities (CVE-2025-6202, CVE-2023-39910), and Cryptanalytic Methods for ECDSA Key Recovery
- Xaxis/bitcoin-security (last pushed 2026-08-13): Educational study of Bitcoin key entropy: weak-RNG wallet enumeration (Milk Sad / CVE-2023-39910 class) vs. the infeasibility of brute-forcing a good key.
- Hitplus/RingSide-Replay-Attack (last pushed 2026-06-16): 🔒 Analyze the CVE-2023-39910 vulnerability in Libbitcoin Explorer to understand its impact on Bitcoin wallet security and protect your assets.
- Hitplus/hitplus.github.io (last pushed 2026-02-19): 🔍 Analyze and mitigate the CVE-2023-39910 vulnerability in Libbitcoin Explorer to protect Bitcoin wallet keys from being compromised.
Also mentioned in 7 other repositories (8891689/Trust-Wallet-Vulnerability, ARPSyndicate/cve-scores, demining/Milk-Sad-vulnerability-in-the-Libbitcoin-Explorer-3.x, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abd… (Third Party Advisory)
- github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abd… (Third Party Advisory)
- github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5cc746b82a… (Third Party Advisory)
- milksad.info/disclosure.html (Third Party Advisory)
- news.ycombinator.com/item (Third Party Advisory)
- github.com/libbitcoin/libbitcoin-explorer/wiki/CVE-2023-39910
This CVE has public exploit evidence. See the latest CVEs with public exploits.