CVE-2025-65548: Vulnerability in Cashu Nutshell
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 the mint and attacker can exploit this vulnerability to fill the mint's db nd disk with arbitrary data.
CWE-1284
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-1284
- Published
- 8 Dec 2025
- Last change
- 18 Oct 2026
Affected products
Affected versions and the first fixed release
- Cashu Nutshell Before 0.18.0. Fixed in 0.18.0
Advisories
Vendor and security advisories
- bitcointalk.org/index.php
- delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090
- github.com/cashubtc/nuts/blob/main/07.md
- github.com/cashubtc/nuts/blob/main/14.md
- github.com/jamesob/delving-bitcoin-archive/blob/master/archive/rendered-topics/2025-11-...
- preimage007.github.io
Related
- Nutshell vulnerabilities Recent advisories, watch this product