CVE-2026-107846

Description

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.

Severity
CRITICAL
CVSS v3
not scored
CVSS v4
9.3
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 · source cna
Exploit chance (EPSS)
0.180%
chance of exploitation in the next 30 days
higher than 7.6% of scored CVEs · 2026-11-18
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2026-11-09

Timeline

  1. 2026-11-04Published by the CNA19:02 UTC
  2. 2026-11-09CISA SSVC decision recorded5 days after publication
  3. 2026-11-10GitHub advisory published (GHSA-8vv3-6qpc-gpw6)6 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-8vv3-6qpc-gpw6, affected packages:

PackageVulnerable versionsFixed in
npm bitcoinjs-libfrom 2.3.0 before 5.2.15.2.1
npm bitcoinjs-libfrom 6.0.0 before 6.1.86.1.8
npm bitcoinjs-libfrom 7.0.0-rc.0 before 7.0.27.0.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
bitcoinjs bitcoinjs-lib

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources