BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-40094 in Block products

Medium 4.3

nimiq-blockchain provides persistent block storage for Nimiq's Rust implementation. In versions 1.3.0 and prior, network-libp2p discovery accepts signed PeerContact updates from untrusted peers and stores them in a peer contact book, eventually leading to address book crash. A PeerContact can legally contain an empt...

Affects 0 products from 6 vendors. Facts below cite their sources.

CVSS 3.14.3
EPSS0.4%
EPSS percentile26th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Block — —
Client — —
Intrinsic — —
Libp2P — —
Nimiq — —
Panic — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

nimiq-blockchain provides persistent block storage for Nimiq's Rust implementation. In versions 1.3.0 and prior, network-libp2p discovery accepts signed PeerContact updates from untrusted peers and stores them in a peer contact book, eventually leading to address book crash. A PeerContact can legally contain an empty addresses list (no intrinsic validation enforces non-empty). Later, PeerContactBook::known_peers builds an address book by taking addresses.first().expect("every peer should have at least one address"). If the attacker has inserted a signed peer contact with addresses=[], any call to get_address_book (RPC/web client) can panic and crash the node/RPC task depending on panic settings. This issue has been fixed in version 1.4.0.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-40094
BreachSpider IDBS-2026-GLOBAL-268905-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Published2026-05-20
Last modified2026-05-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-754: CWE-754

Analysis AI-written, not human-reviewed

CVE-2026-40094 affects nimiq-blockchain versions 1.3.0 and prior, where network-libp2p discovery accepts signed PeerContact updates from untrusted peers, potentially leading to an address book crash due to an empty addresses list in PeerContact.

An attacker can send a signed PeerContact update with an empty addresses list to the network-libp2p discovery component, which will store it in the peer contact book. This can cause the address book to crash, disrupting network operations.

Questions

What is CVE-2026-40094?

CVE-2026-40094 affects nimiq-blockchain versions 1.3.0 and prior, where network-libp2p discovery accepts signed PeerContact updates from untrusted peers, potentially leading to an address book crash due to an empty addresses list in PeerContact.

What is the CVSS score for CVE-2026-40094?

CVE-2026-40094 has CVSS 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L. EPSS: 0.4%.

Is CVE-2026-40094 actively exploited?

No confirmed active exploitation of CVE-2026-40094 as of 2026-05-30.

How do I remediate CVE-2026-40094?

Priority: MEDIUM.

What systems are affected by CVE-2026-40094?

CVE-2026-40094 affects Block; Client; Intrinsic; Libp2P; Nimiq; Panic.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Block","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-21.