{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-14505","id":"CVE-2025-14505","title":"Elliptic Cryptanalysis vulnerability when `k` has leading zeros","description":"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 du","descriptionLong":"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.\n\nThis issue affects all known versions of Elliptic (at the time of writing, versions less than or equal to 6.6.1).","published":"2026-01-08T21:05:14.800Z","updated":"2026-10-28T02:30:22.242028380Z","reserved":"2025-12-10T22:37:46.175Z","status":"Deferred","rejected":false,"assigner":"HeroDevs","metric":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"HeroDevs"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"HeroDevs"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"36c7be3b-2937-45df-85ea-ca7133ea542c"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Elliptic"],"affectedProducts":[{"vendor":"N/A","product":"Elliptic","defaultStatus":"unknown","versions":[{"status":"affected","version":"<=6.6.1","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"elliptic","purl":"pkg:npm/elliptic","ranges":["<=6.6.1"],"fixed":[],"advisory":"GHSA-848j-6mx2-7j84"}],"cwes":["CWE-1240"],"aliases":["GHSA-848j-6mx2-7j84"],"references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-14505","tags":["third-party-advisory","advisory","web"]},{"url":"https://github.com/indutny/elliptic/issues/321","tags":["issue-tracking","exploit","report","web"]},{"url":"https://registry.npmjs.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14505.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14505","tags":["advisory"]},{"url":"https://github.com/indutny/elliptic","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0018,"epssPercentile":0.07696,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-14505","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14505","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-14505","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-848j-6mx2-7j84","ok":true,"note":"GHSA-848j-6mx2-7j84"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-14505","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}