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-2026-33995

CVE-2026-33995: FreeRDP Use-After-Free Vulnerability

CVE-2026-33995 is a use-after-free vulnerability in FreeRDP that causes crashes on systems with Kerberos configured. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published: April 2, 2026

CVE-2026-33995 Overview

A double-free vulnerability has been identified in FreeRDP, the free implementation of the Remote Desktop Protocol. The flaw exists in the Kerberos authentication handling functions kerberos_AcceptSecurityContext() and kerberos_InitializeSecurityContextA() within the WinPR library (winpr/libwinpr/sspi/Kerberos/kerberos.c). This vulnerability can cause FreeRDP clients to crash on systems where Kerberos and/or Kerberos U2U is configured, such as Samba AD member systems or systems using krb5 for NFS.

Critical Impact

FreeRDP clients on Kerberos-enabled systems may crash during NLA connection teardown following a failed authentication attempt, potentially causing denial of service conditions in enterprise environments.

Affected Products

  • FreeRDP versions prior to 3.24.2
  • Systems with Kerberos authentication configured (Samba AD members)
  • Systems using krb5 for NFS

Discovery Timeline

  • 2026-03-30 - CVE CVE-2026-33995 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-33995

Vulnerability Analysis

This double-free vulnerability (CWE-415) occurs in FreeRDP's Kerberos SSPI implementation. The issue manifests when memory allocated for security context handling is freed twice during the connection teardown process. Specifically, the vulnerability is triggered during Network Level Authentication (NLA) connection teardown when an authentication attempt has failed.

The root cause lies in improper handle invalidation ordering in the credentials and security context management code. When kerberos_FreeCredentialsHandle() is called, the code retrieves the credentials pointer and then attempts to free it, but fails to properly invalidate the secure handle before checking for null credentials. This creates a race condition where the same memory region can potentially be freed multiple times.

Root Cause

The vulnerability stems from incorrect ordering of security handle invalidation in the Kerberos SSPI credential handling code. The original implementation retrieved the lower pointer from the secure handle, checked for null, and only then invalidated the handle. This sequence allows for scenarios where the credentials memory is freed while the handle still references it, leading to a double-free condition when cleanup routines run during connection teardown after failed authentication.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction to trigger. An attacker could potentially exploit this vulnerability by:

  1. Initiating a Remote Desktop connection to a target FreeRDP client
  2. Configuring the connection to use Kerberos authentication
  3. Causing the authentication to fail in a specific manner
  4. Triggering the double-free condition during NLA connection teardown

The vulnerability requires that the target system has Kerberos authentication configured, which is common in enterprise environments using Active Directory or NFS with krb5.

c
// Security patch showing fix for handle invalidation ordering
// Source: https://github.com/FreeRDP/FreeRDP/commit/8078b8af1359055972e4fb2f509f543b69169391

// Before patch - incorrect ordering in kerberos.c:
{
#ifdef WITH_KRB5
	KRB_CREDENTIALS* credentials = sspi_SecureHandleGetLowerPointer(phCredential);
	if (!credentials)
		return SEC_E_INVALID_HANDLE;

	credentials_unref(credentials);

	sspi_SecureHandleInvalidate(phCredential);  // Invalidation happens AFTER potential free
	return SEC_E_OK;
#else
	return SEC_E_UNSUPPORTED_FUNCTION;

// After patch - correct ordering:
{
#ifdef WITH_KRB5
	KRB_CREDENTIALS* credentials = sspi_SecureHandleGetLowerPointer(phCredential);
	sspi_SecureHandleInvalidate(phCredential);  // Invalidation happens IMMEDIATELY
	if (!credentials)
		return SEC_E_INVALID_HANDLE;

	credentials_unref(credentials);

	return SEC_E_OK;
#else
	return SEC_E_UNSUPPORTED_FUNCTION;

Detection Methods for CVE-2026-33995

Indicators of Compromise

  • Unexpected FreeRDP client crashes during connection teardown
  • Core dumps showing double-free conditions in kerberos.c or credssp.c
  • Error logs indicating SEC_E_INVALID_HANDLE exceptions during NLA authentication
  • Repeated connection failures with Kerberos-enabled RDP sessions

Detection Strategies

  • Monitor FreeRDP client processes for abnormal termination signals (SIGABRT, SIGSEGV)
  • Implement crash monitoring on systems running FreeRDP with Kerberos authentication
  • Review system logs for patterns of failed NLA authentication followed by client crashes
  • Deploy memory debugging tools (AddressSanitizer) in development/testing environments to detect double-free conditions

Monitoring Recommendations

  • Enable verbose logging for FreeRDP clients to capture authentication failure sequences
  • Configure alerting on repeated FreeRDP process crashes on Kerberos-enabled systems
  • Monitor authentication logs on Samba AD domain controllers for suspicious connection patterns
  • Track connection teardown events that follow failed authentication attempts

How to Mitigate CVE-2026-33995

Immediate Actions Required

  • Upgrade FreeRDP to version 3.24.2 or later immediately
  • Review and audit systems using Kerberos authentication with FreeRDP clients
  • Consider temporarily disabling Kerberos authentication for FreeRDP if immediate patching is not possible
  • Monitor affected systems for crash events until patches are applied

Patch Information

The vulnerability has been patched in FreeRDP version 3.24.2. The fix addresses the handle invalidation ordering issue by calling sspi_SecureHandleInvalidate() immediately after retrieving the pointer, before any null checks or memory operations. This ensures the handle is properly invalidated to prevent double-free scenarios.

For detailed patch information, refer to the GitHub FreeRDP Commit and the GitHub Security Advisory GHSA-mv25-f4p2-5mxx.

Workarounds

  • Temporarily disable Kerberos authentication and use alternative authentication methods if patching is delayed
  • Implement network segmentation to limit exposure of systems running vulnerable FreeRDP versions
  • Configure connection retry limits to minimize impact of crashes on user experience
  • Deploy application-level monitoring to automatically restart crashed FreeRDP client processes
bash
# Configuration example - Check FreeRDP version and upgrade
# Check current version
xfreerdp --version

# On Debian/Ubuntu systems, upgrade FreeRDP
sudo apt update
sudo apt install freerdp2-x11

# Alternatively, build from patched source
git clone https://github.com/FreeRDP/FreeRDP.git
cd FreeRDP
git checkout 3.24.2
cmake -B build
cmake --build build
sudo cmake --install build

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechFreerdp

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-415
  • Vendor Resources
  • GitHub FreeRDP Commit

  • GitHub Security Advisory GHSA-mv25-f4p2-5mxx
  • Related CVEs
  • CVE-2026-31897: FreeRDP Use-After-Free Vulnerability

  • CVE-2026-25959: FreeRDP Use After Free Vulnerability

  • CVE-2026-25955: FreeRDP Use-After-Free Vulnerability

  • CVE-2026-25954: FreeRDP 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