CVE-2025-65548
Cashu Nutshell vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Nutshell. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cashu Nutshell runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/cashubtc/nuts/blob/main/07.md · Exploit
- github.com/cashubtc/nuts/blob/main/14.md · Exploit
- github.com/jamesob/delving-bitcoin-archive/blob/master/archive/rendered-topics/2025-11-Nov · Exploit
- bitcointalk.org/index.php?topic=5564329 · Exploit
- delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090
- preimage007.github.io/
- nvd.nist.gov/vuln/detail/CVE-2025-65548
- cve.org/CVERecord?id=CVE-2025-65548
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.