Vulnerability in Cashu Nutshell

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.

EPSS: 0.004 (29.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-65548?
CVE-2025-65548 is a critical-severity vulnerability in Cashu Nutshell, classified under Improper Validation of Specified Quantity in Input. CVSS score: 9.1/10. Published 2025-12-08.
How severe is CVE-2025-65548?
Critical severity. CVSS v3 base score is 9.1 out of 10.