xrdp is an open source RDP server. xrdp before v0.10.5 contains an unauthenticated stack-based buffer overflow vulnerability. The issue stems from improper bounds checking when processing user domain information during the connection sequence. If exploited, the vulnerability could allow remote attackers to execute arbitrary code on the target system. The vulnerability allows an attacker to overwrite the stack buffer and the return address, which could theoretically be used to redirect the execution flow. The impact of this vulnerability is lessened if a compiler flag has been used to build the xrdp executable with stack canary protection. If this is the case, a second vulnerability would need to be used to leak the stack canary value. Upgrade to version 0.10.5 to receive a patch. Additionally, do not rely on stack canary protection on production systems.
The vulnerability results from improper bounds checking when processing user domain information during the RDP connection establishment sequence. An attacker can overflow a stack buffer and overwrite the function return address, allowing redirection of execution flow to attacker-controlled code. The effectiveness of the attack is partially limited if the xrdp executable was compiled with stack canary protection — however, in such a case, additional disclosure of the canary value through another vulnerability would be necessary.
A remote, unauthenticated attacker can execute arbitrary code on the target system, which in practice means the ability to take full control of the RDP server. The vulnerability affects system integrity and availability.
xrdp should be updated to version 0.10.5 or newer, which contains a fix for this vulnerability. The vendor additionally recommends not relying solely on stack canary protection in production environments. Debian Linux users should apply updates announced in debian-lts-announce.
xrdp (Neutrinolabs) in versions before 0.10.5 and Debian Linux systems using these versions of the xrdp package
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HDebian
OSDebian11.0Neutrinolabs Xrdp
APPNeutrinolabs< 0.10.5
Related vulnerabilities
GNU Inetutils telnetd: ominięcie uwierzytelnienia przez zmienną USER
Sudo: eskalacja uprawnień do root poprzez opcję --chroot (CVE-2025-32463)
RCE przez deserializację PHP w Roundcube Webmail (parametr _from)
Erlang/OTP SSH — nieuwierzytelniony RCE (CVSS 10.0)
Apple WebKit: out-of-bounds write umożliwiający ucieczkę z sandbox przeglądarki