The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40355

CVE-2026-40355: MIT Kerberos 5 DOS Vulnerability

CVE-2026-40355 is a denial of service vulnerability in MIT Kerberos 5 caused by NULL pointer dereference. Remote attackers can crash affected systems. This article covers technical details, affected versions, and mitigations.

Published: April 30, 2026

CVE-2026-40355 Overview

A NULL pointer dereference vulnerability exists in MIT Kerberos 5 (krb5) before version 1.22.3. The flaw occurs when an application calls gss_accept_sec_context() on a system with a NegoEx mechanism registered in /etc/gss/mech. An unauthenticated remote attacker can exploit this vulnerability to trigger a NULL pointer dereference in the parse_nego_message function, causing the process to terminate unexpectedly and resulting in a denial of service condition.

Critical Impact

Unauthenticated remote attackers can crash applications using Kerberos authentication by sending specially crafted NegoEx messages, potentially disrupting critical authentication services.

Affected Products

  • MIT Kerberos 5 (krb5) versions prior to 1.22.3
  • Systems with NegoEx mechanism registered in /etc/gss/mech
  • Applications utilizing gss_accept_sec_context() API

Discovery Timeline

  • April 28, 2026 - CVE-2026-40355 published to NVD
  • April 28, 2026 - Last updated in NVD database

Technical Details for CVE-2026-40355

Vulnerability Analysis

This vulnerability is classified as CWE-476 (NULL Pointer Dereference). The flaw resides within the NegoEx message parsing functionality in the SPNEGO GSS-API implementation. When processing NegoEx protocol messages, the parse_nego_message function fails to properly validate the return value from the vector_base() function before attempting to use the returned pointer in subsequent operations.

The vulnerability can be triggered remotely over the network without requiring any authentication. An attacker can send a malformed NegoEx message with invalid size parameters that cause vector_base() to return NULL. The code then attempts to iterate over extensions using this NULL pointer, leading to process termination when the dereference occurs.

Root Cause

The root cause is inadequate input validation in the NegoEx parsing code within src/lib/gssapi/spnego/negoex_util.c. Specifically, the code retrieves offset and count values from the input message and passes them to vector_base(), but fails to check whether the function returns a valid pointer before proceeding to use it in a loop that accesses extension data. This missing NULL check allows an attacker to craft a message with invalid offset or count values that result in a NULL return, which is subsequently dereferenced.

Attack Vector

The attack can be conducted remotely over the network by any unauthenticated attacker. The attacker sends a specially crafted NegoEx negotiation message to a service that uses the Kerberos GSS-API for authentication. The malicious message contains invalid size parameters (offset and count values) that cause the vector_base() function to fail and return NULL. When the vulnerable code attempts to process extensions using this NULL pointer, the application crashes.

c
     offset = k5_input_get_uint32_le(in);
     count = k5_input_get_uint16_le(in);
     p = vector_base(offset, count, EXTENSION_LENGTH, msg_base, msg_len);
+    if (p == NULL) {
+        *minor = ERR_NEGOEX_INVALID_MESSAGE_SIZE;
+        return GSS_S_DEFECTIVE_TOKEN;
+    }
     for (i = 0; i < count; i++) {
         extension_type = load_32_le(p + i * EXTENSION_LENGTH);
         if (extension_type & EXTENSION_FLAG_CRITICAL) {

Source: GitHub KRB5 Commit Change

Detection Methods for CVE-2026-40355

Indicators of Compromise

  • Unexpected crashes or terminations of Kerberos-enabled services such as sshd, httpd, or custom applications using GSS-API
  • Core dumps or crash logs showing segmentation faults in parse_nego_message or negoex_util.c
  • Abnormal patterns of failed authentication attempts immediately followed by service restarts

Detection Strategies

  • Monitor system logs for segmentation fault signals (SIGSEGV) in processes using Kerberos authentication
  • Implement network-based detection rules for malformed NegoEx message patterns with invalid offset or count fields
  • Configure application crash monitoring to alert on repeated failures of GSS-API-enabled services

Monitoring Recommendations

  • Enable verbose logging for Kerberos and GSS-API operations to capture authentication attempt details
  • Deploy intrusion detection system (IDS) signatures for NegoEx protocol anomalies
  • Monitor service availability metrics for applications dependent on Kerberos authentication

How to Mitigate CVE-2026-40355

Immediate Actions Required

  • Upgrade MIT Kerberos 5 to version 1.22.3 or later which contains the security fix
  • Review and audit systems for NegoEx mechanism registration in /etc/gss/mech
  • If patching is not immediately possible, consider temporarily disabling NegoEx if not required for operations

Patch Information

The MIT Kerberos development team has addressed this vulnerability in version 1.22.3. The patch adds proper NULL pointer validation after the vector_base() call to ensure invalid messages are rejected before any dereference occurs. The fix returns GSS_S_DEFECTIVE_TOKEN with an appropriate minor status code when an invalid message is detected. Security patches and updates are available through the MIT Kerberos Security Advisory page.

Workarounds

  • If upgrading is not immediately possible, consider removing NegoEx mechanism entries from /etc/gss/mech if they are not required
  • Implement network-level filtering to block potentially malicious NegoEx messages at perimeter firewalls
  • Deploy service restarts with automatic recovery to minimize downtime impact from potential exploitation
bash
# Check for NegoEx mechanism registration
cat /etc/gss/mech | grep -i negoex

# Verify krb5 version
krb5-config --version

# After patching, verify the new version is installed
rpm -qa | grep krb5   # For RPM-based systems
dpkg -l | grep krb5   # For Debian-based systems

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMit Kerberos

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Technical References
  • KRB5 Unauthenticated Vulnerabilities Analysis

  • GitHub KRB5 Commit Change

  • MIT Kerberos Security Advisory
  • Related CVEs
  • CVE-2026-40356: MIT Kerberos 5 DOS Vulnerability

  • CVE-2025-24528: MIT Kerberos 5 Privilege Escalation Flaw

  • CVE-2025-3576: MIT Kerberos Auth Bypass Vulnerability

  • CVE-2023-39975: MIT Kerberos 5 Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English