CVEfocus › CVE database › CVE-2021-36222

CVE-2021-36222

CVSS 7.5 HighEPSS 9.3% (higher than 96% of CVEs)Published 2021-07-22Updated 2026-10-14Assigner: mitre

ec_verify in kdc/kdc_preauth_ec.c in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.18.4 and 1.19.x before 1.19.2 allows remote attackers to cause a NULL pointer dereference and daemon crash. This occurs because a return value is not properly managed in a certain situation.

What to do

Fixed builds are available from 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

27Fixed
1Fix pending
8Will not fix
11Not 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 24.04krb5Not affected
vulnerable_code_not_present
Ubuntu 22.04krb5Not affected
vulnerable_code_not_present
Ubuntu 20.04krb5Fixed1.17-6ubuntu4.3UBUNTU-CVE-2021-36222
Ubuntu 18.04krb5Fixed1.16-2ubuntu0.4UBUNTU-CVE-2021-36222
Ubuntu 16.04krb5Fix pending
Debian 14krb5Fixed1.18.3-6DEBIAN-CVE-2021-36222
Debian 13krb5Fixed1.18.3-6DEBIAN-CVE-2021-36222
Debian 12krb5Fixed1.18.3-6DEBIAN-CVE-2021-36222
Red Hat Enterprise Linux 9krb5Not affected
Red Hat Enterprise Linux 9krb5-develNot affected
Red Hat Enterprise Linux 9krb5-libsNot affected
Red Hat Enterprise Linux 9krb5-pkinitNot affected
Red Hat Enterprise Linux 9krb5-serverNot affected
Red Hat Enterprise Linux 9krb5-server-ldapNot affected
Red Hat Enterprise Linux 9krb5-workstationNot affected
Red Hat Enterprise Linux 9krb5-xrealmauthzNot affected
Red Hat Enterprise Linux 9libkadm5Not affected
Red Hat Enterprise Linux 8krb5Fixed0:1.18.2-8.3.el8_4RHSA-2021:3576
Red Hat Enterprise Linux 8krb5-develFixed0:1.18.2-8.3.el8_4RHSA-2021:3576
Red Hat Enterprise Linux 8krb5-libsFixed0:1.18.2-8.3.el8_4RHSA-2021:3576
Red Hat Enterprise Linux 8krb5-pkinitFixed0:1.18.2-8.3.el8_4RHSA-2021:3576
Red Hat Enterprise Linux 8krb5-serverFixed0:1.18.2-8.3.el8_4RHSA-2021:3576
Red Hat Enterprise Linux 8krb5-server-ldapFixed0:1.18.2-8.3.el8_4RHSA-2021:3576
Red Hat Enterprise Linux 8krb5-workstationFixed0:1.18.2-8.3.el8_4RHSA-2021:3576
Red Hat Enterprise Linux 8libkadm5Fixed0:1.18.2-8.3.el8_4RHSA-2021:3576
Red Hat Enterprise Linux 7krb5Will not fix
Out of support scope
Red Hat Enterprise Linux 7krb5-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7krb5-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7krb5-pkinitWill not fix
Out of support scope
Red Hat Enterprise Linux 7krb5-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 7krb5-server-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 7krb5-workstationWill not fix
Out of support scope
Red Hat Enterprise Linux 7libkadm5Will not fix
Out of support scope
Rocky Linux 8krb5Fixed0:1.18.2-8.3.el8_4RLSA-2021:3576
Alpine Linux 3.24krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.23krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.22krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.21krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.20krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.19krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.18krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.17krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.16krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.15krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.14krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.13krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222
Alpine Linux 3.12krb5Fixed1.18.4-r0ALPINE-CVE-2021-36222

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.