{"id":"CVE-2025-65548","published":"2025-12-08T00:00:00Z","modified":"2025-12-11T14:36:58Z","title":"NUT-14 allows cashu tokens to be created with a preimage hash","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00446,"percentile":0.39672,"provenance":"source"},"cwes":[{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"references":[{"url":"https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090","tags":[]},{"url":"https://github.com/cashubtc/nuts/blob/main/14.md","tags":[]},{"url":"https://github.com/cashubtc/nuts/blob/main/07.md","tags":[]},{"url":"https://preimage007.github.io/","tags":[]},{"url":"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","tags":[]},{"url":"https://bitcointalk.org/index.php?topic=5564329","tags":[]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":7.93},{"name":"CVSS severity","points":6.37}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-12-09T20:03:40.745059Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"cashu","vulnerableRanges":["<0.18.0"],"patched":["0.18.0"],"from":["PYSEC-2025-89"],"provenance":"source"}],"summary":{"text":"The flaw is in the NUT-14 implementation of nutshell (cashubtc/nuts) before 0.18.0, where the mint does not validate the size of the preimage supplied when a token is spent, even though NUT-14 allows tokens to be created with a preimage hash. An attacker who can reach the mint over the network, with no authentication or user interaction required, can submit oversized preimages that the mint stores, filling its database and disk with arbitrary data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:25Z"},"euvd":{"id":"EUVD-2025-201796","exploited":false,"provenance":"source"}}