Improper Validation of Syntactic Correctness of Input Affecting @libp2p/kad-dht package, versions <16.2.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-LIBP2PKADDHT-16770413
  • published20 May 2026
  • disclosed19 May 2026
  • creditTahaa Farooq

Introduced: 19 May 2026

NewCVE-2026-45783  (opens in a new tab)
CWE-1286  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade @libp2p/kad-dht to version 16.2.6 or higher.

Overview

@libp2p/kad-dht is a JavaScript implementation of the Kad-DHT for libp2p

Affected versions of this package are vulnerable to Improper Validation of Syntactic Correctness of Input in the verifyRecord() function that leads to the unlimited message processing since rate limits are applied only to successfully received messages. An attacker can exhaust disk storage and render the node unavailable by sending a continuous stream of crafted PUT_VALUE messages with keys that bypass content validation.

CVSS Base Scores

version 4.0
version 3.1