VulnerabilityAnalyzed
CVE-2025-65548
NUT-14 allows cashu tokens to be created with a preimage hash.
CRITICAL 9.1EPSS 0.42%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.42%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS
- 0.42% probability · 35th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1284
- Affected
- cashu/nutshell
- Source
- cve@mitre.org
References
- https://bitcointalk.org/index.php?topic=5564329Exploit, Issue Tracking
- https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090Broken Link
- https://github.com/cashubtc/nuts/blob/main/07.mdExploit, Third Party Advisory
- https://github.com/cashubtc/nuts/blob/main/14.mdExploit, Third Party Advisory
- https://github.com/jamesob/delving-bitcoin-archive/blob/master/archive/rendered-topics/2025-11-November/2025-11-02-public-disclosure-denial-of-service-using-htlc-in-cashu-id2090.mdExploit, Third Party Advisory
- https://preimage007.github.io/Product
- https://bitcointalk.org/index.php?topic=5564329Exploit, Issue Tracking
- https://github.com/jamesob/delving-bitcoin-archive/blob/master/archive/rendered-topics/2025-11-November/2025-11-02-public-disclosure-denial-of-service-using-htlc-in-cashu-id2090.mdExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.