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

CVE-2026-22858: FreeRDP Buffer Overflow Vulnerability

CVE-2026-22858 is a buffer overflow flaw in FreeRDP's Base64 decoding that causes out-of-bounds memory access on certain platforms. This article covers the technical details, affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2026-22858 Overview

CVE-2026-22858 is an Out-of-Bounds Read vulnerability affecting FreeRDP, a free implementation of the Remote Desktop Protocol. This security flaw exists in FreeRDP's Base64 decoding path where a global-buffer-overflow can occur due to implementation-defined char signedness behavior on ARM/AArch64 architectures.

Critical Impact

Remote attackers can potentially exploit this vulnerability over the network to cause out-of-bounds memory access, potentially leading to information disclosure or denial of service on affected FreeRDP installations.

Affected Products

  • FreeRDP versions prior to 3.20.1
  • ARM/AArch64 builds are particularly vulnerable due to unsigned char handling
  • All platforms running vulnerable FreeRDP implementations for remote desktop connections

Discovery Timeline

  • 2026-01-14 - CVE-2026-22858 published to NVD
  • 2026-01-20 - Last updated in NVD database

Technical Details for CVE-2026-22858

Vulnerability Analysis

This vulnerability stems from a subtle but dangerous platform-specific behavior in C/C++ implementations. The issue manifests in FreeRDP's Base64 decoding functionality, which is commonly used in Remote Desktop Protocol operations for encoding binary data.

The vulnerability allows attackers to send specially crafted Base64-encoded data over the network that can trigger out-of-bounds memory access. When exploited, this can lead to reading sensitive memory contents or causing application crashes, potentially disrupting remote desktop sessions.

Root Cause

The root cause is implementation-defined char signedness across different CPU architectures. On ARM/AArch64 builds, the plain char type is treated as unsigned by default, whereas on x86/x64 architectures it is typically signed.

The vulnerable code contains a guard condition c <= 0 intended to reject invalid characters. However, on architectures where char is unsigned, this condition can only ever evaluate to true when c == 0. The compiler may optimize this check into a simple c != 0 comparison, completely eliminating the intended range restriction.

As a result, non-ASCII bytes in the range 0x80-0xFF bypass the validation and are used as indices into a global lookup table. Since this table is sized for ASCII characters only, out-of-bounds memory access occurs.

Attack Vector

The attack vector is network-based, requiring an attacker to send malicious data to a FreeRDP client or server processing Base64-encoded content. The attack scenario requires user interaction and has high attack complexity due to the architecture-specific nature of the vulnerability.

An attacker can craft Base64-encoded payloads containing bytes in the 0x80-0xFF range. When these payloads are processed by a vulnerable FreeRDP instance on ARM/AArch64 architecture, the bytes are used as out-of-bounds indices into the Base64 decoding lookup table, resulting in a global buffer overflow read condition.

Detection Methods for CVE-2026-22858

Indicators of Compromise

  • Unexpected crashes in FreeRDP processes during Base64 decoding operations
  • Memory access violations or segmentation faults in FreeRDP client/server logs
  • Anomalous RDP session terminations, particularly on ARM-based systems
  • Core dumps indicating out-of-bounds read in Base64-related code paths

Detection Strategies

  • Monitor for FreeRDP process crashes or abnormal terminations that may indicate exploitation attempts
  • Implement network traffic analysis to detect malformed Base64 payloads in RDP sessions
  • Deploy memory protection tools such as AddressSanitizer on development/staging environments to catch exploitation attempts
  • Use SentinelOne's behavioral AI to detect anomalous memory access patterns in FreeRDP processes

Monitoring Recommendations

  • Enable detailed logging for FreeRDP connections and monitor for unusual Base64 decoding errors
  • Implement alerting on FreeRDP service restarts or crashes, especially on ARM/AArch64 infrastructure
  • Review network logs for connections from untrusted sources targeting RDP services
  • Monitor system memory usage and process behavior for signs of information disclosure attempts

How to Mitigate CVE-2026-22858

Immediate Actions Required

  • Upgrade FreeRDP to version 3.20.1 or later immediately
  • Audit all systems running FreeRDP, with priority on ARM/AArch64 deployments
  • Restrict network access to FreeRDP services to trusted sources only
  • Consider disabling FreeRDP services temporarily on critical ARM-based systems until patching is complete

Patch Information

The vulnerability is fixed in FreeRDP version 3.20.1. Organizations should update their FreeRDP installations to this version or later. The fix properly handles char signedness to prevent out-of-bounds array access during Base64 decoding operations.

For detailed patch information, refer to the FreeRDP Version 3.20.1 Release and the GitHub Security Advisory GHSA-qmqf-m84q-x896.

Workarounds

  • Implement network-level filtering to restrict RDP access to trusted IP addresses only
  • Deploy a web application firewall or network intrusion prevention system to filter potentially malicious Base64 payloads
  • Use VPN or jump hosts to add an additional layer of authentication before RDP services
  • On ARM/AArch64 systems, consider using x86 emulation for FreeRDP until patches can be applied
bash
# Verify FreeRDP version and upgrade
freerdp --version
# If version is below 3.20.1, upgrade using package manager
# Debian/Ubuntu
sudo apt update && sudo apt install freerdp2-x11
# Or build from source using the patched release
wget https://github.com/FreeRDP/FreeRDP/releases/tag/3.20.1

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechFreerdp

  • SeverityMEDIUM

  • CVSS Score5.6

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/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
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-125
  • Technical References
  • FreeRDP Version 3.20.1 Release
  • Vendor Resources
  • GitHub Security Advisory GHSA-qmqf-m84q-x896
  • Related CVEs
  • CVE-2026-33982: FreeRDP Buffer Overflow Vulnerability

  • CVE-2026-33984: FreeRDP Buffer Overflow Vulnerability

  • CVE-2026-33986: FreeRDP Buffer Overflow Vulnerability

  • CVE-2026-33987: FreeRDP Buffer Overflow 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