{"id":"CVE-2024-49365","published":"2025-07-01T02:07:02Z","modified":"2025-07-01T13:18:55Z","title":"tiny-secp256k1 allows for verify() bypass when running in bundled environment","vendor":"bitcoinjs","product":"tiny-secp256k1","tier":"tail","description":{"text":"tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. Prior to version 1.1.7, a malicious JSON-stringifyable message can be made passing on verify(), when global Buffer is the buffer package. This affects only environments where require('buffer') is the NPM buffer package. Buffer.isBuffer check can be bypassed, resulting in strange objects being accepted as a message, and those messages could trick verify() into returning false-positive true values. This issue has been patched in version 1.1.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00247,"percentile":0.16318,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-5vhg-9xg4-cv9m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bitcoinjs/tiny-secp256k1/pull/140","tags":["x_refsource_MISC"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":3.26},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"bitcoinjs","affectedVersions":[{"vendor":"bitcoinjs","product":"tiny-secp256k1","versions":["< 1.1.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-01T13:18:50.250655Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tiny-secp256k1","vulnerableRanges":["<1.1.7"],"patched":["1.1.7"],"from":["GHSA-5vhg-9xg4-cv9m"],"provenance":"source"}],"summary":{"text":"tiny-secp256k1, a secp256k1 native/JavaScript wrapper from bitcoinjs, contains a flaw in its verify() function that applies to environments where the global Buffer is the NPM buffer package. An attacker who supplies a crafted, JSON-stringifiable message can bypass the Buffer.isBuffer check, causing verify() to return false-positive true results for signatures that should be rejected, provided the target runs an affected version prior to 1.1.7 in a bundled environment where require('buffer') resolves to the NPM buffer package.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:15Z"},"euvd":{"id":"EUVD-2024-54991","exploited":false,"provenance":"source"}}