CVE-2026-34063CWE-617

network-libp2p: Peer can crash the node by opening discovery protocol substream twice

High · published April 22, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
49.0
In the wild
Unconfirmed
What it is

Nimiq's network-libp2p is a Nimiq network implementation based on libp2p. Prior to version 1.3.0, `network-libp2p` discovery uses a libp2p `ConnectionHandler` state machine. the handler assumes there is at most one inbound and one outbound discovery substream per connection. if a remote peer opens/negotiate the discovery protocol substream a second time on the same connection, the handler hits a `panic!(\"Inbound already connected\")` / `panic!(\"Outbound already connected\")` path instead of failing closed. This causes a remote crash of the networking task (swarm), taking the node's p2p networking offline until restart. The patch for this vulnerability is formally released as part of v1.3.0. No known workarounds are available.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00620 · 49.0th percentile
Weakness
CWE-617 · Reachable Assertion
Published
2026-04-22T19:40Z
EPSS history
Timeline
  • 22 APR 19:40Z
    network-libp2p: Peer can crash the node by opening discovery protocol substream twice
    cvelistv5