CVE-2026-45783

libp2p: Unvalidated PUT_VALUE records allow unbounded disk exhaustion on DHT server nodes

State
Published
Severity
7.5 High
Published
Jun 10, 2026
Updated
Jun 11, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
js-libp2plibp2p
  • < 16.2.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.