CVE-2026-34063 network-libp2p: Peer can crash the node by opening discovery protocol substream twice
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nimiq proof-of-stake | < 1.3.0 | 1.3.0 | Fixed |
| nimiq network-libp2p | = < 1.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nimiq network-libp2p | = < 1.3.0 | No fix listed |
| nimiq proof-of-stake | < 1.3.0 | 1.3.0 |
References
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-74hp-mhfx-m45h patch vendor-advisory
- https://github.com/nimiq/core-rs-albatross/pull/3666 issue-tracking patch
- https://github.com/nimiq/core-rs-albatross/commit/e0d4e01994f061bf41d3c2835bc74040d3c084f5 patch
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0 release-notes