# CVE-2020-14968: RSA-PSS signature validation vulnerability by prepending zeros in jsrsasign

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 2.99%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-06-22T11:19:49.000Z
- Modified: 2026-06-22T03:18:31.867Z
- Also known as: GHSA-q3gh-5r98-j4h3
- Weaknesses: CWE-119
- Assigned by: mitre

## Description

An issue was discovered in the jsrsasign package before 8.0.17 for Node.js. Its RSASSA-PSS (RSA-PSS) implementation does not detect signature manipulation/modification by prepending '\0' bytes to a signature (it accepts these modified signatures as valid). An attacker can abuse this behavior in an application by creating multiple valid signatures where only one signature should exist. Also, an attacker might prepend these bytes with the goal of triggering memory corruption issues.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- jsrsasign (npm): from 3.0.0 before 8.0.17
- kjur jsrsasign: before 8.0.17
- netapp max_data: no versions given

## Every score

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

## References

- <https://github.com/kjur/jsrsasign/issues/438> (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-q3gh-5r98-j4h3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-14968> (advisory)
- <https://github.com/kjur/jsrsasign/commit/3bcc088c727658d7235854cd2a409a904cc2ce99> (web)
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14968> (web)
- <https://github.com/kjur/jsrsasign> (package)
- <https://kjur.github.io/jsrsasign> (web)
- <https://kjur.github.io/jsrsasign/api/symbols/RSAKey.html#.verifyWithMessageHashPSS> (web)
- <https://security.netapp.com/advisory/ntap-20200724-0001> (web)
- <https://vuldb.com/?id.157125> (web)
- <https://www.npmjs.com/advisories/1541> (web)

## Sources

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

---

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