Vulnerability · Published Jan 27, 2026 · Assigned by GitHub_M

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

Critical 9.1

In plain English

A critical-severity stack buffer overflow in xrdp from neutrinolabs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)1.4%top 28.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23xrdp0.10.5-r0ALPINE-CVE-2025-68670
Alpine:v3.24xrdp0.10.5-r0ALPINE-CVE-2025-68670
Debian:12xrdp0.9.21.1-1+deb12u2DEBIAN-CVE-2025-68670
Debian:12xrdp0.9.21.1-1+deb12u2DSA-6123-1
Debian:13xrdp0.10.1-3.1+deb13u1DEBIAN-CVE-2025-68670
Debian:13xrdp0.10.1-3.1+deb13u1DSA-6123-1
Debian:14xrdp0.10.1-4.1DEBIAN-CVE-2025-68670
Ubuntu:25.10xrdp0.10.1-3.1+deb13u1build0.25.10.1UBUNTU-CVE-2025-68670
Ubuntu:25.10xrdp0.10.1-3.1+deb13u1build0.25.10.1USN-8476-1

Affected products (as reported)

VendorProductVersions
neutrinolabs xrdp < 0.10.5

Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References