CVE-2026-40356: CVE-2026-40355, CVE-2026-40356: MIT krb5 1.18+ Unauthenticated Network ad overrun and null pointer defence

Published Apr 27, 2026
·
Updated

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 gssacceptseccontext() 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 parsemessage.

Affected Software

16 affected componentsFixes available
MIT krb5>=1.18<1.22.3
Microsoft azl3 krb5 1.21.3-3
MIT Kerberos 5>=1.18.0<=1.22.2
IBM CICS Transaction Gateway for Multiplatforms<=9.1
IBM CICS Transaction Gateway for Multiplatforms<=9.2
IBM CICS Transaction Gateway for Multiplatforms<=9.3
IBM CICS Transaction Gateway for Multiplatforms<=10.1
Microsoft azl3 krb5 1.21.3-4<1.21.3-4
1.21.3-4
Microsoft azl3 krb5 1.21.3-3<1.21.3-4
1.21.3-4
alpine/krb5<1.22.3-r0
1.22.3-r0
alpine/krb5<1.22.3-r0
1.22.3-r0
debian/krb5
1.18.3-6+deb11u81.20.1-2+deb12u51.21.3-5+deb13u11.22.1-2.1
ubuntu/krb5<1.19.2-2ubuntu0.8
1.19.2-2ubuntu0.8
ubuntu/krb5<1.20.1-6ubuntu2.7
1.20.1-6ubuntu2.7
ubuntu/krb5*
ubuntu/krb5<1.22.1-2ubuntu4.1
1.22.1-2ubuntu4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.21.3-4
  2. Upgrade

    Upgrade alpine/krb5 to a version that resolves this vulnerability.

    Fixed in 1.22.3-r0
  3. Upgrade

    Upgrade debian/krb5 to a version that resolves this vulnerability.

    Fixed in 1.18.3-6+deb11u8Fixed in 1.20.1-2+deb12u5Fixed in 1.21.3-5+deb13u1Fixed in 1.22.1-2.1
  4. Upgrade

    Upgrade ubuntu/krb5 to a version that resolves this vulnerability.

    Fixed in 1.19.2-2ubuntu0.8
  5. Upgrade

    Upgrade ubuntu/krb5 to a version that resolves this vulnerability.

    Fixed in 1.20.1-6ubuntu2.7
  6. Upgrade

    Upgrade ubuntu/krb5 to a version that resolves this vulnerability.

    Fixed in 1.22.1-2ubuntu4.1
  7. Upgrade

    Upgrade MIT krb5 to a version that resolves this vulnerability.

    Fixed in 1.22.3Patch CVE-2026-40355
  8. Upgrade

    Upgrade MIT krb5 to a version that resolves this vulnerability.

    Fixed in 1.22.3Patch CVE-2026-40356

Event History

Apr 28, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:02 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness
May 1, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:03 AM
WeaknessAffected Software
May 11, 2026
Updated
via Microsoft·09:42 PM
Description
Jun 9, 2026
Updated
via Red Hat·12:56 AM
Severity
Jul 8, 2026
Data Sourced
via NVD·12:48 PM
RemedyAffected Software
Updated
via NVD·12:48 PM
Severity
Event
via NVD·12:48 PM
Jul 29, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 25, 2026
Updated
via Microsoft·09:36 AM
Weakness
Nov 10, 2026
Updated
via OSV·03:30 PM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-40356?

CVE-2026-40356 is classified as a high-severity vulnerability due to its potential for remote exploitation.

2

How do I fix CVE-2026-40356?

To fix CVE-2026-40356, upgrade MIT krb5 to version 1.22.3 or later.

3

What are the risks associated with CVE-2026-40356?

The risks associated with CVE-2026-40356 include unauthorized access and potential system crashes due to integer underflow issues.

4

Which versions of MIT krb5 are affected by CVE-2026-40356?

CVE-2026-40356 affects MIT krb5 versions prior to 1.22.3, specifically from version 1.18 onwards.

5

Is user authentication required to exploit CVE-2026-40356?

No, user authentication is not required to exploit CVE-2026-40356, making it particularly dangerous.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203