Live threats

All CVEs / bitcoinjs

CVE-2026-107853bitcoinjs tiny-secp256k1

Medium 6.3 No auth needed

Priority
58
CVSS 4.0
6.3
EPSS
—
Auth required
No
Published
Nov 17, 2026
Updated
Nov 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-252
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/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

What happens

tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. From 2.1.0 until 2.2.5 for tiny-secp256k1 and from 2.2.2 until 2.2.5 for @bitcoin-js/tiny-secp256k1-asmjs, the three-argument xOnlyPointAddTweakCheck path ignores the backend failure return from xOnlyPointAddTweak when a tweak produces the point at infinity. The shared X_ONLY_PUBLIC_KEY_INPUT buffer then still contains the original point, so a caller-controlled resultToCheck equal to that point can make the stale-buffer comparison return true even though no tweaked key exists. Protocols that rely on this helper to validate caller-controlled internal keys, tweaks, and comparison values can accept an invalid derived key. This issue is fixed in version 2.2.5.

Original NVD text.

What to do

  1. Apply the vendor's security update for tiny-secp256k1.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @bitcoin-js/tiny-secp256k1-asmjs ≥ 2.2.2 < 2.2.5 2.2.5 npm install @bitcoin-js/tiny-secp256k1-asmjs@2.2.5
npm tiny-secp256k1 ≥ 2.1.0 < 2.2.5 2.2.5 npm install tiny-secp256k1@2.2.5

Per OSV / GitHub Advisories (GHSA-hj9c-qx2w-g7mh). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.