CVE-2025-65548

critical

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.

References

https://preimage007.github.io/

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/cashubtc/nuts/blob/main/14.md

https://github.com/cashubtc/nuts/blob/main/07.md

https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090

https://bitcointalk.org/index.php?topic=5564329

Details

Source: Mitre, NVD

Published: 2025-12-08

Updated: 2025-12-15

Risk Information

CVSS v2

Base Score: 9.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

Severity: High

CVSS v3

Base Score: 9.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Severity: Critical

EPSS

EPSS: 0.00024