# CVE-2026-34063: network-libp2p: Peer can crash the node by opening discovery protocol substream twice

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-04-22T19:40:26.837Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nimiq network-libp2p: < 1.3.0
- nimiq nimiq_proof-of-stake: before 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)

## Sources

- CVE List: [CVE-2026-34063](https://www.cve.org/CVERecord?id=CVE-2026-34063), CVE Terms of Use, modified 2026-04-23
- NVD: [CVE-2026-34063](https://nvd.nist.gov/vuln/detail/CVE-2026-34063), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-34063 · Whole record: https://cve.day/CVE-2026-34063.json · Rebuilt by cve.day 2026-11-25T22:59:19.348Z
