{"id":"CVE-2026-107853","published":"2026-11-17T19:23:43Z","modified":"2026-11-18T16:42:48Z","title":"tiny-secp256k1: Stale buffer after ignored wasm failure accepts invalid infinity tweak","vendor":"bitcoinjs","product":"tiny-secp256k1","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00436,"percentile":0.38691,"provenance":"source"},"cwes":[{"id":"CWE-252","name":"Unchecked Return Value"}],"references":[{"url":"https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-hj9c-qx2w-g7mh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bitcoinjs/tiny-secp256k1/commit/ba1af1fceea95967a172c6438ed9302730bb7c01","tags":["x_refsource_MISC"]},{"url":"https://github.com/bitcoinjs/tiny-secp256k1/releases/tag/v2.2.5","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":7.74},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/googlesky/CVE-2026-107853","repos":[{"name":"googlesky/CVE-2026-107853","url":"https://github.com/googlesky/CVE-2026-107853","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-107853"},"provenance":"source"},"vendorSlug":"bitcoinjs","affectedVersions":[{"vendor":"bitcoinjs","product":"tiny-secp256k1","versions":[">= 2.1.0, < 2.2.5"]},{"vendor":"@bitcoin-js","product":"iny-secp256k1-asmjs","versions":[">= 2.2.2, < 2.2.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-18T16:41:35.251650Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tiny-secp256k1","vulnerableRanges":[">=2.1.0, <2.2.5"],"patched":["2.2.5"],"from":["GHSA-hj9c-qx2w-g7mh"],"provenance":"source"},{"ecosystem":"npm","package":"@bitcoin-js/tiny-secp256k1-asmjs","vulnerableRanges":[">=2.2.2, <2.2.5"],"patched":["2.2.5"],"from":["GHSA-hj9c-qx2w-g7mh"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-127356","exploited":false,"provenance":"source"}}