{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-107846","published":"2026-11-04T19:17:18.130000Z","last_modified":"2026-11-12T20:04:52.377000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":9.3,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-354"],"cpes":[],"cpes_truncated":false,"vendors":["bitcoinjs"],"products":["bitcoinjs/bitcoinjs-lib"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8vv3-6qpc-gpw6","ecosystem":"npm","name":"bitcoinjs-lib","purl":"pkg:npm/bitcoinjs-lib","ranges":[{"introduced":"2.3.0","fixed":"5.2.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-8vv3-6qpc-gpw6","ecosystem":"npm","name":"bitcoinjs-lib","purl":"pkg:npm/bitcoinjs-lib","ranges":[{"introduced":"6.0.0","fixed":"6.1.8"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-8vv3-6qpc-gpw6","ecosystem":"npm","name":"bitcoinjs-lib","purl":"pkg:npm/bitcoinjs-lib","ranges":[{"introduced":"7.0.0-rc.0","fixed":"7.0.2"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2026-107846/","html_en":"/en/cve/CVE-2026-107846/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107846","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107846"},"untrusted":{"vendor_name":"bitcoinjs","product_name":"bitcoinjs-lib","desc_en":"bitcoinjs-lib is a JavaScript Bitcoin library for Node.js and browsers. From 2.3.0 until 5.2.1, 6.1.8, and 7.0.2, fastMerkleRoot pads odd Merkle-tree levels by hashing the final node with itself but does not report adjacent duplicate hashes. The affected block-root verifier was introduced as Block.checkMerkleRoot() alongside Block.calculateMerkleRoot(), while later versions expose validation through checkTxRoots() and __checkMerkleRoot; these validation paths can accept a recomputed root without checking for mutation. A peer can append duplicate transactions so a different transaction list retains the original Merkle root, block header, proof of work, and block identifier. Consumers that rely on block-root validation, including explorers, exchange indexers, or SPV clients, can process a duplicated transaction twice or blacklist the shared block hash and reject the honest block. This issue is fixed in versions 5.2.1, 6.1.8, and 7.0.2.","affected":[{"untrusted_vendor":"bitcoinjs","untrusted_product":"bitcoinjs-lib"}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"ad5a5f4f2a0c10f034d85ab5380ef558","generated":"2026-11-26T23:22:49.581636Z","es":{"untrusted_title":"Validación incorrecta de raíz de Merkle en bitcoinjs-lib","untrusted_summary":"bitcoinjs-lib versiones 2.3.0 a 5.2.0, 6.1.7 y 7.0.1 contienen un defecto en la función fastMerkleRoot que no detecta hashes duplicados adyacentes al rellenar niveles impares del árbol de Merkle. Un atacante remoto puede añadir transacciones duplicadas para que una lista de transacciones diferente mantenga la raíz de Merkle original, permitiendo que exploradores, indexadores de intercambios o clientes SPV procesen transacciones duplicadas o rechacen bloques válidos."},"en":{"untrusted_title":"Improper Merkle root validation in bitcoinjs-lib","untrusted_summary":"bitcoinjs-lib versions 2.3.0 through 5.2.0, 6.1.7, and 7.0.1 contain a flaw in the fastMerkleRoot function that fails to detect adjacent duplicate hashes when padding odd Merkle-tree levels. A remote attacker can append duplicate transactions so a different transaction list retains the original Merkle root, allowing block explorers, exchange indexers, or SPV clients to process duplicate transactions or reject valid blocks."},"remediation":{"status":"fix","fixed_versions":["5.2.1","6.1.8","7.0.2"],"untrusted_action_es":"Actualiza bitcoinjs-lib a versión 5.2.1, 6.1.8 o 7.0.2 según la rama que uses.","untrusted_action_en":"Update bitcoinjs-lib to version 5.2.1, 6.1.8, or 7.0.2 depending on your branch.","vendor_url":"https://github.com/bitcoinjs/bitcoinjs-lib/security/advisories/GHSA-8vv3-6qpc-gpw6"},"reviewed":false},"references":[{"url":"https://github.com/bitcoinjs/bitcoinjs-lib/commit/009f165edfbf925cad8964b2dce478d18dd19449","tags":[]},{"url":"https://github.com/bitcoinjs/bitcoinjs-lib/commit/b79c7714c0687473dc6e25c69fc5fc597302c7a0","tags":[]},{"url":"https://github.com/bitcoinjs/bitcoinjs-lib/commit/f3434d1e4bb5e0784fe769c4cd08a243576232a1","tags":[]},{"url":"https://github.com/bitcoinjs/bitcoinjs-lib/security/advisories/GHSA-8vv3-6qpc-gpw6","tags":[]}]}}