Vulnerability Description
NUT-14 allows cashu tokens to be created with a preimage hash. However, nutshell (cashubtc/nuts) before 0.18.0 do not validate the size of preimage when the token is spent. The preimage is stored by the mint and attacker can exploit this vulnerability to fill the mint's db nd disk with arbitrary data.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cashu | Nutshell | < 0.18.0 |
Related Weaknesses (CWE)
References
- https://bitcointalk.org/index.php?topic=5564329ExploitIssue Tracking
- https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cBroken Link
- https://github.com/cashubtc/nuts/blob/main/07.mdExploitThird Party Advisory
- https://github.com/cashubtc/nuts/blob/main/14.mdExploitThird Party Advisory
- https://github.com/jamesob/delving-bitcoin-archive/blob/master/archive/rendered-ExploitThird Party Advisory
- https://preimage007.github.io/Product
- https://bitcointalk.org/index.php?topic=5564329ExploitIssue Tracking
- https://github.com/jamesob/delving-bitcoin-archive/blob/master/archive/rendered-ExploitThird Party Advisory
FAQ
What is CVE-2025-65548?
CVE-2025-65548 is a vulnerability with a CVSS score of 9.1 (CRITICAL). NUT-14 allows cashu tokens to be created with a preimage hash. However, nutshell (cashubtc/nuts) before 0.18.0 do not validate the size of preimage when the token is spent. The preimage is stored by t...
How severe is CVE-2025-65548?
CVE-2025-65548 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-65548?
Check the references section above for vendor advisories and patch information. Affected products include: Cashu Nutshell.