Home / bitcoinjs / tiny-secp256k1 / CVE-2024-49364
CVE-2024-49364: is it exploited, and which versions of bitcoinjs tiny-secp256k1 are affected and fixed?
CVE-2024-49364 is a credentials insufficiently protected vulnerability in bitcoinjs tiny-secp256k1. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: tiny-secp256k1 before 1.1.7 (GitHub advisory GHSA-7mc2-6phr-23xc). Fixed in 1.1.7 (GitHub advisory GHSA-7mc2-6phr-23xc). Severity: High (8.1, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2024-49364?
tiny-secp256k1 vulnerable to private key extraction when signing a malicious JSON-stringifyable message in bundled environment
tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. Prior to version 1.1.7, a private key can be extracted on signing a malicious JSON-stringifiable object, when global Buffer is the buffer package. This affects only environments where require('buffer') is the NPM buffer package. The Buffer.isBuffer check can be bypassed, resulting in k reuse for different messages, leading to private key extraction over a single invalid message (and a second one for which any message/signature could be taken, e.g. previously known valid one). This issue has been patched in version 1.1.7.
From the CVE record by GitHub_M, last updated July 1, 2025, 13:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bitcoinjs | tiny-secp256k1 | < 1.1.7 |
As the CVE record by GitHub_M states it, last updated July 1, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | tiny-secp256k1 | < 1.1.7 | 1.1.7 | GHSA-7mc2-6phr-23xc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 1, 2025. Summary: tiny-secp256k1 vulnerable to private key extraction when signing a malicious JSON-stringifyable message in bundled environment.
How severe is CVE-2024-49364?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-49364 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, July 1, 2025)
- EPSS
- 0.49% probability of exploitation activity in the next 30 days, percentile 43.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-522 Insufficiently Protected Credentials
Where are the vendor advisories and references?
- https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-7mc2-6phr-23xc x_refsource_CONFIRM
- https://github.com/bitcoinjs/tiny-secp256k1/pull/140 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 14, 2024
- Published
- July 1, 2025, 02:07 UTC
- CVE record updated
- July 1, 2025, 13:16 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:59 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect tiny-secp256k1?
- Nov 17, 2026CVE-2026-107853 bitcoinjs tiny-secp256k1: unchecked return value
- Jul 1, 2025CVE-2024-49365 bitcoinjs tiny-secp256k1: cryptographic signature not verified
Questions about CVE-2024-49364
Is CVE-2024-49364 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of bitcoinjs tiny-secp256k1 are affected by CVE-2024-49364?
tiny-secp256k1 before 1.1.7, per the GitHub advisory GHSA-7mc2-6phr-23xc. The tables above give every range the sources list.
Which version fixes CVE-2024-49364?
1.1.7, per the GitHub advisory GHSA-7mc2-6phr-23xc. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-49364?
High (8.1, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-49364?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.