CVE-2025-65548CWE-1284

CVE-2025-65548

Critical · published December 9, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
34.9
In the wild
Unconfirmed
What it is

🚨 An exploited preimage hash in NUT-14 is a recipe for disaster! Attackers can create cashu tokens that fill the mint's database with junk data, causing chaos in no time! 🔥 Picture a restaurant that accepts any dish order without checking if it's even on the menu — they end up with a kitchen overflowing with unidentifiable meals that nobody can eat! That's what happens with NUT-14 when the preimage size isn't validated! If this vulnerability is exploited, an attacker could bombard the mint's database, leading to potentially catastrophic storage issues and service downtime. This could cripple operations and require extensive cleanup, making it a seriously threatening situation for any system that uses this component.

Put simply

Picture a restaurant that accepts any dish order without checking if it's even on the menu — they end up with a kitchen overflowing with unidentifiable meals that nobody can eat! That's what happens with NUT-14 when the preimage size isn't validated! This vulnerability allows cashu tokens to be created without validating the size of the preimage hash when spent. As a result, attackers can fill the mint's database and disk with arbitrary data, overwhelming the system.

What to do

If this vulnerability is exploited, an attacker could bombard the mint's database, leading to potentially catastrophic storage issues and service downtime. This could cripple operations and require extensive cleanup, making it a seriously threatening situation for any system that uses this component. Upgrade to nuts version 0.18.0 or higher immediately to patch this vulnerability. Implement strict validation on preimage sizes when tokens are spent to prevent exploitation. Regularly monitor your database for unusual data patterns to catch any abuse early! You've got this! Take action now, and you'll keep your systems running smoothly and securely! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00416 · 34.9th percentile
Weakness
CWE-1284 · Improper Validation of Specified Quantity in Input
Published
2025-12-09T00:15Z
Affected products (1)
ProductVersionsFixed in
cashu/nutshell< 0.18.00.18.0
References (8)
EPSS history
Timeline
  • 08 DEC 00:00Z
    NUT-14 allows cashu tokens to be created with a preimage hash
    cvelistv5