CVE-2025-14505Elliptic Cryptanalysis vulnerability when `k` has leading zeros
The ECDSA implementation of the Elliptic package generates incorrect signatures if an interim value of 'k' (as computed based on step 3.2 of RFC 6979 https://datatracker.ietf.org/doc/html/rfc6979 ) has leading zeros and is susceptible to cryptanalysis, which can lead to secret key exposure. This happens, because the byte-length of 'k' is incorrectly computed, resulting in its getting truncated during the computation. Legitimate transactions or communications will be broken as a result. Furthermore, due to the nature of the fault, attackers could–under certain conditions–derive the secret key, if they could get their hands on both a faulty signature generated by a vulnerable version of Elliptic and a correct signature for the same inputs. This issue affects all known versions of Elliptic (at the time of writing, versions less than or equal to 6.6.1).
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu, npm have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-elliptic | Fix pending | UBUNTU-CVE-2025-14505 | |
| Ubuntu 26.04 | node-elliptic | Under investigation | UBUNTU-CVE-2025-14505 | |
| Ubuntu 25.10 | node-elliptic | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-14505 | |
| Ubuntu 24.04 | node-elliptic | Under investigation | UBUNTU-CVE-2025-14505 | |
| Ubuntu 22.04 | node-elliptic | Under investigation | UBUNTU-CVE-2025-14505 | |
| Ubuntu 20.04 | node-elliptic | Fix pending | UBUNTU-CVE-2025-14505 | |
| Ubuntu 18.04 | node-elliptic | Fix pending | UBUNTU-CVE-2025-14505 | |
| Debian 14 | node-elliptic | Fixed | 6.6.1+dfsg+~6.4.18-2 | DEBIAN-CVE-2025-14505 |
| Debian 13 | node-elliptic | Fix pending | DEBIAN-CVE-2025-14505 | |
| Debian 12 | node-elliptic | Fix pending | DEBIAN-CVE-2025-14505 | |
| Red Hat Enterprise Linux 9 | gjs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pcs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 9 | polkit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Fix pending Fix deferred | ||
| npm library | elliptic | Fix pending | GHSA-848j-6mx2-7j84 |
What the vendor says
As published in the CVE record by HeroDevs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- N/A Elliptic: affected: <=6.6.1
References
- https://www.herodevs.com/vulnerability-directory/cve-2025-14505
- https://github.com/indutny/elliptic/issues/321
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.