# CVE-2020-14966: ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding in jsrsasign

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-06-22T11:20:13.000Z
- Modified: 2026-06-22T03:18:31.867Z
- Also known as: GHSA-p8c3-7rj8-q963
- Weaknesses: CWE-347
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- jsrsasign (npm): from 4.0.0 before 8.0.19
- kjur jsrsasign: up to 8.0.18
- netapp max_data: no versions given

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/kjur/jsrsasign/issues/437> (exploit, issue-tracking, third-party-advisory, web)
- <https://kjur.github.io/jsrsasign/> (release-notes, third-party-advisory)
- <https://www.npmjs.com/package/jsrsasign> (product, third-party-advisory, web)
- <https://github.com/kjur/jsrsasign/releases/tag/8.0.18> (release-notes, third-party-advisory, web)
- <https://github.com/kjur/jsrsasign/releases/tag/8.0.17> (release-notes, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20200724-0001/> (third-party-advisory)
- <https://github.com/kjur/jsrsasign/security/advisories/GHSA-p8c3-7rj8-q963> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-14966> (advisory)
- <https://github.com/kjur/jsrsasign/commit/6087412d072a57074d3c4c1b40bdde0460d53a7f> (web)
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14966> (web)
- <https://github.com/kjur/jsrsasign> (package)
- <https://kjur.github.io/jsrsasign> (web)
- <https://kjur.github.io/jsrsasign/api/symbols/ASN1HEX.html#.checkStrictDER> (web)
- <https://kjur.github.io/jsrsasign/api/symbols/KJUR.crypto.ECDSA.html> (web)
- <https://security.netapp.com/advisory/ntap-20200724-0001> (web)
- <https://vuldb.com/?id.157123> (web)

## Sources

- CVE List: [CVE-2020-14966](https://www.cve.org/CVERecord?id=CVE-2020-14966), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-p8c3-7rj8-q963](https://github.com/advisories/GHSA-p8c3-7rj8-q963), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-14966](https://nvd.nist.gov/vuln/detail/CVE-2020-14966), Public domain, modified 2026-06-22

---

Page: https://cve.day/CVE-2020-14966 · Whole record: https://cve.day/CVE-2020-14966.json · Rebuilt by cve.day 2026-11-25T22:57:53.066Z
