Skip to content
RedCVE

CVE-2026-107853Bitcoinjs Tiny-secp256k1 unchecked return value

bitcoinjsPublished:

CVSS score

6.3

Medium

CVSS 4.0 from github.com

Exploit probability (EPSS)

0.44%

0.44% chance of exploitation in the next 30 days, higher than 38.7% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running bitcoinjs Tiny-secp256k1, bitcoinjs Iny-secp256k1-asmjs and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Tiny-secp256k1, Iny-secp256k1-asmjs to 2.2.5 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. 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

Affected products

Affected productsVersions
bitcoinjs Tiny-secp256k1>= 2.1.0, < 2.2.5
bitcoinjs Iny-secp256k1-asmjs>= 2.2.2, < 2.2.5

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-107853 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-107853?

CVE-2026-107853 has a CVSS 4.0 base score of 6.3 (medium).

Which versions are affected?

Bitcoinjs Tiny-secp256k1 (>= 2.1.0, < 2.2.5), Bitcoinjs Iny-secp256k1-asmjs (>= 2.2.2, < 2.2.5)

Is there a patch for CVE-2026-107853?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.