8.7
HIGH CVSS 4.0
CVE-2024-48930
secp256k1-node vulnerable to private key extraction over ECDH
Description

secp256k1-node is a Node.js binding for an Optimized C library for EC operations on curve secp256k1. In `elliptic`-based version, `loadUncompressedPublicKey` has a check that the public key is on the curve. Prior to versions 5.0.1, 4.0.4, and 3.8.1, however, `loadCompressedPublicKey` is missing that check. That allows the attacker to use public keys on low-cardinality curves to extract enough information to fully restore the private key from as little as 11 ECDH sessions, and very cheaply on compute power. Other operations on public keys are also affected, including e.g. `publicKeyVerify()` incorrectly returning `true` on those invalid keys, and e.g. `publicKeyTweakMul()` also returning predictable outcomes allowing to restore the tweak. Versions 5.0.1, 4.0.4, and 3.8.1 contain a fix for the issue.

INFO

Published Date :

Oct. 21, 2024, 4:15 p.m.

Last Modified :

Oct. 21, 2024, 5:09 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-48930 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2024-48930 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-48930 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-48930 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Chronoforge Attack: An Analysis of an ARM TrustZone Vulnerability — From Microsecond-Level Leakage to Full Compromise of Bitcoin Wallet Private Keys

attack bitcoin bitcoin-wallet crypto cryptocurrency cryptography private-key vulnerability vulnerability-detection wallet ecdsa ecdsa-cryptography nonce secretkey

Updated: 2 weeks, 5 days ago
1 stars 0 fork 0 watcher
Born at : March 15, 2026, 10:39 p.m. This repo has been linked 8 different CVEs too.

None

JavaScript Solidity TypeScript CSS

Updated: 5 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 26, 2025, 1:23 p.m. This repo has been linked 2 different CVEs too.

Crypto Deep Tools a set of scripts for detailed cryptanalysis of the Blockchain network in cryptocurrency Bitcoin

attack bitcoin bitcoin-wallet blockchain cryptocurrencies cryptography ecdsa ecdsa-cryptography ecdsa-signature elliptic-curve-cryptography elliptic-curves privatekey secp256k1 vulnerabilities vulnerability latticeattack btc coin

Shell Python Makefile C C++ Cuda M4 Java Jupyter Notebook Dockerfile

Updated: 2 weeks ago
246 stars 208 fork 208 watcher
Born at : June 27, 2022, 12:05 p.m. This repo has been linked 18 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-48930 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-48930 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Received by [email protected]

    Oct. 21, 2024

    Action Type Old Value New Value
    Added Description secp256k1-node is a Node.js binding for an Optimized C library for EC operations on curve secp256k1. In `elliptic`-based version, `loadUncompressedPublicKey` has a check that the public key is on the curve. Prior to versions 5.0.1, 4.0.4, and 3.8.1, however, `loadCompressedPublicKey` is missing that check. That allows the attacker to use public keys on low-cardinality curves to extract enough information to fully restore the private key from as little as 11 ECDH sessions, and very cheaply on compute power. Other operations on public keys are also affected, including e.g. `publicKeyVerify()` incorrectly returning `true` on those invalid keys, and e.g. `publicKeyTweakMul()` also returning predictable outcomes allowing to restore the tweak. Versions 5.0.1, 4.0.4, and 3.8.1 contain a fix for the issue.
    Added Reference GitHub, Inc. https://github.com/cryptocoinjs/secp256k1-node/security/advisories/GHSA-584q-6j8j-r5pm [No types assigned]
    Added Reference GitHub, Inc. https://github.com/cryptocoinjs/secp256k1-node/commit/8bd6446e000fa59df3cda0ae3e424300747ea5ed [No types assigned]
    Added Reference GitHub, Inc. https://github.com/cryptocoinjs/secp256k1-node/commit/9a15fff274f83a6ec7f675f1121babcc0c42292f [No types assigned]
    Added Reference GitHub, Inc. https://github.com/cryptocoinjs/secp256k1-node/commit/e256905ee649a7caacc251f7c964667195a52221 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/cryptocoinjs/secp256k1-node/blob/6d3474b81d073cc9c8cc8cfadb580c84f8df5248/lib/elliptic.js#L17-L19 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/cryptocoinjs/secp256k1-node/blob/6d3474b81d073cc9c8cc8cfadb580c84f8df5248/lib/elliptic.js#L37-L39 [No types assigned]
    Added CWE GitHub, Inc. CWE-354
    Added CVSS V4.0 GitHub, Inc. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.