CVE-2025-65548 Denial of service in n/a

Critical 9.1 Published Updated

Attackers can exhaust mint disk space by creating tokens with oversized preimages, causing denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-65548?

CVE-2025-65548 is a critical denial of service vulnerability in n/a, published on 8 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-1284

Which versions are affected by CVE-2025-65548?

1 open source package ship an affected version, including cashu. It affects 1 product.

PackageAffectedFixed in
cashu PyPIAll versions0.18.0

Products include Cashu Nutshell.

How do I fix CVE-2025-65548?

Upgrade cashu to 0.18.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-65548 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65548 exists.

Sources

Also known as GHSA-xwrw-2crp-46q4, PYSEC-2025-89.

Is CVE-2025-65548 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free