Skip to main content
EPSS 0.6%top 53%

CVE-2026-40355: CWE-476 NULL Pointer Dereference in MIT Kerberos 5

0
Medium
Published: 04/28/2026 (04/28/2026, 00:00:00 UTC)
Source: GCVE Database
Vendor/Project: MIT
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]+dfsg-2ubuntu5.4+esm7?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1.10.1+dfsg-6.1ubuntu1=1.11.3+dfsg-3ubuntu2=1.12+dfsg-2ubuntu1=1.12+dfsg-2ubuntu2=1.12+dfsg-2ubuntu3=1.12+dfsg-2ubuntu4=1.12+dfsg-2ubuntu4.2=1.12+dfsg-2ubuntu5=1.12+dfsg-2ubuntu5.1=1.12+dfsg-2ubuntu5.2=1.12+dfsg-2ubuntu5.3=1.12+dfsg-2ubuntu5.4=1.12+dfsg-2ubuntu5.4+esm1=1.12+dfsg-2ubuntu5.4+esm2=1.12+dfsg-2ubuntu5.4+esm3=1.12+dfsg-2ubuntu5.4+esm4=1.12+dfsg-2ubuntu5.4+esm5=1.12+dfsg-2ubuntu5.4+esm6=1.12+dfsg-2ubuntu5.4+esm7
Ubuntu:Pro:16.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]+dfsg-5ubuntu2.2+esm7?arch=source&distro=esm-infra/xenial
Affected versions
=1.13.2+dfsg-2=1.13.2+dfsg-3=1.13.2+dfsg-4=1.13.2+dfsg-5=1.13.2+dfsg-5ubuntu1=1.13.2+dfsg-5ubuntu2=1.13.2+dfsg-5ubuntu2.1=1.13.2+dfsg-5ubuntu2.1+esm1=1.13.2+dfsg-5ubuntu2.2=1.13.2+dfsg-5ubuntu2.2+esm1=1.13.2+dfsg-5ubuntu2.2+esm2=1.13.2+dfsg-5ubuntu2.2+esm3=1.13.2+dfsg-5ubuntu2.2+esm4=1.13.2+dfsg-5ubuntu2.2+esm5=1.13.2+dfsg-5ubuntu2.2+esm6=1.13.2+dfsg-5ubuntu2.2+esm7
Ubuntu:Pro:18.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]+esm5?arch=source&distro=esm-infra/bionic
Affected versions
=1.15.1-2=1.16-2=1.16-2build1=1.16-2ubuntu0.1=1.16-2ubuntu0.1+esm1=1.16-2ubuntu0.2=1.16-2ubuntu0.3=1.16-2ubuntu0.4=1.16-2ubuntu0.4+esm1=1.16-2ubuntu0.4+esm2=1.16-2ubuntu0.4+esm3=1.16-2ubuntu0.4+esm5
Ubuntu:20.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
=1.17-6=1.17-6ubuntu3=1.17-6ubuntu4=1.17-6ubuntu4.1=1.17-6ubuntu4.2=1.17-6ubuntu4.3=1.17-6ubuntu4.4=1.17-6ubuntu4.6=1.17-6ubuntu4.7=1.17-6ubuntu4.8=1.17-6ubuntu4.9=1.17-6ubuntu4.11
Ubuntu:22.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
<1.19.2-2ubuntu0.8=1.18.3-6=1.18.3-7=1.19.2-0ubuntu1=1.19.2-1=1.19.2-2=1.19.2-2ubuntu0.1=1.19.2-2ubuntu0.2=1.19.2-2ubuntu0.3=1.19.2-2ubuntu0.4=1.19.2-2ubuntu0.5=1.19.2-2ubuntu0.6=1.19.2-2ubuntu0.7
Ubuntu:24.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
<1.20.1-6ubuntu2.7=1.20.1-3ubuntu1=1.20.1-5build1=1.20.1-6ubuntu1=1.20.1-6ubuntu2=1.20.1-6ubuntu2.1=1.20.1-6ubuntu2.2=1.20.1-6ubuntu2.3=1.20.1-6ubuntu2.4=1.20.1-6ubuntu2.5=1.20.1-6ubuntu2.6
Ubuntu:25.10more threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=1.21.3-4ubuntu2=1.21.3-5ubuntu1=1.21.3-5ubuntu2
Ubuntu:26.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
<1.22.1-2ubuntu4.1=1.21.3-5ubuntu2=1.22.1-2=1.22.1-2ubuntu2=1.22.1-2ubuntu3=1.22.1-2ubuntu4

Run 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

AILast updated: 09/07/2026, 16:21:32 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses