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
    • 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-27015

CVE-2026-27015: FreeRDP Denial of Service Vulnerability

CVE-2026-27015 is a denial of service vulnerability in FreeRDP that allows malicious RDP servers to crash clients via smartcard redirection. This article covers the technical details, affected versions, and mitigation steps.

Published: February 27, 2026

CVE-2026-27015 Overview

CVE-2026-27015 is a Denial of Service vulnerability affecting FreeRDP, a free implementation of the Remote Desktop Protocol. The vulnerability exists due to a missing bounds check in smartcard_unpack_read_size_align() within libfreerdp/utils/smartcard_pack.c at line 1703. This flaw allows a malicious RDP server to crash the FreeRDP client by triggering a reachable WINPR_ASSERT that leads to an abort() call.

The crash specifically occurs in upstream builds where WITH_VERBOSE_WINPR_ASSERT=ON is enabled, which is the default configuration in FreeRDP 3.22.0 and current WinPR CMake defaults. Exploitation requires that smartcard redirection be explicitly enabled by the user through command-line options such as /smartcard or /smartcard-logon.

Critical Impact

A malicious RDP server can remotely crash FreeRDP clients with smartcard redirection enabled, causing denial of service through an uncontrolled assertion failure.

Affected Products

  • FreeRDP versions prior to 3.23.0
  • FreeRDP 3.22.0 with default WITH_VERBOSE_WINPR_ASSERT=ON configuration
  • Systems using FreeRDP clients with smartcard redirection enabled (/smartcard or /smartcard-logon)

Discovery Timeline

  • 2026-02-25 - CVE-2026-27015 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-27015

Vulnerability Analysis

This vulnerability is classified under CWE-617 (Reachable Assertion), representing a class of flaws where assertions intended for development debugging can be triggered through malicious input in production environments. The vulnerability resides in the smartcard packet handling code, specifically in the function responsible for unpacking and aligning read sizes during smartcard communication.

When processing smartcard-related RDP traffic, the smartcard_unpack_read_size_align() function fails to properly validate stream length before performing padding operations. This missing bounds check allows an attacker controlling a malicious RDP server to send crafted packets that trigger the WINPR_ASSERT macro, which in verbose assertion builds calls abort(), immediately terminating the client process.

The attack requires user interaction in that the victim must connect to the malicious RDP server with smartcard redirection enabled. This is not a default configuration, but is commonly used in enterprise environments for smartcard-based authentication workflows.

Root Cause

The root cause is a missing validation of stream length before performing padding alignment operations in the smartcard packet unpacking routine. The function smartcard_unpack_read_size_align() did not check whether sufficient data remained in the stream before attempting to read padding bytes, leading to an assertion failure when the stream was shorter than expected.

Attack Vector

The attack vector is network-based, requiring a victim to connect to a malicious RDP server with smartcard redirection enabled. The attacker must:

  1. Operate a malicious RDP server that the victim connects to
  2. Wait for the victim to initiate a connection with /smartcard or /smartcard-logon options enabled
  3. Send malformed smartcard-related RDP packets designed to trigger the bounds check failure
  4. The client's WINPR_ASSERT macro fires, calling abort() and crashing the FreeRDP client

The following patch demonstrates how the vulnerability was fixed by adding proper return value checking:

c
 	    (ioControlCode != SCARD_IOCTL_RELEASETARTEDEVENT))
 	{
 		offset = (RDPDR_DEVICE_IO_REQUEST_LENGTH + RDPDR_DEVICE_IO_CONTROL_REQ_HDR_LENGTH);
-		smartcard_unpack_read_size_align(s, Stream_GetPosition(s) - offset, 8);
+		if (smartcard_unpack_read_size_align(s, Stream_GetPosition(s) - offset, 8) < 0)
+			return STATUS_INVALID_PARAMETER;
 	}

 	if (Stream_GetPosition(s) < Stream_Length(s))

Source: GitHub Commit Changes

Additional fix in the memory allocation path:

c
 		return SCARD_E_NO_MEMORY;
 	Stream_Read(s, r, len);
 	const LONG pad = smartcard_unpack_read_size_align(s, len, 4);
+	if (pad < 0)
+	{
+		free(r);
+		return STATUS_INVALID_PARAMETER;
+	}
 	len += (size_t)pad;
 	*data = r;
 	if (plen)

Source: GitHub Commit Changes

Detection Methods for CVE-2026-27015

Indicators of Compromise

  • Unexpected FreeRDP client crashes with assertion failure messages referencing smartcard_pack.c
  • Core dumps or crash reports showing abort() called from WINPR_ASSERT in smartcard-related functions
  • Log entries indicating connection failures during smartcard redirection to untrusted or suspicious RDP servers

Detection Strategies

  • Monitor for abnormal FreeRDP client terminations, particularly those with SIGABRT signals
  • Implement network monitoring to detect connections to unknown or potentially malicious RDP servers
  • Enable verbose logging in FreeRDP clients to capture smartcard-related packet processing errors
  • Deploy endpoint detection rules to identify crash patterns consistent with assertion failures

Monitoring Recommendations

  • Review FreeRDP client logs for repeated connection failures or crashes when smartcard features are used
  • Monitor system crash reporters for FreeRDP-related assertion failures
  • Audit RDP server connections in enterprise environments to identify connections to unauthorized servers

How to Mitigate CVE-2026-27015

Immediate Actions Required

  • Upgrade FreeRDP to version 3.23.0 or later which contains the security fix
  • Disable smartcard redirection when connecting to untrusted RDP servers
  • Review and restrict RDP server connections to only trusted, verified servers within your organization
  • Build FreeRDP with WITH_VERBOSE_WINPR_ASSERT=OFF as a temporary workaround if upgrade is not immediately possible

Patch Information

The vulnerability is fixed in FreeRDP version 3.23.0. The fix adds proper bounds checking on the return value of smartcard_unpack_read_size_align(), returning STATUS_INVALID_PARAMETER when stream length validation fails instead of triggering an assertion. The patch is available through the GitHub commit 65d59d3b3c2f630f2ea862687ecf5f95f8115244 and the GitHub Security Advisory GHSA-7g72-39pq-4725.

Workarounds

  • Avoid using /smartcard or /smartcard-logon options when connecting to untrusted RDP servers
  • Build FreeRDP from source with WITH_VERBOSE_WINPR_ASSERT=OFF to prevent assertion-triggered crashes
  • Implement network segmentation to prevent connections to unauthorized RDP servers
  • Use VPN or other secure tunneling when connecting to remote RDP servers
bash
# Build FreeRDP with verbose assertions disabled as a temporary workaround
cmake -DWITH_VERBOSE_WINPR_ASSERT=OFF ..
make

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechFreerdp

  • SeverityMEDIUM

  • CVSS Score5.0

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-617
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-7g72-39pq-4725
  • Related CVEs
  • CVE-2026-33952: FreeRDP Gateway DOS Vulnerability

  • CVE-2026-33977: FreeRDP Client DoS Vulnerability

  • CVE-2026-33983: FreeRDP Remote Desktop Protocol DoS Flaw

  • CVE-2026-31884: FreeRDP ADPCM Decoder DoS Vulnerability
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