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-40356

CVE-2026-40356: MIT Kerberos 5 DOS Vulnerability

CVE-2026-40356 is a denial of service flaw in MIT Kerberos 5 caused by an integer underflow that allows remote attackers to crash processes. This article covers technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-40356 Overview

CVE-2026-40356 is an integer underflow vulnerability in MIT Kerberos 5 (krb5) before version 1.22.3 that results in an out-of-bounds read condition. The vulnerability exists in the NegoEx mechanism parsing functionality and can be triggered 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 over the network, potentially causing the target process to terminate in the parse_message function.

Critical Impact

Remote unauthenticated attackers can trigger a denial of service condition by exploiting the integer underflow in NegoEx message parsing, causing Kerberos-dependent services to crash.

Affected Products

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

Discovery Timeline

  • 2026-04-28 - CVE-2026-40356 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2026-40356

Vulnerability Analysis

This vulnerability is classified as CWE-191 (Integer Underflow). The flaw resides in the NegoEx utility code within the SPNEGO implementation of the GSS-API. When parsing NegoEx messages, the code fails to properly validate message size boundaries before performing arithmetic operations, leading to an integer underflow condition.

The vulnerable code path is triggered during the processing of extension vectors in NegoEx protocol messages. When the vector_base() function is called with offset, count, and length parameters derived from attacker-controlled input, insufficient validation allows for scenarios where the calculated memory access falls outside the intended buffer boundaries.

The attack requires network access and targets systems configured with NegoEx mechanism support. While the attack complexity is considered high due to the specific configuration requirements, successful exploitation requires no authentication or user interaction, making it a viable target for remote denial of service attacks against Kerberos infrastructure.

Root Cause

The root cause is insufficient bounds checking in the NegoEx message parsing logic within src/lib/gssapi/spnego/negoex_util.c. The code retrieves offset and count values from incoming messages and uses them to calculate memory addresses without first verifying that the resulting pointer is valid. When the vector_base() function returns a NULL pointer (indicating an invalid calculation), the code proceeds to access memory at that location, resulting in an out-of-bounds read that can crash the process.

Attack Vector

The attack vector is network-based and does not require authentication. An attacker can craft a malicious NegoEx protocol message with specially chosen offset and count values that trigger the integer underflow condition. When this message is processed by a Kerberos-enabled service calling gss_accept_sec_context(), the vulnerable parsing code attempts to read from an invalid memory location, causing the parse_message function to crash.

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

Detection Methods for CVE-2026-40356

Indicators of Compromise

  • Unexpected crashes of Kerberos-related services (KDC, kadmind, or applications using GSS-API)
  • Process termination events in parse_message or related NegoEx parsing functions
  • Anomalous network traffic targeting Kerberos ports (TCP/UDP 88, 749) with malformed NegoEx messages
  • Core dumps from krb5-enabled applications showing crashes in negoex_util.c code paths

Detection Strategies

  • Monitor system logs for repeated crashes of Kerberos authentication services
  • Implement network intrusion detection rules to identify malformed NegoEx protocol messages
  • Deploy application crash monitoring to detect patterns indicative of exploitation attempts
  • Audit systems for the presence of NegoEx mechanism configuration in /etc/gss/mech

Monitoring Recommendations

  • Enable verbose logging for GSS-API operations to capture authentication failures and parsing errors
  • Configure crash dump collection for Kerberos services to facilitate forensic analysis
  • Implement alerting on service restart patterns that may indicate ongoing exploitation
  • Monitor network connections to Kerberos services for unusual traffic patterns or source addresses

How to Mitigate CVE-2026-40356

Immediate Actions Required

  • Upgrade MIT Kerberos 5 to version 1.22.3 or later which includes the security fix
  • Review systems for NegoEx mechanism configuration in /etc/gss/mech and disable if not required
  • Apply vendor-provided security patches for any operating system packages containing krb5
  • Implement network segmentation to limit exposure of Kerberos services to untrusted networks

Patch Information

MIT Kerberos has released a fix in version 1.22.3. The patch adds proper NULL pointer validation after the vector_base() function call, ensuring that invalid message sizes result in a controlled error return (GSS_S_DEFECTIVE_TOKEN) rather than an out-of-bounds memory access. The fix is available in commit 2e75f0d9362fb979f5fc92829431a590a130929f.

For detailed patch information, see the MIT Kerberos Advisory page. Additional technical analysis is available in the CEMS Vulnerabilities Analysis.

Workarounds

  • Remove or comment out NegoEx mechanism entries from /etc/gss/mech if the mechanism is not required for your environment
  • Restrict network access to Kerberos services using firewall rules to limit exposure to trusted clients only
  • Deploy intrusion prevention systems (IPS) to filter malformed Kerberos/NegoEx traffic at the network perimeter
bash
# Configuration example
# Disable NegoEx mechanism by commenting out or removing the entry in /etc/gss/mech
# Backup the original configuration
sudo cp /etc/gss/mech /etc/gss/mech.bak

# Comment out NegoEx mechanism entries (if present)
sudo sed -i 's/^negoex/#negoex/' /etc/gss/mech

# Restrict Kerberos service access via firewall (example using iptables)
sudo iptables -A INPUT -p tcp --dport 88 -s 10.0.0.0/8 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 88 -s 10.0.0.0/8 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 88 -j DROP
sudo iptables -A INPUT -p udp --dport 88 -j DROP

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-191
  • Technical References
  • CEMS Vulnerabilities Analysis

  • GitHub krb5 Commit

  • MIT Kerberos Advisory
  • Related CVEs
  • CVE-2026-40355: 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