Skip to content

CVE-2025-68670 xrdp improperly checks bounds of domain string length, which leads to Stack-based Buffer Overflow

CriticalCVSS 9.8 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebian

Description

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.

Upgrade path

9 packages: 8 fixed.

PackageAffectedFixed inStatus
alpine/xrdp(Alpine v3.23) < 0.10.5-r0 0.10.5-r0 Fixed
alpine/xrdp(Alpine v3.24) < 0.10.5-r0 0.10.5-r0 Fixed
debian/xrdp(Debian 12) < 0.9.21.1-1+deb12u2; = 0.9.21.1-1; = 0.9.21.1-1+deb12u1 0.9.21.1-1+deb12u2 Fixed
debian/xrdp(Debian 13) < 0.10.1-3.1+deb13u1; = 0.10.1-3.1 0.10.1-3.1+deb13u1 Fixed
debian/xrdp(Debian 14) < 0.10.1-4.1; = 0.10.1-3.1; = 0.10.1-4 0.10.1-4.1 Fixed
neutrinolabs xrdp < 0.10.5; = < 0.10.5 0.10.5 Fixed
ubuntu/xrdp(Ubuntu 22.04) < 0.9.17-2ubuntu3+esm2 0.9.17-2ubuntu3+esm2 Fixed
ubuntu/xrdp(Ubuntu 24.04) < 0.9.24-4ubuntu0.1~esm1 0.9.24-4ubuntu0.1~esm1 Fixed
debian linux = 11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/xrdp(Debian:12) < 0.9.21.1-1+deb12u2 0.9.21.1-1+deb12u2
debian/xrdp(Debian:12) = 0.9.21.1-1 No fix listed
debian/xrdp(Debian:12) = 0.9.21.1-1+deb12u1 No fix listed
debian/xrdp(Debian:13) < 0.10.1-3.1+deb13u1 0.10.1-3.1+deb13u1
debian/xrdp(Debian:13) = 0.10.1-3.1 No fix listed
debian/xrdp(Debian:14) < 0.10.1-4.1 0.10.1-4.1
debian/xrdp(Debian:14) = 0.10.1-3.1 No fix listed
debian/xrdp(Debian:14) = 0.10.1-4 No fix listed
neutrinolabs xrdp = < 0.10.5 No fix listed
ubuntu/xrdp(Ubuntu:22.04) < 0.9.17-2ubuntu3+esm2 0.9.17-2ubuntu3+esm2
alpine/xrdp(Alpine:v3.23) < 0.10.5-r0 0.10.5-r0
alpine/xrdp(Alpine:v3.24) < 0.10.5-r0 0.10.5-r0
ubuntu/xrdp(Ubuntu:24.04) < 0.9.24-4ubuntu0.1~esm1 0.9.24-4ubuntu0.1~esm1
neutrinolabs xrdp < 0.10.5 0.10.5
debian linux = 11.0 No fix listed

References