# CVE-2025-65548: NUT-14 allows cashu tokens to be created with a preimage hash.

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2025-12-08T00:00:00.000Z
- Modified: 2026-10-18T14:10:00.110Z
- Also known as: PYSEC-2025-89
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cashu nutshell: before 0.18.0
- cashu (PyPI): before 0.18.0

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/cashubtc/nuts/blob/main/14.md> (exploit, evidence, third-party-advisory)
- <https://github.com/cashubtc/nuts/blob/main/07.md> (exploit, evidence, third-party-advisory)
- <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, evidence, third-party-advisory)
- <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://preimage007.github.io/> (product, web)

## Sources

- CVE List: [CVE-2025-65548](https://www.cve.org/CVERecord?id=CVE-2025-65548), CVE Terms of Use, modified 2025-12-11
- NVD: [CVE-2025-65548](https://nvd.nist.gov/vuln/detail/CVE-2025-65548), Public domain, modified 2026-10-18
- PyPA Advisory Database: [PYSEC-2025-89](https://osv.dev/vulnerability/PYSEC-2025-89), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-65548 · Whole record: https://cve.day/CVE-2025-65548.json · Rebuilt by cve.day 2026-11-25T22:59:08.449Z
