CVE-2025-47270 Details
Description
nimiq/core-rs-albatross is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. The `nimiq-network-libp2p` subcrate of nimiq/core-rs-albatross is vulnerable to a Denial of Service (DoS) attack due to uncontrolled memory allocation. Specifically, the implementation of the `Discovery` network message handling allocates a buffer based on a length value provided by the peer, without enforcing an upper bound. Since this length is a `u32`, a peer can trigger allocations of up to 4 GB, potentially leading to memory exhaustion and node crashes. As Discovery messages are regularly exchanged for peer discovery, this vulnerability can be exploited repeatedly. The patch for this vulnerability is formally released as part of v1.1.0. The patch implements a limit to the discovery message size of 1 MB and also resizes the message buffer size incrementally as the data is read. No known workarounds are available.
A denial-of-service vulnerability has been identified in the 'nimiq/network-libp2p' subcrate of the Nimiq Proof-of-Stake client implementation. This issue arises from uncontrolled memory allocation in the 'Discovery' network message handling, where a buffer is allocated based on a length value provided by the peer, without enforcing an upper limit. As a result, a peer can cause allocations of up to 4 GB, leading to memory exhaustion and node crashes. This vulnerability can be repeatedly exploited, as Discovery messages are frequently exchanged for peer discovery.
Users can upgrade to version 1.1.0 or later, where this vulnerability has been patched by limiting the discovery message size to 1 MB and implementing a mechanism to resize the message buffer incrementally as data is read.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 12, 2025CISA-ADP
Assessed May 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nimiq/core-rs-albatross | All versions |
CPE
Remediation
| |
| nimiq-network-libp2p | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 6, 2026 | CVE Modified | [email protected] |
| May 12, 2025 | New CVE Received | [email protected] |
Volerion