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-2025-27918

CVE-2025-27918: AnyDesk Buffer Overflow Vulnerability

CVE-2025-27918 is a heap-based buffer overflow vulnerability in AnyDesk that affects Windows, macOS, Linux, iOS, and Android versions. This post covers the technical details, affected versions, and mitigation strategies.

Published: March 18, 2026

CVE-2025-27918 Overview

CVE-2025-27918 is a critical integer overflow vulnerability affecting AnyDesk remote desktop software across multiple platforms. The vulnerability exists in the processing of Identity user images within the Discovery feature and during connection establishment between clients. A maliciously crafted UDP packet can trigger an integer overflow, which leads to a heap-based buffer overflow condition. This vulnerability allows remote attackers to potentially execute arbitrary code or cause a denial of service without requiring authentication or user interaction.

Critical Impact

Remote attackers can exploit this vulnerability via specially crafted UDP packets to trigger a heap-based buffer overflow, potentially leading to remote code execution or denial of service across all major AnyDesk platforms.

Affected Products

  • AnyDesk for Windows before version 9.0.5
  • AnyDesk for macOS before version 9.0.1
  • AnyDesk for Linux before version 7.0.0
  • AnyDesk for iOS before version 7.1.2
  • AnyDesk for Android before version 8.0.0

Discovery Timeline

  • 2025-11-06 - CVE-2025-27918 published to NVD
  • 2025-12-08 - Last updated in NVD database

Technical Details for CVE-2025-27918

Vulnerability Analysis

This vulnerability is classified as CWE-190 (Integer Overflow or Wraparound). The flaw occurs when AnyDesk processes Identity user image data received via UDP packets during the Discovery feature operation or when establishing connections between clients. When a maliciously crafted packet containing oversized or specially calculated image dimension values is processed, an integer overflow occurs during memory allocation calculations. This results in an undersized heap buffer being allocated, which subsequently causes a heap-based buffer overflow when the actual image data is written to the buffer.

The network-based attack vector means that any system running a vulnerable version of AnyDesk with the Discovery feature enabled or accepting incoming connections is potentially at risk. The vulnerability requires no privileges and no user interaction, making it particularly dangerous in enterprise environments where AnyDesk may be deployed across numerous endpoints.

Root Cause

The root cause is improper validation of user-supplied image dimension values before performing arithmetic operations for memory allocation. When these dimensions are processed, the multiplication operation used to calculate buffer size can overflow, wrapping around to a small value. The application then allocates a buffer based on this incorrect, smaller size while proceeding to write the full image data, resulting in heap memory corruption.

Attack Vector

The attack can be executed remotely over the network by sending a specially crafted UDP packet to a vulnerable AnyDesk installation. The Discovery feature, which allows AnyDesk clients to find other clients on the local network, processes these packets automatically. Additionally, the vulnerability can be triggered during the connection handshake process between any two AnyDesk clients, expanding the attack surface beyond just local network scenarios.

The attacker would craft a UDP packet containing Identity user image data with malicious dimension values designed to cause an integer overflow. When the target AnyDesk client processes this packet, the integer overflow leads to heap corruption, which could be leveraged for remote code execution or to crash the application. For more technical details, refer to the CVUT thesis document linked in the references.

Detection Methods for CVE-2025-27918

Indicators of Compromise

  • Anomalous UDP traffic patterns targeting AnyDesk ports (default port 7070) with unusually large or malformed packets
  • AnyDesk process crashes or unexpected terminations, particularly during Discovery operations or connection attempts
  • Heap corruption errors or memory access violations in AnyDesk application logs
  • Unusual memory consumption patterns in AnyDesk processes prior to crashes

Detection Strategies

  • Monitor network traffic for UDP packets targeting AnyDesk services with suspicious payload sizes or malformed Identity image data
  • Implement endpoint detection rules to identify AnyDesk process crashes associated with heap corruption or buffer overflow indicators
  • Deploy intrusion detection signatures to identify packets containing abnormal image dimension values in AnyDesk protocol communications
  • Use application-level monitoring to detect repeated Discovery feature failures or connection establishment anomalies

Monitoring Recommendations

  • Enable verbose logging for AnyDesk applications to capture detailed connection and Discovery feature activity
  • Implement network segmentation to limit exposure of AnyDesk Discovery traffic to trusted network segments only
  • Configure SIEM alerts for patterns of AnyDesk crashes or restarts across multiple endpoints
  • Monitor for any unauthorized processes spawned by AnyDesk following crash events

How to Mitigate CVE-2025-27918

Immediate Actions Required

  • Update AnyDesk for Windows to version 9.0.5 or later immediately
  • Update AnyDesk for macOS to version 9.0.1 or later
  • Update AnyDesk for Linux to version 7.0.0 or later
  • Update AnyDesk for iOS to version 7.1.2 or later
  • Update AnyDesk for Android to version 8.0.0 or later

Patch Information

AnyDesk has released patched versions for all affected platforms. Organizations should consult the AnyDesk Windows Changelog for detailed release notes and download links for the latest secure versions. Enterprise deployments should prioritize this update due to the critical severity and network-based attack vector of this vulnerability.

Workarounds

  • Disable the Discovery feature in AnyDesk settings if not required for business operations to reduce the attack surface
  • Implement network-level filtering to block unsolicited UDP traffic to AnyDesk ports from untrusted sources
  • Restrict AnyDesk usage to controlled network segments with proper firewall rules until patching is complete
  • Consider temporary removal of AnyDesk from critical systems until updates can be deployed
bash
# Example: Block unsolicited UDP traffic to AnyDesk default port on Linux
sudo iptables -A INPUT -p udp --dport 7070 -m state --state NEW -j DROP
# Allow only established connections
sudo iptables -A INPUT -p udp --dport 7070 -m state --state ESTABLISHED -j ACCEPT

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechAnydesk

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.11%

  • 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-190
  • Technical References
  • Anydesk Windows Changelog

  • CVUT Thesis Document
  • Related CVEs
  • CVE-2019-25261: AnyDesk Privilege Escalation Vulnerability

  • CVE-2024-12754: AnyDesk Information Disclosure Vulnerability

  • CVE-2022-32450: AnyDesk Privilege Escalation Vulnerability

  • CVE-2020-13160: AnyDesk Format String RCE 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