CVE-2026-40355: CWE-476 NULL Pointer Dereference in MIT Kerberos 5
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.
AI Analysis
Technical Summary
Kerberos contains an integer underflow vulnerability in the berval2tl_data() function (CVE-2026-11850) and vulnerabilities in the NegoEx mechanism parsing (CVE-2026-40355, CVE-2026-40356). These flaws could be exploited by a remote attacker to cause Kerberos to crash, resulting in denial of service. The vulnerabilities affect multiple versions of Kerberos packages distributed with Ubuntu and Red Hat Hardened Images. Vendor advisories from Ubuntu and Red Hat confirm the issues and provide updated package versions that fix these vulnerabilities.
Potential Impact
Successful exploitation of these vulnerabilities can cause Kerberos services to crash, leading to denial of service conditions. There is no indication of privilege escalation, data disclosure, or code execution. No known exploits in the wild have been reported.
Mitigation Recommendations
A patch is available from both Ubuntu and Red Hat. Users should update their Kerberos packages to the fixed versions as specified in the vendor advisories and restart Kerberos services to apply the changes. No additional mitigation is required beyond applying the official updates.
CVE-2026-40355: CWE-476 NULL Pointer Dereference in MIT Kerberos 5
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.
CVSS v3.1
Score 5.9medium
Affected software
pkg:deb/ubuntu/[email protected]+dfsg-2ubuntu5.4+esm7?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/[email protected]+dfsg-5ubuntu2.2+esm7?arch=source&distro=esm-infra/xenialpkg:deb/ubuntu/[email protected]+esm5?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/[email protected]?arch=source&distro=focalpkg:deb/ubuntu/[email protected]?arch=source&distro=jammypkg:deb/ubuntu/[email protected]?arch=source&distro=noblepkg:deb/ubuntu/[email protected]?arch=source&distro=questingpkg:deb/ubuntu/[email protected]?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Kerberos contains an integer underflow vulnerability in the berval2tl_data() function (CVE-2026-11850) and vulnerabilities in the NegoEx mechanism parsing (CVE-2026-40355, CVE-2026-40356). These flaws could be exploited by a remote attacker to cause Kerberos to crash, resulting in denial of service. The vulnerabilities affect multiple versions of Kerberos packages distributed with Ubuntu and Red Hat Hardened Images. Vendor advisories from Ubuntu and Red Hat confirm the issues and provide updated package versions that fix these vulnerabilities.
Potential Impact
Successful exploitation of these vulnerabilities can cause Kerberos services to crash, leading to denial of service conditions. There is no indication of privilege escalation, data disclosure, or code execution. No known exploits in the wild have been reported.
Mitigation Recommendations
A patch is available from both Ubuntu and Red Hat. Users should update their Kerberos packages to the fixed versions as specified in the vendor advisories and restart Kerberos services to apply the changes. No additional mitigation is required beyond applying the official updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-40355
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a61511b9c2644c7f8da5d17
Added to database: 07/22/2026, 23:24:11 UTC
Last enriched: 09/07/2026, 16:21:32 UTC
Last updated: 09/12/2026, 10:01:31 UTC
Views: 26
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.