CVE-2026-45783 libp2p: Unvalidated PUT_VALUE records allow unbounded disk exhaustion on DHT server nodes

High 7.5 Published Updated

Remote attackers can exhaust disk space on libp2p DHT server nodes by sending unvalidated PUT_VALUE messages, 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-2026-45783?

CVE-2026-45783 is a high-severity denial of service vulnerability in js-libp2p, published on 10 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libp2p is a JavaScript Implementation of libp2p networking stack. Prior to version 16.2.6, an unauthenticated remote peer can exhaust the disk storage of any @libp2p/kad-dht node running in server mode by sending an unbounded stream of PUT_VALUE messages whose keys bypass all content validation. No credentials, no prior relationship, and no protocol deviation beyond a crafted key are required. The victim node's datastore fills until the host disk is exhausted, making the node unavailable. This issue has been patched in version 16.2.6.

Weakness: CWE-400, CWE-20

Which versions are affected by CVE-2026-45783?

2 open source packages ship an affected version, including @libp2p/kad-dht.

PackageAffectedFixed in
@libp2p/kad-dht npmAll versions16.2.6
@libp2p/kad-dht npmAll versions16.2.6

How do I fix CVE-2026-45783?

Upgrade @libp2p/kad-dht to 16.2.6 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-2026-45783 being exploited?

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

Sources

Also known as GHSA-32mq-hpph-xfvr.

Is CVE-2026-45783 in your software?

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

Check your SBOMs for free