# CVE-2021-46848: GNU Libtasn1 before 4.19.0 has an ETYPEOK off-by-one array size check that affects asn1encodesimpleder.

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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.84%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-24T00:00:00.000Z
- Modified: 2026-10-14T13:17:13.013Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnu libtasn1: before 4.19.0
- fedoraproject fedora: 35; 36; 37
- debian debian_linux: 10.0

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://gitlab.com/gnutls/libtasn1/-/issues/32> (exploit, issue-tracking, third-party-advisory)
- <https://gitlab.com/gnutls/libtasn1/-/commit/44a700d2051a666235748970c2df047ff207aeb5> (patch, third-party-advisory)
- <https://bugs.gentoo.org/866237> (issue-tracking, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGO7XST4EIJGX4B2ITZCYSWM24534BSU/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV4SHDJF2XLB4CUPTBPQQ6CLGZ5LKXPZ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V5LWOGF7QRMNFRUCZY6TDYQJVFI6MOQ2/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20221118-0006/> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ECM2ELTVRYV4BZ5L5GMIRQE27RFHPAQ6/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/01/msg00003.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-46848](https://www.cve.org/CVERecord?id=CVE-2021-46848), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-46848](https://nvd.nist.gov/vuln/detail/CVE-2021-46848), Public domain, modified 2026-10-14

---

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