CVE-2025-68670 xrdp improperly checks bounds of domain string length, which leads to Stack-based Buffer Overflow
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2025-68670 vendor-advisory
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rwvg-gp87-gh6f vendor-advisory
- https://github.com/neutrinolabs/xrdp/commit/488c8c7d4d189514a366cd8301b6e816c5218ffa patch
- https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.5 product release-notes
- lists.debian.org mailing-list
- Ubuntu CVE tracker vendor-advisory
- USN-8476-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking