Skip to main content
← All vulnerabilities
CVE-2025-65548PYSEC-2025-89

NUT-14 allows cashu tokens to be created with a preimage hash.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • cashuPyPI

    fixed in 0.18.0

References 6

delvingbitcoin.org

GitHub · cashubtc/nuts

preimage007.github.io

GitHub · jamesob/delving-bitcoin-archive

bitcointalk.org