GHSA-vghx-352f-93jm

Suggest an improvement
Source
https://github.com/advisories/GHSA-vghx-352f-93jm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-vghx-352f-93jm/GHSA-vghx-352f-93jm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vghx-352f-93jm
Aliases
Published
2026-05-21T19:46:15Z
Modified
2026-06-10T13:45:16Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
nimiq-blockchain: Genesis batch set request
Details

Impact

A remote peer can crash any full node by sending a RequestBatchSet message containing the genesis block's hash. The handler calls get_epoch_chunks which iterates backwards through macro blocks using Policy::macro_block_before. When it reaches the genesis block number, macro_block_before panics with "No macro blocks before genesis block".

Patches

The patch for this vulnerability is formally released as part of v1.5.0.

Workarounds

No Workaround, although requesting the genesis batch set is not used during normal operation.

Resources

See PR.

Database specific
{
    "cwe_ids": [
        "CWE-617"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-21T19:46:15Z",
    "nvd_published_at": "2026-06-10T00:16:54Z",
    "severity": "MODERATE"
}
References

Affected packages

crates.io / nimiq-blockchain

Package

Name
nimiq-blockchain
View open source insights on deps.dev
Purl
pkg:cargo/nimiq-blockchain

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-vghx-352f-93jm/GHSA-vghx-352f-93jm.json"