CVE-2025-14505
published medium CVSS 3.1 · 5.6Elliptic Cryptanalysis vulnerability when `k` has leading zeros
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| N/A | — | ellipticElliptic · <=6.6.1 · Other versions: unknown | Affected | Not stated | HeroDevs |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.6 / 10
- Severity
- medium
- Provider
- HeroDevs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| N/A | Elliptic | <=6.6.1 (affected · semver)Default: unknown | HeroDevs · cna |
Weaknesses
1- CWE-1240 CWE-1240: Use of a Cryptographic Primitive with a Risky Implementation
References
2Provider assertions
2HeroDevs · cna
Elliptic Cryptanalysis vulnerability when `k` has leading zeros
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 05c1c32995fbd3456be8a5988f3bc959f13161062e8a0ee6285b24141eccd22a
- Ingested
- 23 Sep 2026, 08:37:44 UTC
- Source record
- Official CVE record