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
    • 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-2025-68670

CVE-2025-68670: xrdp Buffer Overflow Vulnerability

CVE-2025-68670 is a stack-based buffer overflow flaw in xrdp RDP server that enables unauthenticated remote code execution. This post covers the technical details, affected versions, exploitation risks, and mitigation steps.

Published: January 30, 2026

CVE-2025-68670 Overview

CVE-2025-68670 is an unauthenticated stack-based buffer overflow vulnerability in xrdp, an open source Remote Desktop Protocol (RDP) server. The vulnerability exists in versions prior to v0.10.5 and stems from improper bounds checking when processing user domain information during the RDP connection sequence. This flaw allows remote attackers to potentially execute arbitrary code on vulnerable systems without requiring authentication.

Critical Impact

Remote attackers can exploit this vulnerability to overwrite stack buffers and return addresses, potentially redirecting execution flow to achieve arbitrary code execution on xrdp servers without authentication.

Affected Products

  • xrdp versions prior to v0.10.5
  • Systems running unpatched xrdp RDP server implementations
  • Linux/Unix servers with xrdp configured for remote desktop access

Discovery Timeline

  • 2026-01-27 - CVE-2025-68670 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2025-68670

Vulnerability Analysis

This vulnerability is classified as CWE-121 (Stack-based Buffer Overflow), a memory corruption flaw that occurs when data written to a stack buffer exceeds its allocated size. The xrdp server fails to perform adequate bounds checking when handling user domain information received during the initial RDP connection handshake.

When an attacker sends specially crafted domain information that exceeds expected buffer boundaries, the excess data overwrites adjacent stack memory, including potentially the function's return address. This provides an attacker with the ability to hijack program execution flow and redirect it to attacker-controlled code.

The vulnerability is particularly severe because it requires no authentication—the flaw is triggered during the connection sequence before any credentials are validated. This exposes any internet-facing xrdp server to immediate risk from remote attackers.

Root Cause

The root cause of this vulnerability is improper input validation in the domain information parsing code within xrdp. The affected code path accepts user-supplied domain data during the RDP connection sequence without verifying that the input length fits within the allocated stack buffer. This allows oversized input to overflow the buffer and corrupt adjacent stack memory.

The vulnerability is partially mitigated if xrdp was compiled with stack canary protection enabled. Stack canaries place random values before the return address; if overwritten, the program detects corruption and terminates. However, this is not a reliable security control—attackers with a secondary information disclosure vulnerability could leak the canary value and bypass this protection.

Attack Vector

The attack is network-based and can be executed remotely without any user interaction or prior authentication. An attacker needs only network access to the xrdp service port (typically TCP 3389) to exploit this vulnerability.

The exploitation process involves:

  1. Establishing a connection to the vulnerable xrdp server
  2. Sending a maliciously crafted RDP connection request containing oversized domain information
  3. The overflow corrupts stack memory, overwriting the return address
  4. When the vulnerable function returns, execution jumps to attacker-controlled address
  5. Arbitrary code execution is achieved in the context of the xrdp process

The technical details of exploitation can be found in the GitHub Security Advisory and the patch commit.

Detection Methods for CVE-2025-68670

Indicators of Compromise

  • Unexpected xrdp process crashes or restarts, potentially indicating exploitation attempts
  • Anomalous network traffic patterns on RDP ports with unusually large connection packets
  • Child processes spawned by xrdp that are not typical (e.g., shells, download utilities)
  • Memory corruption signatures in crash dumps from the xrdp service

Detection Strategies

  • Monitor xrdp service logs for connection failures during the authentication phase
  • Deploy network intrusion detection rules to identify oversized domain fields in RDP connection sequences
  • Implement endpoint detection to alert on unusual process activity originating from xrdp
  • Use crash monitoring to detect repeated xrdp segmentation faults or stack smashing detection alerts

Monitoring Recommendations

  • Enable detailed logging for xrdp connections and monitor for anomalies
  • Configure network monitoring to inspect RDP traffic for malformed packets
  • Set up automated alerts for xrdp service restarts or crashes
  • Review system logs for evidence of stack canary violations or segfaults in xrdp

How to Mitigate CVE-2025-68670

Immediate Actions Required

  • Upgrade xrdp to version 0.10.5 or later immediately
  • If patching is not immediately possible, restrict network access to xrdp services using firewall rules
  • Limit xrdp exposure by placing it behind a VPN or jump host
  • Monitor xrdp servers for signs of exploitation while patches are being deployed

Patch Information

The xrdp maintainers have released version 0.10.5 which addresses this vulnerability. The fix implements proper bounds checking when processing user domain information during the connection sequence.

  • Patched Version:xrdp v0.10.5
  • Patch Commit:488c8c7d4d189514a366cd8301b6e816c5218ffa
  • Security Advisory:GHSA-rwvg-gp87-gh6f

Organizations should prioritize upgrading to the patched version. The vendor explicitly recommends not relying solely on stack canary protection as a mitigation for production systems.

Workarounds

  • Implement strict firewall rules to limit access to xrdp ports from trusted networks only
  • Deploy a VPN or bastion host as a prerequisite for accessing xrdp services
  • Consider temporarily disabling xrdp on internet-facing systems until patching is complete
  • Enable additional security monitoring on xrdp servers to detect exploitation attempts
bash
# Restrict xrdp access to trusted networks using iptables
iptables -A INPUT -p tcp --dport 3389 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 3389 -j DROP

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechXrdp

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Technical References
  • GitHub Commit Update

  • GitHub Release v0.10.5

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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