Skip to content

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 t...

CriticalCVSS 9.1 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
cashu nutshell < 0.18.0 0.18.0 Fixed
pypi cashu(PyPI) < 0.18.0; = 0.1; = 0.1.1; = 0.1.2 +56 more 0.18.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi cashu(PyPI) < 0.18.0 0.18.0
pypi cashu(PyPI) = 0.1 No fix listed
pypi cashu(PyPI) = 0.1.1 No fix listed
pypi cashu(PyPI) = 0.1.10 No fix listed
pypi cashu(PyPI) = 0.1.2 No fix listed
pypi cashu(PyPI) = 0.1.3 No fix listed
pypi cashu(PyPI) = 0.1.4 No fix listed
pypi cashu(PyPI) = 0.1.5 No fix listed
pypi cashu(PyPI) = 0.1.6 No fix listed
pypi cashu(PyPI) = 0.1.7 No fix listed
pypi cashu(PyPI) = 0.1.8 No fix listed
pypi cashu(PyPI) = 0.1.9 No fix listed
pypi cashu(PyPI) = 0.10.0 No fix listed
pypi cashu(PyPI) = 0.11.0 No fix listed
pypi cashu(PyPI) = 0.12.0 No fix listed
pypi cashu(PyPI) = 0.12.1 No fix listed
pypi cashu(PyPI) = 0.12.3 No fix listed
pypi cashu(PyPI) = 0.13.0 No fix listed
pypi cashu(PyPI) = 0.14.0 No fix listed
pypi cashu(PyPI) = 0.14.1 No fix listed
pypi cashu(PyPI) = 0.15.0 No fix listed
pypi cashu(PyPI) = 0.15.1 No fix listed
pypi cashu(PyPI) = 0.15.2 No fix listed
pypi cashu(PyPI) = 0.15.3 No fix listed
pypi cashu(PyPI) = 0.16.0 No fix listed
Show 36 more
ProductAffected versionsFixed in
pypi cashu(PyPI) = 0.16.1 No fix listed
pypi cashu(PyPI) = 0.16.2 No fix listed
pypi cashu(PyPI) = 0.16.3 No fix listed
pypi cashu(PyPI) = 0.16.4 No fix listed
pypi cashu(PyPI) = 0.16.5 No fix listed
pypi cashu(PyPI) = 0.17.0 No fix listed
pypi cashu(PyPI) = 0.2.0 No fix listed
pypi cashu(PyPI) = 0.2.1 No fix listed
pypi cashu(PyPI) = 0.2.2 No fix listed
pypi cashu(PyPI) = 0.2.3 No fix listed
pypi cashu(PyPI) = 0.2.4 No fix listed
pypi cashu(PyPI) = 0.2.5 No fix listed
pypi cashu(PyPI) = 0.2.6 No fix listed
pypi cashu(PyPI) = 0.3.0 No fix listed
pypi cashu(PyPI) = 0.3.1 No fix listed
pypi cashu(PyPI) = 0.3.2 No fix listed
pypi cashu(PyPI) = 0.4.0 No fix listed
pypi cashu(PyPI) = 0.4.1 No fix listed
pypi cashu(PyPI) = 0.4.2 No fix listed
pypi cashu(PyPI) = 0.5.0 No fix listed
pypi cashu(PyPI) = 0.5.1 No fix listed
pypi cashu(PyPI) = 0.5.3 No fix listed
pypi cashu(PyPI) = 0.5.4 No fix listed
pypi cashu(PyPI) = 0.5.5 No fix listed
pypi cashu(PyPI) = 0.6.0 No fix listed
pypi cashu(PyPI) = 0.7.0 No fix listed
pypi cashu(PyPI) = 0.8 No fix listed
pypi cashu(PyPI) = 0.8.1 No fix listed
pypi cashu(PyPI) = 0.8.2 No fix listed
pypi cashu(PyPI) = 0.8.3 No fix listed
pypi cashu(PyPI) = 0.9.0 No fix listed
pypi cashu(PyPI) = 0.9.1 No fix listed
pypi cashu(PyPI) = 0.9.2 No fix listed
pypi cashu(PyPI) = 0.9.3 No fix listed
pypi cashu(PyPI) = 0.9.4 No fix listed
cashu nutshell < 0.18.0 0.18.0

References