PT-2026-125875
CVE-2026-107846
·
Published
2026-10-27
·
Updated
2026-11-12
Description by
CVSS 4.0
9.3
CriticalMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:H/SA:H
Name of the Vulnerable Software and Affected Versions
bitcoinjs-lib versions 2.3.0 through 5.2.0
bitcoinjs-lib versions 6.0.0 through 6.1.7
bitcoinjs-lib versions 7.0.0 through 7.0.1
Description
The
fastMerkleRoot function pads odd Merkle-tree levels by hashing the final node with itself but fails to report adjacent duplicate hashes. This allows a remote attacker to append duplicate transactions to a block while maintaining the original Merkle root, block header, proof of work, and block identifier. The issue affects validation paths such as Block.checkMerkleRoot(), Block.calculateMerkleRoot(), checkTxRoots(), and checkMerkleRoot, which may accept a recomputed root without detecting mutation. Consequently, consumers relying on block-root validation, such as exchange indexers, explorers, or Simplified Payment Verification (SPV) clients, might process a duplicated transaction twice or reject an honest block by blacklisting the shared block hash.Recommendations
Update to version 5.2.1
Update to version 6.1.8
Update to version 7.0.2
Found an issue in the description? Have something to add? Feel free to write us 👾