8.7

CVE-2026-33040: libp2p rust-libp2p Integer Overflow or Wraparound

CVSS: 8.7v4.0HighAnalyzed
AliasesUBUNTU-CVE-2026-33040GHSA-gc42-3jg7-rxr2
Published 20-03-2026Last modified 20-03-2026

Vulnerability summary

CVE-2026-33040 is a high (CVSS 8.7) Integer Overflow or Wraparound vulnerability in libp2p rust-libp2p. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 45.7% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.56%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 20-03-2026
    PublishedVulnerability first disclosed.
  2. 20-03-2026
    Last modifiedVulnerability information updated.

Description

libp2p-rust is the official rust language Implementation of the libp2p networking stack. In versions prior to 0.49.3, the Gossipsub implementation accepts attacker-controlled PRUNE backoff values and may perform unchecked time arithmetic when storing backoff state. A specially crafted PRUNE control message with an extremely large backoff (e.g. u64::MAX) can lead to Duration/Instant overflow during backoff update logic, triggering a panic in the networking state machine. This is remotely reachable over a normal libp2p connection and does not require authentication. Any application exposing a libp2p Gossipsub listener and using the affected backoff-handling path can be crashed by a network attacker that can reach the service port. The attack can be repeated by reconnecting and replaying the crafted control message. This issue has been fixed in version 0.49.3.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.56%

Chance of exploitation in the next 30 days

Percentile

46%

Versus all other CVEs

30-day change

0.00 pp

From 0.57% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.56%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Crates.Io1 product
  • libp2p-gossipsub< 0.49.3
Libp2p1 product
Protocol1 product
Ubuntu1 product
  • rust-libp2p-identityAll versions (No fix recorded)

4 vendors · 4 products

References

5 links