CVE-2025-14505 Details
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 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).
A vulnerability exists in the Elliptic package's ECDSA implementation, all versions through 6.6.1, where incorrect signature generation can occur. This issue arises because the interim value of 'k', as calculated according to RFC 6979, can be improperly truncated if it contains leading zeros. This flaw not only creates invalid signatures that disrupt legitimate transactions but also, under certain conditions, allows attackers to derive the private key by combining a faulty signature from the vulnerable version with a correct signature for the same inputs.
Users are advised to upgrade to Elliptic version 6.6.3, available through the HeroDevs Never-Ending Support program, and to invalidate any private keys used with vulnerable versions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 8, 2026CISA-ADP
Assessed Jan 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/indutny/elliptic/issues/321 | HeroDevs | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.herodevs.com/vulnerability-directory/cve-2025-14505 | HeroDevs | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1240 | Use of a Cryptographic Primitive with a Risky Implementation | HeroDevs |
Affected Products
| Product | Versions |
|---|---|
| indutny elliptic | <= 6.6.1 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | HeroDevs |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 8, 2026 | New CVE Received | HeroDevs |
Volerion