CVE-2024-49365 Details
Description
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.
A vulnerability exists in tiny-secp256k1 versions prior to 1.1.7, specifically in environments where the NPM buffer package is used. The issue arises because a malicious message that can be serialized into JSON can bypass the Buffer.isBuffer check. This allows strange objects to be accepted as messages, potentially causing the verify() function to incorrectly validate signatures. The vulnerability could be exploited by crafting a message that, when verified, would be accepted as valid despite being fraudulent.
Users can update to tiny-secp256k1 version 1.1.7, which addresses this vulnerability by ensuring that the verify() function correctly validates messages against the Buffer.isBuffer check.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 1, 2025CISA-ADP
Assessed Jul 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-5vhg-9xg4-cv9m | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/bitcoinjs/tiny-secp256k1/pull/140 | [email protected] | ExploitIssue TrackingVendor |
| https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-5vhg-9xg4-cv9m | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bitcoinjs tiny-secp256k1 | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 1, 2025 | CVE Modified | CISA-ADP |
| Jul 1, 2025 | New CVE Received | [email protected] |
Volerion