CVE-2026-40355

medium
Published 2026-05-19 ยท Modified 2026-05-26
CVSS v3
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.9

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.

Predictions

Exploit likelihood
69%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker ยท View original โ†— ยท DFSG

CVE-2026-40355 NameCVE-2026-40355 DescriptionIn 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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec,โ€ฆ

CVE-2026-40355

NameCVE-2026-40355
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4603-1, DSA-6293-1
Debian Bugs1135317

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
krb5 (PTS)bullseye1.18.3-6+deb11u5vulnerable
bullseye (security)1.18.3-6+deb11u8fixed
bookworm1.20.1-2+deb12u4vulnerable
bookworm (security)1.20.1-2+deb12u5fixed
trixie1.21.3-5vulnerable
trixie (security)1.21.3-5+deb13u1fixed
forky, sid1.22.1-2.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
krb5sourcebullseye1.18.3-6+deb11u8DLA-4603-1
krb5sourcebookworm1.20.1-2+deb12u5DSA-6293-1
krb5sourcetrixie1.21.3-5+deb13u1DSA-6293-1
krb5source(unstable)1.22.1-2.11135317

Notes

https://github.com/krb5/krb5/commit/2e75f0d9362fb979f5fc92829431a590a130929f

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://github.com/krb5/krb5/commit/2e75f0d9362fb979f5fc92829431a590a130929f

OS impact

OSVersionStatusFixed in
redhat rhel9fixed
debian debianbookwormfixed1.20.1-2+deb12u5
debian debianforkyfixed1.22.1-2.1
debian debiansidfixed1.22.1-2.1
debian debiantrixiefixed1.21.3-5+deb13u1
suse slesaffected
debian debianbullseyefixed1.18.3-6+deb11u8

References

CWEs

CWE-476

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.