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-2020-13160

CVE-2020-13160: AnyDesk Format String RCE Vulnerability

CVE-2020-13160 is a format string vulnerability in AnyDesk for Linux and FreeBSD that enables remote code execution. This article covers the technical details, affected versions before 5.5.3, security impact, and mitigation.

Published: March 4, 2026

CVE-2020-13160 Overview

CVE-2020-13160 is a format string vulnerability in AnyDesk remote desktop software versions prior to 5.5.3 running on Linux and FreeBSD systems. This vulnerability allows remote attackers to achieve code execution by exploiting improper handling of format specifiers in user-controlled input. The flaw represents a significant security risk for organizations using AnyDesk for remote access and support operations.

Critical Impact

Remote attackers can exploit this format string vulnerability to execute arbitrary code on vulnerable AnyDesk installations without authentication, potentially gaining complete control over affected systems.

Affected Products

  • AnyDesk versions prior to 5.5.3 on Linux
  • AnyDesk versions prior to 5.5.3 on FreeBSD
  • Systems running Linux kernel with vulnerable AnyDesk installations

Discovery Timeline

  • 2020-06-09 - CVE-2020-13160 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-13160

Vulnerability Analysis

This vulnerability is classified as CWE-134 (Use of Externally-Controlled Format String). Format string vulnerabilities occur when user-supplied input is passed directly to formatting functions like printf() without proper sanitization. In AnyDesk's case, the GUI component improperly processes format specifiers embedded in input data, allowing attackers to read from or write to arbitrary memory locations.

The attack can be executed remotely over the network without requiring any authentication or user interaction. When successfully exploited, attackers can achieve full system compromise, including reading sensitive memory contents, corrupting application state, and executing arbitrary code with the privileges of the AnyDesk process.

Root Cause

The root cause of CVE-2020-13160 lies in the AnyDesk GUI component's failure to properly validate and sanitize user-controlled input before passing it to format string functions. When external data containing format specifiers (such as %s, %x, %n) is processed by functions expecting static format strings, attackers can manipulate the program's execution flow. The %n specifier is particularly dangerous as it allows writing values to memory addresses, enabling attackers to overwrite function pointers or return addresses to redirect execution.

Attack Vector

The vulnerability is exploitable via network-based attack vectors. An attacker can craft malicious input containing specially formatted strings that, when processed by the vulnerable AnyDesk components, trigger the format string vulnerability. The attack does not require prior authentication or user interaction, making it highly exploitable.

The exploitation process typically involves:

  1. Sending a crafted payload containing format specifiers to the AnyDesk service
  2. Using %x or %p specifiers to leak memory addresses and defeat ASLR
  3. Calculating target addresses for code execution
  4. Using %n specifiers to write shellcode addresses to critical memory locations
  5. Redirecting execution flow to attacker-controlled code

Detailed technical analysis and exploitation techniques are documented in the Development Blog Post Analysis and the Packet Storm Advisory - Remote Code Execution.

Detection Methods for CVE-2020-13160

Indicators of Compromise

  • Unusual network traffic patterns targeting AnyDesk service ports
  • Unexpected crashes or restarts of the AnyDesk process
  • Memory corruption artifacts in AnyDesk log files
  • Suspicious strings containing multiple format specifiers (%x, %n, %s) in network traffic

Detection Strategies

  • Monitor network traffic for payloads containing sequences of format specifiers destined for AnyDesk services
  • Implement intrusion detection rules to identify format string attack patterns
  • Deploy endpoint detection solutions that can identify format string exploitation attempts
  • Analyze AnyDesk process behavior for signs of memory corruption or unexpected code execution

Monitoring Recommendations

  • Enable verbose logging for AnyDesk services to capture potential exploitation attempts
  • Configure SIEM alerting for anomalous AnyDesk process behavior including crashes and respawns
  • Monitor for child processes spawned by AnyDesk that deviate from normal operational patterns
  • Track outbound connections from AnyDesk processes to identify potential command and control activity

How to Mitigate CVE-2020-13160

Immediate Actions Required

  • Update AnyDesk to version 5.5.3 or later immediately on all Linux and FreeBSD systems
  • Restrict network access to AnyDesk services using firewall rules where possible
  • Implement network segmentation to limit exposure of vulnerable systems
  • Review systems for signs of compromise before applying patches

Patch Information

AnyDesk has addressed this vulnerability in version 5.5.3. Organizations should immediately upgrade all AnyDesk installations on Linux and FreeBSD systems to the patched version. The official changelog documenting the fix is available at the AnyDesk Changelog Document.

For environments where immediate patching is not possible, consider temporarily disabling or restricting access to AnyDesk services until updates can be applied.

Workarounds

  • Implement strict firewall rules to limit AnyDesk network exposure to trusted IP addresses only
  • Deploy network-level intrusion prevention systems capable of detecting format string attacks
  • Consider using alternative remote desktop solutions until patching is complete
  • Enable application whitelisting to prevent execution of unauthorized code
bash
# Configuration example
# Restrict AnyDesk access using iptables (Linux)
# Allow AnyDesk only from trusted network ranges
iptables -A INPUT -p tcp --dport 7070 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 7070 -j DROP

# Verify AnyDesk version to ensure patch is applied
anydesk --version
# Expected output should be 5.5.3 or higher

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechAnydesk

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability82.42%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-134
  • Technical References
  • Packet Storm Advisory - Format String Write

  • Packet Storm Advisory - Remote Code Execution

  • Development Blog Post Analysis
  • Vendor Resources
  • AnyDesk Changelog Document
  • Related CVEs
  • CVE-2019-25261: AnyDesk Privilege Escalation Vulnerability

  • CVE-2025-27918: AnyDesk Buffer Overflow Vulnerability

  • CVE-2024-12754: AnyDesk Information Disclosure Vulnerability

  • CVE-2022-32450: AnyDesk Privilege Escalation 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