Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. tiny-secp256k1
  4. ›
  5. CVE-2024-49364

CVE-2024-49364: tiny-secp256k1 vulnerable to private key extraction when signing a malicious JSON-stringifyable message in bundled environment

June 30, 2025 (updated November 10, 2025)

Private key can be extracted on signing a malicious JSON-stringifiable object, when global Buffer is buffer package

References

  • github.com/advisories/GHSA-7mc2-6phr-23xc
  • github.com/bitcoinjs/tiny-secp256k1
  • github.com/bitcoinjs/tiny-secp256k1/pull/140
  • github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-7mc2-6phr-23xc
  • nvd.nist.gov/vuln/detail/CVE-2024-49364

Code Behaviors & Features

Detect and mitigate CVE-2024-49364 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.7

Fixed versions

  • 1.1.7

Solution

Upgrade to version 1.1.7 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-522: Insufficiently Protected Credentials

Source file

npm/tiny-secp256k1/CVE-2024-49364.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:21 +0000.