cbcvebase.
CVE-2025-68670
published 2026-01-27

CVE-2025-68670: 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…

PriorityP264critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.32%
67.6th percentile
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

8 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianxrdp< xrdp 0.9.21.1-1+deb12u2 (bookworm)xrdp 0.9.21.1-1+deb12u2 (bookworm)
neutrinolabsxrdp< 0.10.50.10.5
neutrinolabsxrdp>= 0 < 0.9.21.1-1~deb11u30.9.21.1-1~deb11u3
neutrinolabsxrdp>= 0 < 0.9.21.1-1+deb12u20.9.21.1-1+deb12u2
neutrinolabsxrdp>= 0 < 0.10.1-3.1+deb13u10.10.1-3.1+deb13u1
neutrinolabsxrdp>= 0 < 0.10.1-4.10.10.1-4.1
ubuntuxrdp

Detection & IOCsextracted from sources · hover to see the quote

hash500f161a308d1535ef3d58dc6b6a34646392f048
  • The vulnerability is triggered pre-authentication during the Secure Settings Exchange phase (Client Info PDU / TS_INFO_PACKET), so any stack overflow crash or anomalous domain field in this phase should be flagged.
  • Look for use of Cyrillic character U+041A ('К') repeated in the RDP domain field — the PoC specifically uses this character to craft the overflow payload due to its UTF-16 to UTF-8 size properties.
  • ·Stack canary protection reduces exploitability but does not eliminate it — a second vulnerability to leak the canary value would be needed. Do not rely on stack canaries as a sole mitigation in production.
  • ·The vulnerable function xrdp_wm_parse_domain_information uses a hardcoded 256-byte resultIP buffer while accepting domain input up to 512 bytes — the mismatch is the root cause and is present in all xrdp versions before 0.10.5 / 0.9.27 / 0.10.4.1.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.1CRITICAL
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.