CVE-2026-40355
In MIT Kerberos 5 (aka krb5) before 1.22.3, there is a NULL pointer dereference if an application calls gss_accept_sec_context() on a system with a NegoEx mechanism registered in /etc/gss/mech. An unauthenticated remote attacker can trigger this, causing the process to terminate in parse_nego_message.
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.
Red Hat 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | krb5 | Fixed | 1.22.1-2ubuntu4.1 | UBUNTU-CVE-2026-40355 |
| Ubuntu 25.10 | krb5 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-40355 | |
| Ubuntu 24.04 | krb5 | Fixed | 1.20.1-6ubuntu2.7 | UBUNTU-CVE-2026-40355 |
| Ubuntu 22.04 | krb5 | Fixed | 1.19.2-2ubuntu0.8 | UBUNTU-CVE-2026-40355 |
| Debian 14 | krb5 | Fixed | 1.22.1-2.1 | DEBIAN-CVE-2026-40355 |
| Debian 13 | krb5 | Fixed | 1.21.3-5+deb13u1 | DEBIAN-CVE-2026-40355 |
| Debian 12 | krb5 | Fixed | 1.20.1-2+deb12u5 | DEBIAN-CVE-2026-40355 |
| Red Hat Enterprise Linux 10 | krb5 | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 10 | krb5-devel | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 10 | krb5-libs | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 10 | krb5-pkinit | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 10 | krb5-server | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 10 | krb5-server-ldap | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 10 | krb5-workstation | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 10 | krb5-xrealmauthz | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 10 | libkadm5 | Fixed | 0:1.21.3-10.el10_2 | RHSA-2026:19145 |
| Red Hat Enterprise Linux 9 | krb5 | Fixed | 0:1.21.1-10.el9_8 | RHSA-2026:97456 |
| Red Hat Enterprise Linux 9 | krb5-devel | Fixed | 0:1.21.1-10.el9_8 | RHSA-2026:97456 |
| Red Hat Enterprise Linux 9 | krb5-libs | Fixed | 0:1.21.1-10.el9 | RHSA-2026:19357 |
| Red Hat Enterprise Linux 9 | krb5-pkinit | Fixed | 0:1.21.1-10.el9 | RHSA-2026:19357 |
| Red Hat Enterprise Linux 9 | krb5-server | Fixed | 0:1.21.1-10.el9_8 | RHSA-2026:97456 |
| Red Hat Enterprise Linux 9 | krb5-server-ldap | Fixed | 0:1.21.1-10.el9 | RHSA-2026:19357 |
| Red Hat Enterprise Linux 9 | krb5-workstation | Fixed | 0:1.21.1-10.el9 | RHSA-2026:19357 |
| Red Hat Enterprise Linux 9 | krb5-xrealmauthz | Fixed | 0:1.21.1-10.el9_8 | RHSA-2026:19357 |
| Red Hat Enterprise Linux 9 | libkadm5 | Fixed | 0:1.21.1-10.el9 | RHSA-2026:19357 |
| Red Hat Enterprise Linux 8 | krb5 | Fixed | 0:1.18.2-34.el8_10 | RHSA-2026:16799 |
| Red Hat Enterprise Linux 8 | krb5-devel | Fixed | 0:1.18.2-34.el8_10 | RHSA-2026:16799 |
| Red Hat Enterprise Linux 8 | krb5-libs | Fixed | 0:1.18.2-34.el8_10 | RHSA-2026:16799 |
| Red Hat Enterprise Linux 8 | krb5-pkinit | Fixed | 0:1.18.2-34.el8_10 | RHSA-2026:16799 |
| Red Hat Enterprise Linux 8 | krb5-server | Fixed | 0:1.18.2-34.el8_10 | RHSA-2026:16799 |
| Red Hat Enterprise Linux 8 | krb5-server-ldap | Fixed | 0:1.18.2-34.el8_10 | RHSA-2026:16799 |
| Red Hat Enterprise Linux 8 | krb5-workstation | Fixed | 0:1.18.2-34.el8_10 | RHSA-2026:16799 |
| Red Hat Enterprise Linux 8 | libkadm5 | Fixed | 0:1.18.2-34.el8_10 | RHSA-2026:16799 |
| Red Hat Enterprise Linux 7 | krb5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-pkinit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-server-ldap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-workstation | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libkadm5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-pkinit-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-server-ldap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-workstation | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libkadm5 | Fix pending Fix deferred | ||
| AlmaLinux 10 | krb5-devel | Fixed | 1.21.3-10.el10_2 | ALSA-2026:19145 |
| AlmaLinux 10 | krb5-libs | Fixed | 1.21.3-10.el10_2 | ALSA-2026:19145 |
| AlmaLinux 10 | krb5-pkinit | Fixed | 1.21.3-10.el10_2 | ALSA-2026:19145 |
| AlmaLinux 10 | krb5-server | Fixed | 1.21.3-10.el10_2 | ALSA-2026:19145 |
| AlmaLinux 10 | krb5-server-ldap | Fixed | 1.21.3-10.el10_2 | ALSA-2026:19145 |
| AlmaLinux 10 | krb5-workstation | Fixed | 1.21.3-10.el10_2 | ALSA-2026:19145 |
| AlmaLinux 10 | krb5-xrealmauthz | Fixed | 1.21.3-10.el10_2 | ALSA-2026:19145 |
| AlmaLinux 10 | libkadm5 | Fixed | 1.21.3-10.el10_2 | ALSA-2026:19145 |
| AlmaLinux 9 | krb5-devel | Fixed | 1.21.1-10.el9_8 | ALSA-2026:19357 |
| AlmaLinux 9 | krb5-libs | Fixed | 1.21.1-10.el9_8 | ALSA-2026:19357 |
| AlmaLinux 9 | krb5-pkinit | Fixed | 1.21.1-10.el9_8 | ALSA-2026:19357 |
| AlmaLinux 9 | krb5-server | Fixed | 1.21.1-10.el9_8 | ALSA-2026:19357 |
| AlmaLinux 9 | krb5-server-ldap | Fixed | 1.21.1-10.el9_8 | ALSA-2026:19357 |
| AlmaLinux 9 | krb5-workstation | Fixed | 1.21.1-10.el9_8 | ALSA-2026:19357 |
| AlmaLinux 9 | krb5-xrealmauthz | Fixed | 1.21.1-10.el9_8 | ALSA-2026:19357 |
| AlmaLinux 9 | libkadm5 | Fixed | 1.21.1-10.el9_8 | ALSA-2026:19357 |
| AlmaLinux 8 | krb5-devel | Fixed | 1.18.2-34.el8_10 | ALSA-2026:16799 |
| AlmaLinux 8 | krb5-libs | Fixed | 1.18.2-34.el8_10 | ALSA-2026:16799 |
| AlmaLinux 8 | krb5-pkinit | Fixed | 1.18.2-34.el8_10 | ALSA-2026:16799 |
| AlmaLinux 8 | krb5-server | Fixed | 1.18.2-34.el8_10 | ALSA-2026:16799 |
| AlmaLinux 8 | krb5-server-ldap | Fixed | 1.18.2-34.el8_10 | ALSA-2026:16799 |
| AlmaLinux 8 | krb5-workstation | Fixed | 1.18.2-34.el8_10 | ALSA-2026:16799 |
| AlmaLinux 8 | libkadm5 | Fixed | 1.18.2-34.el8_10 | ALSA-2026:16799 |
| Rocky Linux 10 | krb5 | Fixed | 0:1.21.3-10.el10_2 | RLSA-2026:19145 |
| Rocky Linux 9 | krb5 | Fixed | 0:1.21.1-10.el9_8 | RLSA-2026:97456 |
| Rocky Linux 8 | krb5 | Fixed | 0:1.18.2-34.el8_10 | RLSA-2026:16799 |
| Alpine Linux 3.24 | krb5 | Fixed | 1.22.3-r0 | ALPINE-CVE-2026-40355 |
| Alpine Linux 3.23 | krb5 | Fixed | 1.22.3-r0 | ALPINE-CVE-2026-40355 |
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.
- MIT Kerberos 5: affected: 1.18 to before 1.22.3; fixed in
1.22.3
References
- https://web.mit.edu/kerberos/advisories/
- https://cems.fun/2026/04/27/krb5-two-unauthenticated-network-vulnerabilities.html
- https://github.com/krb5/krb5/commit/2e75f0d9362fb979f5fc92829431a590a130929f
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.