Improper Verification of Cryptographic Signature Affecting @libp2p/gossipsub package, versions >=15.0.0 <16.0.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (8th percentile)

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-LIBP2PGOSSIPSUB-20044966
  • published22 Sept 2026
  • disclosed17 Sept 2026
  • creditAlleysira

Introduced: 17 Sep 2026

NewCVE-2026-86038  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade @libp2p/gossipsub to version 16.0.5 or higher.

Overview

@libp2p/gossipsub is an A typescript implementation of gossipsub

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature in the validateToRawMessage process. An attacker can cause messages to be accepted and propagated as if authored by a victim by supplying a victim's RSA peer ID in msg.from, signing the message with the attacker's private key, and providing the attacker's public key in msg.key. This allows attacker-controlled data to be processed under false origin attribution, potentially impacting validators, authorization, accounting, moderation, reputation, or audit logging.

CVSS Base Scores

version 4.0
version 3.1