CVE-2026-107853
tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. From 2.1.0 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/bitcoinjs/tiny-secp256k1/commit/ba1af1fceea95967a172c6438ed9302730bb7c01
- github.com/bitcoinjs/tiny-secp256k1/releases/tag/v2.2.5
- github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-hj9c-qx2w-g7mh
- nvd.nist.gov/vuln/detail/CVE-2026-107853
- github.com/advisories/GHSA-hj9c-qx2w-g7mh
- nvd.nist.gov/vuln/detail/CVE-2026-107853
- cve.org/CVERecord?id=CVE-2026-107853
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.