CVEfocus › CVE database › CVE-2025-14505

CVE-2025-14505Elliptic Cryptanalysis vulnerability when `k` has leading zeros

CVSS 5.6 MediumEPSS 0.2% (higher than 7% of CVEs)Published 2026-01-08Updated 2026-01-08Assigner: HeroDevs

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).

CWE-1240

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

1Fixed
30Fix pending
3Under investigation
3Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-ellipticFix pendingUBUNTU-CVE-2025-14505
Ubuntu 26.04node-ellipticUnder investigationUBUNTU-CVE-2025-14505
Ubuntu 25.10node-ellipticWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-14505
Ubuntu 24.04node-ellipticUnder investigationUBUNTU-CVE-2025-14505
Ubuntu 22.04node-ellipticUnder investigationUBUNTU-CVE-2025-14505
Ubuntu 20.04node-ellipticFix pendingUBUNTU-CVE-2025-14505
Ubuntu 18.04node-ellipticFix pendingUBUNTU-CVE-2025-14505
Debian 14node-ellipticFixed6.6.1+dfsg+~6.4.18-2DEBIAN-CVE-2025-14505
Debian 13node-ellipticFix pendingDEBIAN-CVE-2025-14505
Debian 12node-ellipticFix pendingDEBIAN-CVE-2025-14505
Red Hat Enterprise Linux 9gjsFix pending
Fix deferred
Red Hat Enterprise Linux 9gjs-develFix pending
Fix deferred
Red Hat Enterprise Linux 9pcsWill not fix
Out of support scope
Red Hat Enterprise Linux 9pcs-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 9polkitFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-develFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-docsFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-azure-monitorFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-cloudwatchFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-elasticsearchFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-graphiteFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-influxdbFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-lokiFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-mssqlFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-opentsdbFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-postgresFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-prometheusFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-stackdriverFix pending
Fix deferred
Red Hat Enterprise Linux 8mozjs60Fix pending
Fix deferred
Red Hat Enterprise Linux 8mozjs60-develFix pending
Fix deferred
Red Hat Enterprise Linux 8pcsFix pending
Fix deferred
Red Hat Enterprise Linux 8pcs-snmpFix pending
Fix deferred
npm libraryellipticFix pendingGHSA-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.

References

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.