{"id":"CVE-2021-46848","title":"GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.","summary":"GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","cwe":["CWE-193","CWE-193"],"vendor":"gnu","product":"libtasn1","affected":["libtasn1 < 4.19.0","fedora = 35","fedora = 36","fedora = 37","debian_linux = 10.0"],"patched":["libtasn1 4.19.0"],"published":"2022-10-24","updated":"2026-10-14","sourceUpdated":"2026-10-14T13:17:13.013","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-46848","references":[{"url":"https://bugs.gentoo.org/866237","label":"cve@mitre.org"},{"url":"https://gitlab.com/gnutls/libtasn1/-/commit/44a700d2051a666235748970c2df047ff207aeb5","label":"cve@mitre.org"},{"url":"https://gitlab.com/gnutls/libtasn1/-/issues/32","label":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00003.html","label":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV4SHDJF2XLB4CUPTBPQQ6CLGZ5LKXPZ/","label":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ECM2ELTVRYV4BZ5L5GMIRQE27RFHPAQ6/","label":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGO7XST4EIJGX4B2ITZCYSWM24534BSU/","label":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V5LWOGF7QRMNFRUCZY6TDYQJVFI6MOQ2/","label":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20221118-0006/","label":"cve@mitre.org"},{"url":"https://bugs.gentoo.org/866237","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://gitlab.com/gnutls/libtasn1/-/commit/44a700d2051a666235748970c2df047ff207aeb5","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://gitlab.com/gnutls/libtasn1/-/issues/32","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00003.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV4SHDJF2XLB4CUPTBPQQ6CLGZ5LKXPZ/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ECM2ELTVRYV4BZ5L5GMIRQE27RFHPAQ6/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGO7XST4EIJGX4B2ITZCYSWM24534BSU/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V5LWOGF7QRMNFRUCZY6TDYQJVFI6MOQ2/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20221118-0006/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd"],"epss":0.02203,"epssPercentile":0.82079,"ingestedAt":"2026-10-14T13:30:58.419Z","slug":"CVE-2021-46848","body":"## Overview\n\nGNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.\n\n## Affected\n\n- `libtasn1 < 4.19.0`\n- `fedora = 35`\n- `fedora = 36`\n- `fedora = 37`\n- `debian_linux = 10.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `libtasn1 4.19.0`","depth":"midnight","depthScore":50,"depthScoreParts":{"impact":50.1,"likelihood":0.4,"exploitation":0,"ransomware":0},"changes":[]}