CVE-2025-65548

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cashu:nutshell:*:*:*:*:*:*:*:*

History

15 Dec 2025, 15:56

Type Values Removed Values Added
CPE cpe:2.3:a:cashubtc:nutshell:*:*:*:*:*:*:*:* cpe:2.3:a:cashu:nutshell:*:*:*:*:*:*:*:*
First Time Cashu nutshell
Cashu

12 Dec 2025, 14:59

Type Values Removed Values Added
First Time Cashubtc
Cashubtc nutshell
CPE cpe:2.3:a:cashubtc:nutshell:*:*:*:*:*:*:*:*
References () https://bitcointalk.org/index.php?topic=5564329 - () https://bitcointalk.org/index.php?topic=5564329 - Exploit, Issue Tracking
References () https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090 - () https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090 - Broken Link
References () https://github.com/cashubtc/nuts/blob/main/07.md - () https://github.com/cashubtc/nuts/blob/main/07.md - Exploit, Third Party Advisory
References () https://github.com/cashubtc/nuts/blob/main/14.md - () https://github.com/cashubtc/nuts/blob/main/14.md - Exploit, Third Party Advisory
References () 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.md - () 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.md - Exploit, Third Party Advisory
References () https://preimage007.github.io/ - () https://preimage007.github.io/ - Product

11 Dec 2025, 15:15

Type Values Removed Values Added
References () https://bitcointalk.org/index.php?topic=5564329 - () https://bitcointalk.org/index.php?topic=5564329 -
References () 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.md - () 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.md -
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
CWE CWE-1284

08 Dec 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-08 19:15

Updated : 2025-12-15 15:56


NVD link : CVE-2025-65548

Mitre link : CVE-2025-65548

CVE.ORG link : CVE-2025-65548


JSON object : View

Products Affected

cashu

  • nutshell
CWE
CWE-1284

Improper Validation of Specified Quantity in Input