CVE-2025-65548
CVE-2025-65548
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.1 · Critical · EPSS 0.4% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
cashu PyPI
- 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
- Affected ranges
- ECOSYSTEM: < 0.18.0
Update to 0.18.0
Original sources
- https://delvingbitcoin.org/t/public-disclosure-denial-of-service-using-htlc-in-cashu/2090
- https://github.com/cashubtc/nuts/blob/main/14.md
- https://github.com/cashubtc/nuts/blob/main/07.md
- https://preimage007.github.io/
- 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
- https://bitcointalk.org/index.php?topic=5564329
- https://nvd.nist.gov/vuln/detail/CVE-2025-65548