# CVE-2023-39910: The cryptocurrency wallet entropy seeding mechanism used in Libbitcoin Explorer 3.0.0 through 3.6.0 is weak, aka the Milk Sad issue.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.80%, higher than 79% of CVEs (2026-12-01)
- Published: 2023-08-09T00:00:00.000Z
- Modified: 2026-06-17T06:12:56.420Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libbitcoin libbitcoin_explorer: from 3.0.0 up to 3.6.0

## References

- <https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/commands/seed.cpp#L44> (third-party-advisory)
- <https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/utility.cpp#L78> (third-party-advisory)
- <https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5cc746b82a6afe64/src/crypto/pseudo_random.cpp#L66C12-L78> (third-party-advisory)
- <https://milksad.info/disclosure.html> (third-party-advisory)
- <https://news.ycombinator.com/item?id=37054862> (third-party-advisory)
- <https://github.com/libbitcoin/libbitcoin-explorer/wiki/CVE-2023-39910>

## Sources

- CVE List: [CVE-2023-39910](https://www.cve.org/CVERecord?id=CVE-2023-39910), CVE Terms of Use, modified 2024-10-10
- NVD: [CVE-2023-39910](https://nvd.nist.gov/vuln/detail/CVE-2023-39910), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-39910 · Whole record: https://cve.day/CVE-2023-39910.json · Rebuilt by cve.day 2026-11-25T22:58:26.966Z
