Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 72%

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

0
High
VulnerabilityCVE-2026-45783cvecve-2026-45783cwe-20cwe-400
Published: 06/10/2026 (06/10/2026, 21:09:40 UTC)
Source: CVE Database V5
Vendor/Project: libp2p
Product: js-libp2p

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

@libp2p/kad-dht
pkg:npm/@libp2p/kad-dht
Affected versions
<16.2.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/10/2026, 22:00:35 UTC

Technical Analysis

The vulnerability CVE-2026-45783 in js-libp2p (a JavaScript implementation of the libp2p networking stack) involves improper input validation (CWE-20) leading to resource exhaustion (CWE-400). Specifically, before version 16.2.6, an unauthenticated remote peer can send an unlimited number of PUT_VALUE messages with crafted keys that bypass content validation to any @libp2p/kad-dht node running in server mode. This causes the victim node's datastore to fill up, exhausting disk storage and rendering the node unavailable. No credentials or prior relationship are required to exploit this vulnerability. The issue is addressed by patching to version 16.2.6.

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

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-13T07:45:21.252Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a29dafc318757064995942d

Added to database: 06/10/2026, 21:45:32 UTC

Last enriched: 06/10/2026, 22:00:35 UTC

Last updated: 07/19/2026, 05:26:46 UTC

Views: 78

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses