Security advisory
An issue was discovered in the jsrsasign package through 8.0.18 for Node.js. It allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and '0' characters appended or prepended to an integer. The modified signatures are verified as valid. This could have a security-relevant impact if an application relied on a single canonical signature.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-14966
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:51 UTC · Revision 1
Source evidence
An issue was discovered in the jsrsasign package through 8.0.18 for Node.js. It allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and '0' characters appended or prepended to an integer. The modified signatures are verified as valid. This could have a security-relevant impact if an application relied on a single canonical signature.
osv:CVE-2020-14966
Complete source record
{
"id": "23bbf857b076d8f2e4a06d06450aaabb56a04985826b2db53599bd06002d42cd",
"url": "https://osv.dev/vulnerability/CVE-2020-14966",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-14966",
"summary": "An issue was discovered in the jsrsasign package through 8.0.18 for Node.js. It allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and '0' characters appended or prepended to an integer. The modified signatures are verified as valid. This could have a security-relevant impact if an application relied on a single canonical signature.",
"evidence": "osv:CVE-2020-14966",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-14966",
"aliases": [
"CVE-2020-14966",
"GHSA-p8c3-7rj8-q963"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kjur/jsrsasign",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "6efc23aead22aa432613c345f84c39880f91744d"
},
{
"fixed": "861ab2718b2bf8718830544c0e512cf127197316"
},
{
"fixed": "6efc23aead22aa432613c345f84c39880f91744d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:kjur:jsrsasign:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "8.0.18"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "861ab2718b2bf8718830544c0e512cf127197316"
}
],
"source": "REFERENCES_TAG",
"original_tag": "8.0.17"
},
{
"range": [
{
"fixed": "6efc23aead22aa432613c345f84c39880f91744d"
}
],
"source": "REFERENCES_TAG",
"original_tag": "8.0.18"
}
]
}
}
],
"versions": [
"8.0.16",
"8.0.15",
"8.0.14",
"8.0.13",
"8.0.12",
"8.0.11",
"8.0.10",
"8.0.9",
"8.0.8",
"8.0.7",
"8.0.6",
"8.0.5",
"8.0.4",
"8.0.3",
"8.0.2",
"8.0.1",
"8.0.0",
"7.2.2",
"7.2.1",
"7.2.0",
"7.1.4",
"7.1.3",
"7.1.2",
"7.1.1",
"7.1.0",
"7.0.0",
"6.2.3",
"6.2.2",
"6.2.1",
"6.2.0",
"6.1.4",
"6.1.2",
"6.1.1",
"6.1.0",
"6.0.1",
"6.0.0",
"5.1.0",
"5.0.15",
"5.0.14",
"5.0.13",
"5.0.12",
"5.0.11",
"5.0.10",
"5.0.9",
"5.0.8",
"5.0.7",
"5.0.6",
"5.0.5",
"5.0.4",
"5.0.2",
"5.0.1",
"5.0.0",
"4.9.2",
"4.9.1",
"4.9.0",
"4.8.6",
"4.8.5",
"4.8.3",
"4.8.2",
"4.8.1",
"4.8.0",
"4.7.2",
"4.7.1",
"4.7.0",
"4.6.0",
"4.5.0",
"4.2.3",
"4.2.2",
"4.2.1",
"4.2.0",
"4.1.6",
"4.1.5",
"4.1.4",
"4.1.3",
"4.1.2",
"4.1.1",
"4.1.0",
"4.0.5",
"4.0.4",
"4.0.3",
"4.0.2",
"4.0.1",
"4.0.0",
"3.1.5",
"3.1.4",
"3.1.3",
"3.1.2",
"3.1.1",
"3.1.0",
"3.0.5",
"3.0.4",
"3.0.3",
"3.0.2",
"3.0.1",
"3.0.0",
"2.0.0",
"1.3.1",
"1.3.0",
"1.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-14966.json"
}
}
],
"modified": "2026-10-20T10:51:51.952032717Z",
"provider": "osv",
"references": [
"https://github.com/kjur/jsrsasign/releases/tag/8.0.17",
"https://github.com/kjur/jsrsasign/releases/tag/8.0.18",
"https://kjur.github.io/jsrsasign/",
"https://security.netapp.com/advisory/ntap-20200724-0001/",
"https://www.npmjs.com/package/jsrsasign",
"https://github.com/kjur/jsrsasign/issues/437"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-14966",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383039,
"published_at": "2020-06-22T12:15:10.087+00:00"
}