CVE-2026-46539: nimiq-primitives BlockInclusionProof Interlink Issue When Hops Vulnerability

MODERATE
Advisory Identifier: GHSA-799f-29jm-gr6c
CVSS 5.9
CWE-345
Published
Advisory Summary

CVE-2026-46539 is a MODERATE (CVSS 5.9) blockinclusionproof interlink issue when hops vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting nimiq-primitives libraries in the crates.io ecosystem. The issue involves blockinclusionproof interlink issue when hops are empty. Remediation is available in the latest vendor maintenance releases.

CVE-2026-46539 at a Glance

CVE Identifier CVE-2026-46539
GHSA Identifier GHSA-799f-29jm-gr6c
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-345: Insufficient Verification of Data Authenticity
Affected Product nimiq-primitives
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-46539

To remediate this vulnerability, upgrade all affected nimiq-primitives dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

nimiq-primitives fixed: Latest secure release
Upgrade nimiq-primitives to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for nimiq-primitives

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-46539, inspect your project dependencies for nimiq-primitives:

inspect dependencies for nimiq-primitives

Analyze the terminal output to locate any version of nimiq-primitives in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In nimiq-primitives, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact A logic flaw in `BlockInclusionProof::is_block_proven` causes the function to return true without performing any cryptographic verification when `get_interlink_hops` yields an empty hop list. This occurs when the target block is at the election block position immediately preceding the election head's epoch. An attacker providing transaction inclusion proofs can forge a MacroBlock header for that epoch position and have it accepted as "proven" without any hash or signature verification. ### Patches [The patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/pull/3705) is formally released as part of [v1.4.0](https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0). ### Workarounds No Workarounds ### Resources See [PR](https://github.com/nimiq/core-rs-albatross/pull/3705).

CVE-2026-46539 Affected nimiq-primitives Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
nimiq-primitives
crates.io
≤ 0.2.0

References

Frequently Asked Questions

What is CVE-2026-46539?
CVE-2026-46539 is a security vulnerability in nimiq-primitives involving BlockInclusionProof interlink issue when hops are empty under CWE-345: Insufficient Verification of Data Authenticity.
Which nimiq-primitives versions are affected?
Affected versions include releases prior to current release patches across affected packages: nimiq-primitives.
What version fixes CVE-2026-46539?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is nimiq-primitives affected?
Yes, nimiq-primitives is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-46539?
CVE-2026-46539 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2026-46539?
CVE-2026-46539 is classified under CWE-345: Insufficient Verification of Data Authenticity (The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.).
How can I check crates.io dependencies for CVE-2026-46539?
Run the dependency tree command: 'inspect dependencies for nimiq-primitives'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-799f-29jm-gr6c",
  "modified" : "2026-06-10T13:41:26Z",
  "published" : "2026-05-21T19:38:00Z",
  "aliases" : [ "CVE-2026-46539" ],
  "summary" : "nimiq-primitives: BlockInclusionProof interlink issue when hops are empty",
  "details" : "### Impact\nA logic flaw in `BlockInclusionProof::is_block_proven` causes the function to return true without performing any cryptographic verification when `get_interlink_hops` yields an empty hop list. This occurs when the target block is at the election block position immediately preceding the election head's epoch. An attacker providing transaction inclusion proofs can forge a MacroBlock header for that epoch position and have it accepted as \"proven\" without any hash or signature verification.\n\n### Patches\n[The patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/pull/3705) is formally released as part of [v1.4.0](https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0).\n\n### Workarounds\nNo Workarounds\n\n### Resources\nSee [PR](https://github.com/nimiq/core-rs-albatross/pull/3705).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "nimiq-primitives"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-799f-29jm-gr6c"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-46539"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nimiq/core-rs-albatross/pull/3705"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nimiq/core-rs-albatross/commit/cc5a1d54bbbffd1ea975bd2ee87d5f7b3b30bbf1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/nimiq/core-rs-albatross"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-345" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-21T19:38:00Z",
    "nvd_published_at" : "2026-06-10T00:16:54Z"
  }
}