Security Resilience

CVE-2025-65548

Cashu Nutshell ≤ 0.18.0

Public PoC
Published
08 December 2025
Modified
18 October 2026
Patch / advisory
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0045 39th percentile
Risk Priority 67 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-65548 is a critical-severity Improper Validation of Specified Quantity in Input (CWE-1284) vulnerability in Cashu Nutshell. Its CVSS base score is 9.1 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked at the 39th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-65548 is a vulnerability in the nutshell implementation (cashubtc/nuts) prior to version 0.18.0, stemming from NUT-14's support for creating Cashu tokens backed by a preimage hash. When such a token is spent, the mint stores the provided preimage without validating its size, enabling attackers to supply arbitrarily large data. This leads to denial-of-service via exhaustion of the mint's database and disk storage. The issue is rated at CVSS 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) and maps to CWE-1284 (Improper Validation of Specified Quantity in Input).

The vulnerability is exploitable remotely by unauthenticated attackers (PR:N) with low complexity over the network (AV:N). An attacker can create a Cashu token with a preimage hash, then redeem it by submitting an oversized preimage, causing the mint to store excessive data and potentially crash or render the service unavailable due to storage depletion. The high confidentiality and integrity impacts per CVSS suggest potential for data exposure or corruption alongside the storage DoS.

Advisories reference public disclosures on Bitcointalk and Delving Bitcoin detailing the denial-of-service via HTLC in Cashu, along with NUT specifications in GitHub (nuts/07.md and 14.md). Mitigation involves upgrading nutshell to version 0.18.0 or later, which presumably adds preimage size validation, as the flaw affects only prior releases.

EU & UK References

Vulnerability Data

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…

more

vulnerability to fill the mint's db nd disk with arbitrary data.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
T1657 Financial Theft Impact
Adversaries may steal monetary resources from targets through extortion, social engineering, technical theft, or other methods aimed at their own financial gain at the expense of the availability of these resources for victims.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-101985Shared CWE-1284
CVE-2026-7254Shared CWE-1284
CVE-2026-57062Shared CWE-1284
CVE-2024-0111Shared CWE-1284
CVE-2026-42744Shared CWE-1284
CVE-2024-56716Shared CWE-1284
CVE-2026-11721Shared CWE-1284
CVE-2025-46656Shared CWE-1284
CVE-2026-55952Shared CWE-1284
CVE-2026-11906Shared CWE-1284

Affected Assets

cashu
nutshell
≤ 0.18.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V6.7.2
  • V1.4.2
  • V2.2.1
  • V2.2.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SI-10 requires validity checks on information inputs, directly stopping acceptance of malformed quantities before they can be used.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require proper quantity/length validation in input handling.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect missing quantity validation but does not itself implement the control.

prevents

Secure coding standards require explicit checks on numeric quantity inputs, fully addressing CWE-1284.

finds

A.8.8's reach is DISCLOSURE-based (vulnerability scanning against published advisories and component inventory). CWE-1284 is primarily a first-party input-validation code defect that A.8.8 does not inspect; it is found only where the weakness surfaces as a published CVE in a third-party component, which is a minority of instances.

References