cve.bz

CVE-2026-40356 mit kerberos 5: Integer Underflow (Wrap or Wraparound)

7.5 highExploit referenceEPSS 0.6%Fix available

High (7.5) in mit kerberos 5. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
In MIT Kerberos 5 (aka krb5) before 1.22.3, there is an integer underflow and resultant out-of-bounds read 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, possibly causing the process to terminate in parse_message.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-191 Integer Underflow (Wrap or Wraparound)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40356 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40356?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40356?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40356 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-40356

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-40356](https://cve.bz/cve/badge/CVE-2026-40356.svg)](https://cve.bz/cve/CVE-2026-40356)

HTML:

<a href="https://cve.bz/cve/CVE-2026-40356"><img src="https://cve.bz/cve/badge/CVE-2026-40356.svg" alt="CVE-2026-40356"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
MIT Kerberos 5from 1.18 before 1.22.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12krb51.20.1-2+deb12u5DEBIAN-CVE-2026-40356
Debian13krb51.21.3-5+deb13u1DEBIAN-CVE-2026-40356
Debian14krb51.22.1-2.1DEBIAN-CVE-2026-40356
Ubuntu22.04:LTSkrb51.19.2-2ubuntu0.8UBUNTU-CVE-2026-40356 USN-8585-1
Ubuntu24.04:LTSkrb51.20.1-6ubuntu2.7UBUNTU-CVE-2026-40356 USN-8585-1
Ubuntu25.10krb5no fix listedUBUNTU-CVE-2026-40356
Ubuntu26.04:LTSkrb51.22.1-2ubuntu4.1UBUNTU-CVE-2026-40356 USN-8585-1
Red Hatenterprise_linux:8::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.18.2-34.el8_10RHSA-2026:16799
Red Hatenterprise_linux:9::appstreamkrb5-devel, krb5-debuginfo, krb5-debugsource and 7 more0:1.21.1-10.el9RHSA-2026:97456
Red Hatenterprise_linux:9::appstreamkrb5-devel, krb5-debuginfo, krb5-debugsource and 7 more0:1.21.1-10.el9_8RHSA-2026:19357
Red Hatenterprise_linux:9::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.21.1-10.el9_8RHSA-2026:19357
Red Hatenterprise_linux:9::baseoskrb5, libkadm5, krb5-libs and 13 more0:1.21.1-10.el9RHSA-2026:97456
Red Hatenterprise_linux:10.2krb5, libkadm5, krb5-libs and 15 more0:1.21.3-10.el10_2RHSA-2026:19145
Red Hathummingbird:1krb5, krb5-libs, krb5-devel and 6 more0:1.22.2-7.hum1RHSA-2026:12220
Red Hatrhel_e4s:9.2::appstreamkrb5-devel0:1.20.1-9.el9_2.6RHSA-2026:24685
Red Hatrhel_e4s:9.2::baseoskrb5, libkadm5, krb5-libs and 12 more0:1.20.1-9.el9_2.6RHSA-2026:24685
Red Hatrhel_e4s:9.4::appstreamkrb5-devel, krb5-debuginfo, krb5-debugsource and 6 more0:1.21.1-2.el9_4.5RHSA-2026:24686
Red Hatrhel_e4s:9.4::baseoskrb5, libkadm5, krb5-libs and 12 more0:1.21.1-2.el9_4.5RHSA-2026:24686
Red Hatrhel_eus:9.6::appstreamkrb5-devel, krb5-debuginfo, krb5-debugsource and 6 more0:1.21.1-8.el9_6.2RHSA-2026:24683
1 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4krb51.19.2-150400.3.21.1SUSE-SU-2026:2449-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Server Applications 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 morekrb51.20.1-150600.11.19.1SUSE-SU-2026:2848-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0krb51.21.3-160000.3.1SUSE-SU-2026:22322-1
SUSELinux Micro 6.2krb51.21.3-160000.3.1SUSE-SU-2026:22255-1
openSUSELeap 16.0krb51.21.3-160000.3.1openSUSE-SU-2026:21021-1
openSUSETumbleweedkrb51.22.2-3.1openSUSE-SU-2026:10729-1
AlmaLinux8libkadm5, krb5-libs, krb5-devel and 4 more1.18.2-34.el8_10ALSA-2026:16799
AlmaLinux9libkadm5, krb5-libs, krb5-devel and 5 more1.21.1-10.el9_8ALSA-2026:19357
AlmaLinux10libkadm5, krb5-libs, krb5-devel and 5 more1.21.3-10.el10_2ALSA-2026:19145
Rocky Linux8krb50:1.18.2-34.el8_10RLSA-2026:16799
Rocky Linux9krb50:1.21.1-10.el9_8RLSA-2026:19357
Rocky Linux9krb50:1.21.1-10.el9_8RLSA-2026:97456
Rocky Linux10krb50:1.21.3-10.el10_2RLSA-2026:19145
Alpinev3.23, v3.24krb51.22.3-r0ALPINE-CVE-2026-40356
Azure Linux3krb51.21.3-4AZL-85238
Alpaquita23krb51.20.2-r5BELL-CVE-2026-40356
Alpaquita25krb51.21.3-r2BELL-CVE-2026-40356
Alpaquitastreamkrb51.22.2-r2BELL-CVE-2026-40356

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact denial of service flaw in MIT Kerberos 5 (krb5) allows an unauthenticated remote attacker to trigger an integer underflow and out-of-bounds read. This vulnerability, which can lead to process termination, specifically affects systems where the NegoEx mechanism is registered and `gss_accept_sec_context()` is called. While Kerberos is a fundamental service, the prerequisite of a registered NegoEx mechanism limits the attack surface.

Red Hat's mitigation

To mitigate this issue, ensure that the NegoEx mechanism is not registered in the `/etc/gss/mech` configuration file. Removing the corresponding entry from this file will prevent the vulnerable code path from being activated. This action may impact services that rely on the NegoEx GSS-API mechanism. A restart of affected Kerberos-dependent services may be required for the change to take effect.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10krb5-0:1.21.3-10.el10_2Fixed 2026-05-19RHSA-2026:19145
Red Hat Enterprise Linux 8krb5-0:1.18.2-34.el8_10Fixed 2026-05-13RHSA-2026:16799
Red Hat Enterprise Linux 9krb5-0:1.21.1-10.el9_8Fixed 2026-05-19RHSA-2026:19357
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskrb5-0:1.20.1-9.el9_2.6Fixed 2026-06-09RHSA-2026:24685
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionskrb5-0:1.21.1-2.el9_4.5Fixed 2026-06-09RHSA-2026:24686
Red Hat Enterprise Linux 9.6 Extended Update Supportkrb5-0:1.21.1-8.el9_6.2Fixed 2026-06-09RHSA-2026:24683
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791371080Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-rhel9:1791371069Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-rhel9:1791788287Fixed 2026-10-13RHSA-2026:82322
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-bundle:1791970484Fixed 2026-10-14RHSA-2026:82888
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9:1791459711Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-istio-csr-rhel9:1791459759Fixed 2026-10-13RHSA-2026:82354
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-rhel9:1789029076Fixed 2026-10-13RHSA-2026:82372
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-bundle:1791966259Fixed 2026-10-14RHSA-2026:82857
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/cert-manager-trust-manager-rhel9:1790598593Fixed 2026-09-28RHSA-2026:72502
Red Hat Enterprise Linux 6krb5Fix deferred
Red Hat Enterprise Linux 7krb5Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
13 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40356.

References

Check your stackJSON