{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-14505","assignerOrgId":"36c7be3b-2937-45df-85ea-ca7133ea542c","state":"PUBLISHED","assignerShortName":"HeroDevs","dateReserved":"2025-12-10T22:37:46.175Z","datePublished":"2026-01-08T21:05:14.800Z","dateUpdated":"2026-01-08T21:22:55.144Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://registry.npmjs.org","defaultStatus":"unknown","packageName":"elliptic","product":"Elliptic","repo":"https://github.com/indutny/elliptic","vendor":"N/A","versions":[{"status":"affected","version":"<=6.6.1","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Daniel Bleichenbacher"},{"lang":"en","type":"analyst","value":"Subheader (https://github.com/Subheader)"},{"lang":"en","type":"analyst","value":"George Kalpakas from HeroDevs"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<span style=\"background-color: transparent;\">The ECDSA implementation of the Elliptic package generates incorrect signatures if an interim value of '<tt>k</tt>' (as computed based on step 3.2 of <a target=\"_blank\" rel=\"nofollow\" href=\"https://datatracker.ietf.org/doc/html/rfc6979\">RFC 6979</a>) has leading zeros and is susceptible to cryptanalysis, which can lead to secret key exposure. This happens, because the byte-length of '<tt>k</tt>' is incorrectly computed, resulting in its getting truncated during the computation. Legitimate transactions or communications will be broken as a result.&nbsp;<span style=\"background-color: rgb(255, 255, 255);\">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.</span><br><br></span><span style=\"background-color: rgb(255, 255, 255);\">This issue affects all known versions of Elliptic (at the time of writing, versions less than or equal to 6.6.1).</span><br>"}],"value":"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)."}],"impacts":[{"capecId":"CAPEC-97","descriptions":[{"lang":"en","value":"CAPEC-97 Cryptanalysis"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1240","description":"CWE-1240: Use of a Cryptographic Primitive with a Risky Implementation","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"36c7be3b-2937-45df-85ea-ca7133ea542c","shortName":"HeroDevs","dateUpdated":"2026-01-08T21:05:14.800Z"},"references":[{"tags":["third-party-advisory"],"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-14505"},{"tags":["issue-tracking","exploit"],"url":"https://github.com/indutny/elliptic/issues/321"}],"source":{"discovery":"UNKNOWN"},"tags":["x_open-source"],"title":"Elliptic Cryptanalysis vulnerability when `k` has leading zeros","x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-08T21:22:47.447055Z","id":"CVE-2025-14505","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-01-08T21:22:55.144Z"}}]}}