Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-109390 Overview
CVE-2026-109390 is a heap-based buffer overflow in AnyDesk versions before 8.0.3. The flaw resides in the stream packet handler for mode 5 of the session protocol, where a payload length value is not validated. Unauthenticated remote attackers can exploit the condition to execute arbitrary code. Public analysis demonstrates command execution as root on Linux without the victim approving desktop control. The weakness is classified under [CWE-130: Improper Handling of Length Parameter Inconsistency].
Critical Impact
Unauthenticated remote attackers can achieve arbitrary code execution as root on Linux without any user interaction or approval of a remote session.
Affected Products
- AnyDesk for Linux versions before 8.0.3
- AnyDesk session protocol stream packet handler (mode 5)
- Deployments exposing the AnyDesk service to untrusted networks
Discovery Timeline
- 2026-10-12 - CVE-2026-109390 published to the National Vulnerability Database (NVD)
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-109390
Vulnerability Analysis
The vulnerability lives in the AnyDesk session protocol, specifically the stream packet handler for mode 5. When processing an inbound stream packet, the handler reads a payload length value from attacker-controlled input and uses it to size or copy data on the heap. The length value is not validated against the actual buffer boundaries, producing a heap-based buffer overflow.
Because the handler executes before any user-side approval for desktop control, exploitation does not require the victim to accept an incoming session. On Linux installations where the AnyDesk service runs with elevated privileges, successful exploitation yields code execution as root. The CWE-130 classification reflects the mishandling of a length parameter whose integrity is assumed but never enforced.
Root Cause
The root cause is missing validation of a length field in the mode 5 stream packet parser. The code trusts the attacker-supplied size when allocating or copying bytes into a heap buffer, allowing adjacent heap metadata and objects to be corrupted. This is a textbook length-parameter inconsistency flaw that enables controlled heap corruption from a single malformed packet.
Attack Vector
The attack vector is network-based and requires no authentication or user interaction. An attacker reachable at the AnyDesk service port sends a crafted mode 5 stream packet containing a malicious payload length. The parser processes the packet during normal session negotiation, before any approval prompt is shown to the user. Successful corruption of heap state leads to arbitrary code execution in the context of the AnyDesk process.
A public proof-of-concept is referenced in the GitHub PoC Repository for AnyDesk. Technical details on fixed versions appear in the AnyDesk Linux Changelog.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-109390
Indicators of Compromise
- AnyDesk service processes spawning unexpected child processes such as /bin/sh, bash, or network utilities
- AnyDesk crashes, segmentation faults, or restarts logged around the time of inbound session traffic
- Outbound reverse shell connections initiated by the AnyDesk process to unknown remote hosts
- New SUID binaries, cron entries, or persistence artifacts created by the AnyDesk service account
Detection Strategies
- Inventory all AnyDesk installations and alert on versions earlier than 8.0.3 on Linux hosts
- Monitor process lineage for AnyDesk spawning shells, interpreters, or curl/wget executions
- Inspect network telemetry for inbound connections to AnyDesk service ports from untrusted sources
- Correlate crash events in system logs with concurrent inbound AnyDesk session packets
Monitoring Recommendations
- Enable detailed endpoint process and network telemetry on hosts running AnyDesk
- Forward AnyDesk service logs and host authentication events to a central SIEM for correlation
- Alert on privilege escalation patterns originating from the AnyDesk service account
- Review perimeter firewall rules to identify assets exposing AnyDesk to the public internet
How to Mitigate CVE-2026-109390
Immediate Actions Required
- Upgrade all AnyDesk Linux installations to version 8.0.3 or later without delay
- Block inbound traffic to AnyDesk service ports from untrusted networks at the perimeter and host firewall
- Audit hosts running vulnerable versions for signs of exploitation using the indicators above
- Restrict the privileges of the AnyDesk service account where operationally feasible
Patch Information
AnyDesk resolves the heap-based buffer overflow in version 8.0.3. Administrators should consult the AnyDesk Linux Changelog to confirm the fixed release and apply the updated package through their standard distribution channels. Verify installed versions after deployment to confirm remediation.
Workarounds
- Disable or uninstall AnyDesk on Linux hosts where it is not actively required
- Restrict AnyDesk service exposure to trusted management networks or VPN segments only
- Apply host-based access controls to allow connections only from known administrative sources
- Run AnyDesk under a dedicated low-privilege account where supported to limit impact
# Example: block inbound AnyDesk traffic from untrusted sources
sudo iptables -A INPUT -p tcp --dport 7070 -s 10.0.0.0/8 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 7070 -j DROP
# Verify installed AnyDesk version
anydesk --version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

