# CVE-2021-30246: RSA signature validation vulnerability on maleable encoded message in jsrsasign

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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): 0.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2021-04-07T20:11:56.000Z
- Modified: 2026-06-22T03:18:31.867Z
- Also known as: GHSA-27fj-mc8w-j9wg
- Weaknesses: CWE-347
- Assigned by: mitre

## Description

In the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized to be valid. NOTE: there is no known practical attack.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- jsrsasign (npm): before 10.2.0
- kjur jsrsasign: up to 10.1.13

## Every score

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

## References

- <https://kjur.github.io/jsrsasign/> (release-notes, third-party-advisory)
- <https://github.com/kjur/jsrsasign/issues/478> (third-party-advisory, web)
- <https://github.com/kjur/jsrsasign/releases/tag/10.1.13> (release-notes, third-party-advisory, web)
- <https://github.com/kjur/jsrsasign/security/advisories/GHSA-27fj-mc8w-j9wg> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-30246> (advisory)
- <https://kjur.github.io/jsrsasign> (web)

## Sources

- CVE List: [CVE-2021-30246](https://www.cve.org/CVERecord?id=CVE-2021-30246), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-27fj-mc8w-j9wg](https://github.com/advisories/GHSA-27fj-mc8w-j9wg), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-30246](https://nvd.nist.gov/vuln/detail/CVE-2021-30246), Public domain, modified 2026-06-22

---

Page: https://cve.day/CVE-2021-30246 · Whole record: https://cve.day/CVE-2021-30246.json · Rebuilt by cve.day 2026-11-25T22:58:00.666Z
