{"id":"CVE-2025-65548","aliases":["EUVD-2025-201796","GHSA-xwrw-2crp-46q4","PYSEC-2025-89"],"status":"published","title":"NUT-14 allows cashu tokens to be created with a preimage hash. However, nutshell (cashubtc/nuts)...","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.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00446,"percentile":0.39066,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1284"],"published":"2025-12-08T00:00:00Z","modified":"2026-10-28T02:30:47Z","fixes":[{"ecosystem":"PyPI","package":"cashu","fixed_in":["0.18.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"PyPI","package":"cashu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.0"}]}],"versions":["0.1","0.1.1","0.1.10","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.10.0","0.11.0","0.12.0","0.12.1","0.12.3","0.13.0","0.14.0","0.14.1","0.15.0","0.15.1","0.15.2","0.15.3","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.16.5","0.17.0","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.4.2","0.5.0","0.5.1","0.5.3","0.5.4","0.5.5","0.6.0","0.7.0","0.8","0.8.1","0.8.2","0.8.3","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4"]}],"products":[{"vendor":"cashu","product":"nutshell"}],"references":[{"url":"https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090","tags":["Broken Link","web"]},{"url":"https://github.com/cashubtc/nuts/blob/main/14.md","tags":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://github.com/cashubtc/nuts/blob/main/07.md","tags":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://preimage007.github.io/","tags":["Product","web"]},{"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":["exploit","Exploit","Third Party Advisory","web","evidence"]},{"url":"https://bitcointalk.org/index.php?topic=5564329","tags":["exploit","Exploit","Issue Tracking","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65548","tags":["advisory"]},{"url":"https://preimage007.github.io"},{"url":"https://github.com/advisories/GHSA-xwrw-2crp-46q4"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65548.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-65548","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.","status":"published","published":"2025-12-08T00:00:00Z","modified":"2025-12-11T14:36:58.193Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp"}],"cwes":["CWE-1284"],"updated_at":"2026-11-02T14:32:26.64278Z"}],"euvd":[{"id":"EUVD-2025-201796","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.","status":"published","published":"2025-12-08T00:00:00Z","modified":"2025-12-11T14:36:58Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T19:49:06.661228Z"}],"ghsa":[{"id":"GHSA-xwrw-2crp-46q4","title":"NUT-14 allows cashu tokens to be created with a preimage hash. However, nutshell (cashubtc/nuts)...","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.","status":"published","published":"2025-12-08T21:30:22Z","modified":"2025-12-11T15:31:38Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-1284"],"updated_at":"2026-11-02T15:05:09.214908Z"}],"nvd":[{"id":"CVE-2025-65548","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.","status":"published","published":"2025-12-08T19:15:50.677Z","modified":"2026-10-18T14:10:00.11Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"secondary"}],"cwes":["CWE-1284"],"updated_at":"2026-11-02T14:11:49.093461Z"}],"osv":[{"id":"CVE-2025-65548","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.","status":"published","published":"2025-12-08T00:00:00Z","modified":"2026-10-28T02:30:47.639064817Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T15:44:52.202386Z"},{"id":"PYSEC-2025-89","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.","status":"published","published":"2025-12-08T19:15:50.677Z","modified":"2026-05-20T09:18:54.10914Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T15:52:54.242332Z"}]}}
