node-elliptic — security advisory
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).
- Products
- node-elliptic
- Affected versions
- 6.4.0+dfsg-1, 6.5.1~dfsg-1, 6.5.1~dfsg-2, 6.5.4~dfsg-1, 6.5.4~dfsg-2, 6.6.1+dfsg+~6.4.18-1, 6.6.1+dfsg+~6.4.18-2, 6.6.1+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-14505
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:24 UTC · Revision 1
Source evidence
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).
osv:UBUNTU-CVE-2025-14505
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
Complete source record
{
"id": "9a4d014d49168d1f69dd2351225dbde6371711b855e6998e194ed8be136ed038",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-14505",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-14505",
"summary": "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).",
"evidence": "osv:UBUNTU-CVE-2025-14505",
"products": [
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.4.0+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.5.1~dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.5.1~dfsg-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.5.4~dfsg-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.5.4~dfsg-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.6.1+dfsg-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.6.1+dfsg+~6.4.18-1",
"evidence": "/affected/5/versions"
},
{
"value": "6.6.1+dfsg+~6.4.18-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.6.1+dfsg-1",
"evidence": "/affected/6/versions"
},
{
"value": "6.6.1+dfsg+~6.4.18-1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-14505",
"aliases": [
"UBUNTU-CVE-2025-14505"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"6.4.0+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14505.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.4.0+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"6.5.1~dfsg-1",
"6.5.1~dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14505.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.5.1~dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"6.5.4~dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14505.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.5.4~dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"6.5.4~dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14505.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.5.4~dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"6.6.1+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14505.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.6.1+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"6.6.1+dfsg+~6.4.18-1",
"6.6.1+dfsg+~6.4.18-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14505.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.6.1+dfsg+~6.4.18-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"6.6.1+dfsg-1",
"6.6.1+dfsg+~6.4.18-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14505.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.6.1+dfsg+~6.4.18-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:48.028269096Z",
"provider": "osv",
"upstream": [
"CVE-2025-14505"
],
"references": [
"https://ubuntu.com/security/CVE-2025-14505",
"https://www.cve.org/CVERecord?id=CVE-2025-14505",
"https://github.com/indutny/elliptic/issues/321"
]
},
"related_cves": [
{
"value": "CVE-2025-14505",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356300,
"published_at": "2026-01-08T21:15:00+00:00"
}