CVEfocus › CVE database › CVE-2021-46848

CVE-2021-46848

CVSS 9.1 CriticalEPSS 2.8% (higher than 87% of CVEs)Published 2022-10-24Updated 2026-10-14Assigner: mitre

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

CWE-193

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

29Fixed
4Fix pending
3Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10libtasn1-6Not affected
vulnerable_code_not_present
Ubuntu 24.04libtasn1-6Not affected
vulnerable_code_not_present
Ubuntu 22.04libtasn1-6Fixed4.18.0-4ubuntu0.2UBUNTU-CVE-2021-46848
Ubuntu 20.04libtasn1-6Fix pending4.16.0-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-46848
Ubuntu 18.04libtasn1-6Fix pending4.13-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-46848
Ubuntu 16.04libtasn1-6Fix pending4.7-3ubuntu0.16.04.3+esm3 (Ubuntu Pro)UBUNTU-CVE-2021-46848
Ubuntu 14.04libtasn1-6Fix pending3.4-3ubuntu0.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-46848
Debian 14libtasn1-6Fixed4.19.0-2DEBIAN-CVE-2021-46848
Debian 13libtasn1-6Fixed4.19.0-2DEBIAN-CVE-2021-46848
Debian 12libtasn1-6Fixed4.19.0-2DEBIAN-CVE-2021-46848
Red Hat Enterprise Linux 9libtasn1Fixed0:4.16.0-8.el9_1RHSA-2023:0343
Red Hat Enterprise Linux 9libtasn1-develFixed0:4.16.0-8.el9_1RHSA-2023:0343
Red Hat Enterprise Linux 9libtasn1-toolsFixed0:4.16.0-8.el9_1RHSA-2023:0343
Red Hat Enterprise Linux 8libtasn1Fixed0:4.13-4.el8_7RHSA-2023:0116
Red Hat Enterprise Linux 8libtasn1-develFixed0:4.13-4.el8_7RHSA-2023:0116
Red Hat Enterprise Linux 8libtasn1-toolsFixed0:4.13-4.el8_7RHSA-2023:0116
Red Hat Enterprise Linux 7libtasn1Will not fix
Out of support scope
Red Hat Enterprise Linux 7libtasn1-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libtasn1-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtasn1Not affected
Red Hat Enterprise Linux 6libtasn1-develNot affected
Red Hat Enterprise Linux 6libtasn1-toolsNot affected
AlmaLinux 9libtasn1Fixed4.16.0-8.el9_1ALSA-2023:0343
AlmaLinux 9libtasn1-develFixed4.16.0-8.el9_1ALSA-2023:0343
AlmaLinux 9libtasn1-toolsFixed4.16.0-8.el9_1ALSA-2023:0343
AlmaLinux 8libtasn1Fixed4.13-4.el8_7ALSA-2023:0116
AlmaLinux 8libtasn1-develFixed4.13-4.el8_7ALSA-2023:0116
AlmaLinux 8libtasn1-toolsFixed4.13-4.el8_7ALSA-2023:0116
Rocky Linux 9libtasn1Fixed0:4.16.0-8.el9_1RLSA-2023:0343
Rocky Linux 8libtasn1Fixed0:4.13-4.el8_7RLSA-2023:0116
Alpine Linux 3.24libtasn1Fixed4.19-r0ALPINE-CVE-2021-46848
Alpine Linux 3.23libtasn1Fixed4.19-r0ALPINE-CVE-2021-46848
Alpine Linux 3.22libtasn1Fixed4.19-r0ALPINE-CVE-2021-46848
Alpine Linux 3.21libtasn1Fixed4.19-r0ALPINE-CVE-2021-46848
Alpine Linux 3.20libtasn1Fixed4.19-r0ALPINE-CVE-2021-46848
Alpine Linux 3.19libtasn1Fixed4.19-r0ALPINE-CVE-2021-46848
Alpine Linux 3.18libtasn1Fixed4.19-r0ALPINE-CVE-2021-46848
Alpine Linux 3.17libtasn1Fixed4.19-r0ALPINE-CVE-2021-46848
Alpine Linux 3.16libtasn1Fixed4.18.0-r1ALPINE-CVE-2021-46848
Alpine Linux 3.15libtasn1Fixed4.18.0-r1ALPINE-CVE-2021-46848
Alpine Linux 3.14libtasn1Fixed4.17.0-r1ALPINE-CVE-2021-46848

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.