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.

Project Subscriptions

Vendors Products
Bitcoinjs Subscribe
Iny-secp256k1-asmjs Subscribe
Tiny-secp256k1 Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hj9c-qx2w-g7mh tiny-secp256k1: Stale buffer after ignored wasm failure accepts invalid infinity tweak
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 19 Nov 2026 09:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 18 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Bitcoinjs
Bitcoinjs iny-secp256k1-asmjs
Bitcoinjs tiny-secp256k1
Vendors & Products Bitcoinjs
Bitcoinjs iny-secp256k1-asmjs
Bitcoinjs tiny-secp256k1

Tue, 17 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title tiny-secp256k1: Stale buffer after ignored wasm failure accepts invalid infinity tweak
Weaknesses CWE-252
References
Metrics cvssV4_0

{'score': 6.3, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-18T16:42:48.233Z

Reserved: 2026-10-08T22:34:49.292Z

Link: CVE-2026-107853

cve-icon Vulnrichment

Updated: 2026-11-18T16:41:45.661Z

cve-icon NVD

Status : Received

Published: 2026-11-17T20:17:35.633

Modified: 2026-11-18T17:17:27.527

Link: CVE-2026-107853

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-18T21:00:32Z

Weaknesses