Quick answers
- Is CVE-2026-40356 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-40356 being exploited in the wild.
- How severe is CVE-2026-40356?
- Medium severity, with a CVSS score of 5.9, published 28 April 2026.
- Which products and versions are affected?
- Mit Kerberos 5 1.18.0 to 1.22.2.
- Is there a fix for CVE-2026-40356?
- A patch was published on 2026-04-28: Fixed in upstream commit 2e75f0d Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-40356 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-40356?
- Check whether you run Mit Kerberos 5 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An integer underflow vulnerability exists in the parse_message() function within src/lib/gssapi/spnego/negoex_util.c of MIT Kerberos 5. The flaw is triggered when a short header_len is provided in a NegoEx message, leading to an incorrect calculation of the remaining message length and a subsequent out-of-bounds read of up to 52 bytes. This can be exploited by an unauthenticated remote attacker if the target system has a NegoEx mechanism registered in /etc/gss/mech and calls gss_accept_sec_context(). While the out-of-bounds read can cause a process crash (denial-of-service), the vendor indicates that exfiltration of the read memory is unlikely. The issue is fixed in version 1.22.3.
Affected products
- MIT Kerberos 5 1.18.0 to 1.22.2
Timeline
- 2026-04-27: disclosed: Initial disclosure by researcher Cem Onat Karagun
- 2026-04-28: advisory: NVD and MITRE published advisory
- 2026-04-28: patched: Fixed in upstream commit 2e75f0d