Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-107846
Published:November 04, 2026
Updated:November 06, 2026
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 Packages
https://github.com/bitcoinjs/bitcoinjs-lib.git (GITHUB):
Affected version(s) >=v7.0.0-rc.0 <v7.0.2
Fix Suggestion:
Update to version v7.0.2
https://github.com/bitcoinjs/bitcoinjs-lib.git (GITHUB):
Affected version(s) >=v6.0.0 <v6.1.8
Fix Suggestion:
Update to version v6.1.8
https://github.com/bitcoinjs/bitcoinjs-lib.git (GITHUB):
Affected version(s) =v2.3.0 <v5.2.1 || >=v3.0.0 <v5.2.1 || >=v4.0.0 <v5.2.1 || >=v5.0.0 <v5.2.1
Fix Suggestion:
Update to version v5.2.1
bitcoinjs-lib (NPM):
Affected version(s) >=5.0.0 <5.2.1 || =2.3.0 <5.2.1 || >=3.0.0 <5.2.1 || >=4.0.1 <5.2.1
Fix Suggestion:
Update to version 5.2.1
bitcoinjs-lib (NPM):
Affected version(s) >=7.0.0-rc.0 <7.0.2
Fix Suggestion:
Update to version 7.0.2
bitcoinjs-lib (NPM):
Affected version(s) >=6.0.0 <6.1.8
Fix Suggestion:
Update to version 6.1.8
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Validation of Integrity Check Value
EPSS
Base Score:
0.18