CVE-2025-68670xrdp improperly checks bounds of domain string length, which leads to Stack-based Buffer…
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | xrdp | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xrdp | Fixed | 0.10.1-3.1+deb13u1build0.25.10.1 | UBUNTU-CVE-2025-68670 |
| Ubuntu 24.04 | xrdp | Fix pending | 0.9.24-4ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-68670 |
| Ubuntu 22.04 | xrdp | Fix pending | 0.9.17-2ubuntu3+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-68670 |
| Ubuntu 20.04 | xrdp | Fix pending | 0.9.12-1ubuntu0.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-68670 |
| Ubuntu 18.04 | xrdp | Fix pending | 0.9.5-2ubuntu0.1~esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-68670 |
| Debian 14 | xrdp | Fixed | 0.10.1-4.1 | DEBIAN-CVE-2025-68670 |
| Debian 13 | xrdp | Fixed | 0.10.1-3.1+deb13u1 | DEBIAN-CVE-2025-68670 |
| Debian 12 | xrdp | Fixed | 0.9.21.1-1+deb12u2 | DEBIAN-CVE-2025-68670 |
| Alpine Linux 3.24 | xrdp | Fixed | 0.10.5-r0 | ALPINE-CVE-2025-68670 |
| Alpine Linux 3.23 | xrdp | Fixed | 0.10.5-r0 | ALPINE-CVE-2025-68670 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- neutrinolabs xrdp: affected: < 0.10.5
References
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rwvg-gp87-gh6f
- https://github.com/neutrinolabs/xrdp/commit/488c8c7d4d189514a366cd8301b6e816c5218ffa
- https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.