CVE-2024-49365
HIGH 8.1CVSS 4.0tiny-secp256k1 allows for verify() bypass when running in bundled environment
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.
- Published
- 1 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-347
- Also known as
- GHSA-5vhg-9xg4-cv9m
- Sources
- NVDJSONOSV GHSA-5vhg-9xg4-cv9mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.1 | 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/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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | tiny-secp256k1 | < 1.1.7 | 1.1.7 |
References
- https://github.com/bitcoinjs/tiny-secp256k1/pull/140 · WEB
- https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-5vhg-9xg4-cv9m · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-49365 · ADVISORY
- https://github.com/bitcoinjs/tiny-secp256k1 · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Jul 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Jun 2025)