CVE-2026-35468
JSON

5.3medium

nimiq/core-rs-albatross: Panic in history index request handlers when a full node runs without the history index

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.57% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

nimiq/core-rs-albatross is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.3.0, two peer-facing consensus request handlers assume that the history index is always available and call blockchain.history_store.history_index().unwrap() directly. That assumption is false by construction. HistoryStoreProxy::history_index() explicitly returns None for the valid HistoryStoreProxy::WithoutIndex state. when a full node is syncing or otherwise running without the history index, a remote peer can send RequestTransactionsProof or RequestTransactionReceiptsByAddress and trigger an Option::unwrap() panic on the request path. This issue has been patched in version 1.3.0.

Affected

Product or packageVersionsReported by
nimiq core-rs-albatross< 1.3.0CVE List
nimiq nimiq_proof-of-stakeup to 1.2.2NVD

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-252

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

nimiq/core-rs-albatross is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.3.0, two peer-facing consensus request handlers assume that the history index is always available and call blockchain.history_store.history_index().unwrap() directly. That assumption is false by construction. HistoryStoreProxy::history_index() explicitly returns None for the valid HistoryStoreProxy::WithoutIndex state. when a full node is syncing or otherwise running without the history index, a remote peer can send RequestTransactionsProof or RequestTransactionReceiptsByAddress and trigger an Option::unwrap() panic on the request path. This issue has been patched in version 1.3.0.

NVD (es)

nimiq/core-rs-albatross es una implementación en Rust del protocolo Nimiq Proof-of-Stake basado en el algoritmo de consenso Albatross. Antes de la versión 1.3.0, dos manejadores de solicitudes de consenso orientados a pares asumen que el índice de historial siempre está disponible y llaman directamente a blockchain.history_store.history_index().unwrap(). Esa suposición es falsa por construcción. HistoryStoreProxy::history_index() devuelve explícitamente None para el estado válido HistoryStoreProxy::WithoutIndex. Cuando un nodo completo está sincronizando o de otro modo ejecutándose sin el índice de historial, un par remoto puede enviar RequestTransactionsProof o RequestTransactionReceiptsByAddress y desencadenar un pánico de Option::unwrap() en la ruta de solicitud. Este problema ha sido parcheado en la versión 1.3.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-35468 changed 2026-04-06CVE Terms of Use
NVDCVE-2026-35468 changed 2026-07-24Public domain