{"id":"CVE-2023-39910","published":"2023-08-09T00:00:00Z","modified":"2024-10-10T18:10:09Z","title":"The cryptocurrency wallet entropy seeding mechanism used in Libbitcoin Explorer 3.0.0 through 3.6.0 is weak, aka the…","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-10T18:09:34.444623Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":null,"epss":{"score":0.01656,"percentile":0.76975,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-08-08","exploitedFirstSeen":"2023-08-08","ransomware":false,"evidence":[{"url":"https://news.ycombinator.com/item?id=37054862","date":"2023-08-08"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-39910","date":"2023-08-09"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/commands/seed.cpp#L44","tags":[]},{"url":"https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/utility.cpp#L78","tags":[]},{"url":"https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5cc746b82a6afe64/src/crypto/pseudo_random.cpp#L66C12-L78","tags":[]},{"url":"https://milksad.info/disclosure.html","tags":[]},{"url":"https://news.ycombinator.com/item?id=37054862","tags":[]},{"url":"https://github.com/libbitcoin/libbitcoin-explorer/wiki/CVE-2023-39910","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2023-43610","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-43610","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2025-06-03","earliestUrl":"https://github.com/z1ph1us/MilkSad-Mnemonic-Generator","repos":[{"name":"z1ph1us/MilkSad-Mnemonic-Generator","url":"https://github.com/z1ph1us/MilkSad-Mnemonic-Generator","stars":11,"created":"2025-06-03"},{"name":"demining/RAMnesia-Attack","url":"https://github.com/demining/RAMnesia-Attack","stars":1,"created":"2026-02-07"},{"name":"Xaxis/bitcoin-security","url":"https://github.com/Xaxis/bitcoin-security","stars":0,"created":"2026-07-31"}]},"first":{"date":"2025-06-03","source":"PoC-in-GitHub","url":"https://github.com/z1ph1us/MilkSad-Mnemonic-Generator"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-08-08","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://news.ycombinator.com/item?id=37054862","provenance":"source"},{"date":"2023-08-09","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-39910","provenance":"source"},{"date":"2025-06-03","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/z1ph1us/MilkSad-Mnemonic-Generator","provenance":"source"}],"speed":{"daysToPublicExploit":664,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":55.4,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1205 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":15.4,"detail":"percentile 0.7698"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}