Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2022-42898

CVE-2022-42898: MIT Kerberos 5 RCE Vulnerability

CVE-2022-42898 is a remote code execution flaw in MIT Kerberos 5 caused by integer overflows in PAC parsing. Attackers can exploit this on 32-bit systems to execute code. This post covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2022-42898 Overview

CVE-2022-42898 is an integer overflow vulnerability in the Privilege Attribute Certificate (PAC) parsing functionality of MIT Kerberos 5 (krb5) before version 1.19.4 and versions 1.20.x before 1.20.1. The flaw exists in krb5_pac_parse within lib/krb5/krb/pac.c and can lead to remote code execution on 32-bit platforms through a resultant heap-based buffer overflow. On other platforms, the vulnerability causes a denial of service condition. Heimdal versions before 7.7.1 contain a similar vulnerability.

Critical Impact

Authenticated attackers can exploit this integer overflow to achieve remote code execution on vulnerable KDC, kadmind, or GSS/Kerberos application servers running on 32-bit platforms. The vulnerability affects critical authentication infrastructure components.

Affected Products

  • MIT Kerberos 5 versions before 1.19.4
  • MIT Kerberos 5 versions 1.20.x before 1.20.1
  • Heimdal versions before 7.7.1
  • Samba (multiple affected versions)

Discovery Timeline

  • December 25, 2022 - CVE-2022-42898 published to NVD
  • April 14, 2025 - Last updated in NVD database

Technical Details for CVE-2022-42898

Vulnerability Analysis

The vulnerability exists in the PAC parsing code within MIT Kerberos 5, specifically in the krb5_pac_parse function located in lib/krb5/krb/pac.c. The PAC (Privilege Attribute Certificate) is a Microsoft extension to Kerberos that carries authorization data including user group memberships and other security-relevant information.

The integer overflow occurs when processing the number of buffers specified in a maliciously crafted PAC structure. When the buffer count is multiplied to calculate memory allocation sizes, the arithmetic operation can overflow on 32-bit platforms, resulting in a smaller-than-expected memory allocation. Subsequent operations then write beyond the allocated buffer boundaries, causing a heap-based buffer overflow.

On 64-bit platforms, while the integer overflow may not lead directly to code execution, the malformed PAC data can still trigger denial of service conditions by causing unexpected behavior in the authentication process.

Root Cause

The root cause is the absence of proper bounds checking on the number of PAC buffers before performing arithmetic operations that calculate memory allocation sizes. The integer overflow vulnerability (CWE-190) occurs because the code did not validate that the buffer count would not cause arithmetic overflow when multiplied by the size of buffer metadata structures. This allows an attacker to supply a crafted PAC with an extremely large buffer count that, when multiplied, wraps around to a small value, leading to insufficient memory allocation followed by heap corruption during parsing.

Attack Vector

The attack is network-based and requires low-privilege authentication to the Kerberos system. An attacker who has obtained valid Kerberos credentials (even with minimal privileges) can forge or manipulate PAC data within Kerberos tickets. When these malicious tickets are processed by vulnerable KDC servers, kadmind daemons, or application servers using GSS-API with Kerberos, the integer overflow is triggered during PAC parsing.

On 32-bit systems, successful exploitation can lead to arbitrary code execution with the privileges of the Kerberos service (typically root or SYSTEM). On 64-bit systems, the attack results in service crashes causing denial of service to authentication infrastructure.

c
// Security patch adding MAX_BUFFERS limit - Source: GitHub krb5 Commit ea92d2f
#include "int-proto.h"
#include "authdata.h"

+#define MAX_BUFFERS 4096

/* draft-brezak-win2k-krb-authz-00 */

/*

Source: GitHub krb5 Commit ea92d2f

The patch introduces a MAX_BUFFERS constant of 4096 to prevent the integer overflow by limiting the number of buffers that can be specified in a PAC structure.

Detection Methods for CVE-2022-42898

Indicators of Compromise

  • Abnormal crashes or restarts of KDC, kadmind, or Kerberos-enabled application services
  • Unusual authentication failures or service unavailability in Kerberos infrastructure
  • Evidence of heap corruption or memory access violations in Kerberos service logs
  • Presence of malformed Kerberos tickets with unusually large PAC buffer counts

Detection Strategies

  • Monitor Kerberos service processes for unexpected crashes or memory corruption errors
  • Implement network intrusion detection rules to identify Kerberos traffic with anomalous PAC structures
  • Deploy endpoint detection to identify exploitation attempts against authentication services
  • Review system logs for segmentation faults or heap overflow indicators in KDC and kadmind processes

Monitoring Recommendations

  • Enable detailed logging for Kerberos authentication services to capture PAC parsing errors
  • Configure alerting on KDC and kadmind service restarts or unexpected terminations
  • Monitor memory usage patterns for Kerberos services to detect anomalous allocation behavior
  • Implement file integrity monitoring on Kerberos binaries and configuration files

How to Mitigate CVE-2022-42898

Immediate Actions Required

  • Upgrade MIT Kerberos 5 to version 1.19.4 or later (for 1.19.x branch) or 1.20.1 or later (for 1.20.x branch)
  • Update Heimdal to version 7.7.1 or later
  • Apply Samba security updates as specified in the Samba CVE-2022-42898 Advisory
  • Prioritize patching of 32-bit systems due to higher exploitation impact

Patch Information

Security patches are available from the respective vendors:

  • MIT Kerberos: Patched in versions 1.19.4 and 1.20.1. The fix adds a MAX_BUFFERS limit of 4096 to prevent integer overflow during PAC parsing. Details available at the MIT Kerberos Advisories page and MIT krb5 Version 1.20 README.
  • Heimdal: Patched in version 7.7.1. See the GitHub Security Advisory GHSA-64mq-fvfj-5x3c for details.
  • Samba: Security updates available. Refer to Samba Bugzilla Report #15203 for tracking.

Workarounds

  • Isolate Kerberos infrastructure on dedicated network segments with restricted access
  • Implement strict network access controls to limit which systems can communicate with KDC and kadmind services
  • Consider migrating vulnerable 32-bit Kerberos deployments to 64-bit platforms to reduce exploitation severity
  • Monitor for and block suspicious Kerberos ticket requests at network boundaries where feasible
bash
# Verify installed krb5 version on Linux systems
krb5-config --version

# Check Samba version for vulnerability assessment
samba --version

# Review Kerberos service status
systemctl status krb5kdc kadmin

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMit Kerberos 5

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability8.89%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • GitHub Security Advisory GHSA-64mq-fvfj-5x3c

  • Gentoo GLSA 2023-09-06

  • Gentoo GLSA 2023-10-06

  • NetApp Security Advisory ntap-20230216-0008

  • NetApp Security Advisory ntap-20230223-0001

  • Samba CVE-2022-42898 Advisory
  • Vendor Resources
  • Samba Bugzilla Report #15203

  • GitHub krb5 Commit ea92d2f

  • MIT Kerberos Advisories

  • MIT krb5 Version 1.19

  • MIT krb5 Version 1.20 README
  • Related CVEs
  • CVE-2024-37371: MIT Kerberos 5 Use-After-Free Vulnerability

  • CVE-2024-26458: MIT Kerberos 5 Information Disclosure

  • CVE-2024-26461: MIT Kerberos 5 Information Disclosure

  • CVE-2024-26462: MIT Kerberos 5 Memory Leak 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