Skip to main content
CVE-2026-45783VulnerabilityPublished 06/10/2026

CVE-2026-45783: CWE-20: Improper Input Validation in libp2p js-libp2p

Affects libp2p js-libp2pSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High · fixed in 16.2.6 : patch libp2p js-libp2p soon.

Data as of 10/24/2026, 22:16:03 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Exploitation

Not in CISA KEV, no exploitation reported

EPSS
0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 16.2.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

Affected software

ProductAffectedFixed in
libp2pjs-libp2pAffected
  • <16.2.6
Fixed in
  • 16.2.6
npm@libp2p/kad-dhtpkg:npm/@libp2p/kad-dhtOther threatsAffected
  • <16.2.6
Fixed in
  • 16.2.6

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

AI-suggested

Upgrade js-libp2p to version 16.2.6 or later, where this vulnerability is patched. There is no indication of alternative mitigations or temporary fixes. Patch status is confirmed by the vendor advisory stating the fix is in version 16.2.6.

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.

Impact

An attacker can cause a denial of service by exhausting the disk storage of a vulnerable node, making the node unavailable. There is no confidentiality or integrity impact reported. The attack requires no authentication or protocol deviation beyond sending crafted keys. This can disrupt network operations relying on the affected node.

Weaknesses

References

Community reviews

Loading reviews…