Vulnerability database / CVE-2025-65548
CVE-2025-65548
CRITICAL 9.1 CVSS 3.1 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.
Published 8 Dec 2025
Last modified 18 Oct 2026 Assigned by cve@mitre.org NVD status Analyzed Weakness
CWE-1284 Also known as
PYSEC-2025-89 Sources
NVD JSON OSV PYSEC-2025-89 JSON Scores
Source Scored by Version Score Vector / decision
NVD
134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
CVSS 3.1
CRITICAL 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NOSV
PyPA
CVSS 3.1
CRITICAL 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
cashu
nutshellcpe:2.3:a:cashu:nutshell:*:*:*:*:*:*:*:*
< 0.18.0
0.18.0 OSV
PyPI
cashu
< 0.18.0
0.18.0
References
https://bitcointalk.org/index.php?topic=5564329 · Exploit, Issue Tracking, REPORT https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090 · Broken Link, WEB https://github.com/cashubtc/nuts/blob/main/07.md · Exploit, Third Party Advisory, EVIDENCE https://github.com/cashubtc/nuts/blob/main/14.md · Exploit, Third Party Advisory, EVIDENCE 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, EVIDENCE https://preimage007.github.io/ · Product, WEB
History
25 Nov 2026 20:59 UTC · NVD: first stored (published 8 Dec 2025)25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Dec 2025)