{"id":"CVE-2026-34069","aliases":["CVE-2026-34069","GHSA-48m6-486p-9j8p"],"related":[],"kind":"vulnerability","state":"published","title":"nimiq-consensus panics via RequestMacroChain micro-block locator","summary":"nimiq/core-rs-albatross is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. In versions 1.2.2 and below, an unauthenticated p2p peer can cause the RequestMacroChain message handler task to panic. Sending a RequestMacroChain message where the first locator hash on the victim’s main chain is a micro block hash (not a macro block hash) causes said panic. The RequestMacroChain::handle handler selects the locator based only on \"is on main chain\", then calls get_macro_blocks() and panics via .unwrap() when the selected hash is not a macro block (BlockchainError::BlockIsNotMacro). This issue has been fixed in version 1.3.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"nimiq/core-rs-albatross is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. In versions 1.2.2 and below, an unauthenticated p2p peer can cause the RequestMacroChain message handler task to panic. Sending a RequestMacroChain message where the first locator hash on the victim’s main chain is a micro block hash (not a macro block hash) causes said panic. The RequestMacroChain::handle handler selects the locator based only on \"is on main chain\", then calls get_macro_blocks() and panics via .unwrap() when the selected hash is not a macro block (BlockchainError::BlockIsNotMacro). This issue has been fixed in version 1.3.0.","source":"cvelist"},{"lang":"en","text":"### Impact\n An unauthenticated p2p peer can cause the `RequestMacroChain` message handler task to panic by sending a `RequestMacroChain` message where the first locator hash that is on the victim’s main chain is a micro block hash (not a macro block hash).\n\nIn `RequestMacroChain::handle`, the handler selects the locator based only on \"is on main chain\", then calls `get_macro_blocks()` and panics via `.unwrap()` when the selected hash is not a macro block (`BlockchainError::BlockIsNotMacro`).\n\n### Patches\nThe patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/pull/3660) is formally released as part of [v1.3.0](https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0).\n\n### Workarounds\nNo known workarounds.","format":"markdown","source":"ghsa"},{"lang":"es","text":"nimiq/core-rs-albatross es una implementación en Rust del protocolo Nimiq Proof-of-Stake basado en el algoritmo de consenso Albatross. En las versiones 1.2.2 e inferiores, un par p2p no autenticado puede provocar que la tarea del gestor de mensajes RequestMacroChain entre en pánico. Enviar un mensaje RequestMacroChain donde el primer hash localizador en la cadena principal de la víctima es un hash de microbloque (no un hash de macrobloque) provoca dicho pánico. El gestor RequestMacroChain::handle selecciona el localizador basándose únicamente en ’is on main chain’, luego llama a get_macro_blocks() y entra en pánico a través de .unwrap() cuando el hash seleccionado no es un macrobloque (BlockchainError::BlockIsNotMacro). Este problema ha sido solucionado en la versión 1.3.0.","source":"nvd"}],"published":"2026-04-13T16:36:00.000Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-617"],"affected":[{"ranges":[{"version":"< 1.3.0","status":"affected"}],"vendor":"nimiq","product":"core-rs-albatross","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.2.2"}],"ecosystem":"crates.io","package":"nimiq-consensus","purl":"pkg:cargo/nimiq-consensus","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.0"}],"vendor":"nimiq","product":"nimiq_proof-of-stake","cpe":"cpe:2.3:a:nimiq:nimiq_proof-of-stake:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-48m6-486p-9j8p","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross/pull/3660","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross/commit/ae6c1e92342e72f80fd12accbe66ee80dd6802ac","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34069","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nimiq/core-rs-albatross","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-14T15:35:06.474Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34069","url":"https://www.cve.org/CVERecord?id=CVE-2026-34069","licence":"CVE Terms of Use","modified":"2026-04-14T16:28:14.091Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-48m6-486p-9j8p","url":"https://github.com/advisories/GHSA-48m6-486p-9j8p","licence":"CC-BY-4.0","modified":"2026-04-15T21:04:55.230Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34069","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34069","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.660Z","epss":{"score":0.00315,"percentile":0.26363,"date":"2026-12-01T12:00:22.000Z"}}