Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-40355 EUVD-2026-25981GHSA-8qgv-wm66-hrmc

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 syste…

Published Apr 28, 2026 · Updated Nov 10, 2026 · Assigned by mitre

Description

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.

Affected products

VendorProductAffectedFixed
MIT Kerberos 5 1.18 – < 1.22.3 1.22.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 krb5 1.22.1-2.1 —
Debian 13 krb5 1.21.3-5+deb13u1 —
Debian 12 krb5 1.20.1-2+deb12u5 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS krb5 1.22.1-2ubuntu4.1 USN-8585-1
Ubuntu 25.10 krb5 No fix yet —
Ubuntu 24.04 LTS krb5 1.20.1-6ubuntu2.7 USN-8585-1
Ubuntu 22.04 LTS krb5 1.19.2-2ubuntu0.8 USN-8585-1
ReleasePackageFixed inAdvisory
RHEL 10 krb5 +8 1.21.3-10.el10_2 RHSA-2026:19145
RHEL 9 krb5 +8 1.21.1-10.el9_8 RHSA-2026:19357
RHEL 8 krb5 +7 1.18.2-34.el8_10 RHSA-2026:16799
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 krb5 +8 1.22.2-7.hum1 RHSA-2026:12220

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 libkadm5 +7 1.21.3-10.el10_2 ALSA-2026:19145
AlmaLinux 9 libkadm5 +7 1.21.1-10.el9_8 ALSA-2026:19357
AlmaLinux 8 libkadm5 +6 1.18.2-34.el8_10 ALSA-2026:16799

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 krb5 1.21.3-10.el10_2 RLSA-2026:19145
Rocky Linux 9 krb5 1.21.1-10.el9_8 RLSA-2026:97456, RLSA-2026:19357
Rocky Linux 8 krb5 1.18.2-34.el8_10 RLSA-2026:16799
ReleasePackageFixed inAdvisory
SLES 15 SP7 krb5 1.20.1-150600.11.19.1 SUSE-SU-2026:2848-1
SLES 15 SP6 krb5 1.20.1-150600.11.19.1 SUSE-SU-2026:2848-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 krb5 1.21.3-160000.3.1 SUSE-SU-2026:22322-1
SLES for SAP 15 SP6 krb5 1.20.1-150600.11.19.1 SUSE-SU-2026:2848-1
SLES 16.0 krb5 1.21.3-160000.3.1 SUSE-SU-2026:22322-1
SLE Micro 6.2 krb5 1.21.3-160000.3.1 SUSE-SU-2026:22255-1
SLE Micro 5.4 krb5 1.19.2-150400.3.21.1 SUSE-SU-2026:2449-1
SLE Micro 5.3 krb5 1.19.2-150400.3.21.1 SUSE-SU-2026:2449-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed krb5 1.22.2-3.1 openSUSE-SU-2026:10729-1
openSUSE Leap 16.0 krb5 1.21.3-160000.3.1 openSUSE-SU-2026:21021-1
ReleasePackageFixed inAdvisory
Alpine v3.24 krb5 1.22.3-r0 —
Alpine v3.23 krb5 1.22.3-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libkadm5 +6 1.21.3-7.amzn2023.0.1 ALAS2023-2026-1680

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 krb5 1.21.3-4 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libkadm5 +7 1.21.3-10.0.1.el10_2 ELSA-2026-19145
Oracle Linux 9 libkadm5 +7 1.21.1-10.0.1.el9_8 ELSA-2026-19357
Oracle Linux 8 libkadm5 +6 1.18.2-34.0.1.el8_10 ELSA-2026-16799

Advisories 29

References