Skip to main content
VulnerabilityPublished Updated

CVE-2025-65548: nuts · Improper Validation of Specified Quantity in Input

Affects nutsSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical : upgrade to 0.18.0 as a priority.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.18.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade cashubtc/nuts to 0.18.0.

Affected software

ProductAffectedFixed in
GitHubcashubtc/nutspkg:github/cashubtc/nutsOther threatsAffected
  • <0.18.0
Fixed in
  • 0.18.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade nutshell to version 0.18.0 or later, where proper validation of preimage sizes is enforced. Until an upgrade is possible, organizations should implement input validation at the application or network layer to restrict the size of preimage data accepted by the mint. Rate limiting and anomaly detection mechanisms should be deployed to identify and block abnormal token spend requests with unusually large preimages. Monitoring disk usage and database growth closely can provide early warning signs of exploitation attempts. Additionally, segregating the mint’s database storage on dedicated volumes with quota management can limit the impact of resource exhaustion. Organizations should also review and harden their incident response plans to address potential denial-of-service scenarios related to this vulnerability. Engaging with the nutshell vendor or community for patches and security advisories is recommended to stay updated on fixes and best practices.

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.

References

Community reviews

Loading reviews…