CVE-2025-68670
xrdp improperly checks bounds of domain string length, which leads to Stack-based Buffer Overflow
Check your servers for CVE-2025-68670
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68670 affects xrdp, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.44%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 73.5% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 27 Jan 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-121 Stack-based Buffer Overflow
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| xrdp |
affected < 0.10.5
|
Is my server affected?
Find the installed version of xrdp and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i xrdp
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-68670 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-68670RHEL, Rocky, Alma, Fedora
rpm -q xrdp
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-68670Alpine
apk list --installed | grep -i xrdpWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68670
trivy image --scanners vuln IMAGE | grep CVE-2025-68670
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/neutrinolabs/xrdp/commit/488c8c7d4d189514a366cd8301b6e816c5218ffa github.com
- https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.5 github.com
- https://lists.debian.org/debian-lts-announce/2026/02/msg00003.html lists.debian.org
Source: the record CVE-2025-68670 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse