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

Published Jan 27, 2026
·
Updated

Last updated 26 June 2026

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
xrdp<0.10.5
Neutrinolabs Xrdp<0.10.5
Debian Debian Linux=11.0
debian/xrdp<=0.9.21.1-1~deb11u1
0.9.21.1-1~deb11u30.9.21.1-1+deb12u20.10.1-3.1+deb13u10.10.5-50.10.6-5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/xrdp to a version that resolves this vulnerability.

    Fixed in 0.9.21.1-1~deb11u3Fixed in 0.9.21.1-1+deb12u2Fixed in 0.10.1-3.1+deb13u1Fixed in 0.10.5-5Fixed in 0.10.6-5
  2. Upgrade

    Upgrade xrdp to a version that resolves this vulnerability.

    Fixed in 0.10.5
  3. Compensating control

    Do not rely on stack canary protection on production systems.

Event History

Jan 27, 2026
CVE Published
via MITRE·03:52 PM
Data Sourced
via MITRE·03:52 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 25, 2026
Data Sourced
via Debian·04:25 PM
DescriptionAffected Software
Data Sourced
via Launchpad·04:26 PM
Description
Jun 26, 2026
Data Sourced
via Ubuntu·04:26 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68670?

CVE-2025-68670 is classified as a critical vulnerability due to its ability to cause a stack-based buffer overflow.

2

How do I fix CVE-2025-68670?

To fix CVE-2025-68670, upgrade xrdp to version 0.10.5 or later.

3

What is the impact of CVE-2025-68670 on affected systems?

CVE-2025-68670 can lead to remote code execution due to an unauthenticated stack-based buffer overflow.

4

Which versions of xrdp are affected by CVE-2025-68670?

CVE-2025-68670 affects xrdp versions prior to 0.10.5.

5

Is CVE-2025-68670 exploitable remotely?

Yes, CVE-2025-68670 is exploitable remotely, allowing attackers to gain unauthorized access to the system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2025-68670 - xrdp improperly checks bounds of domain string length, which leads to Stack-based Buffer Overflow - SecAlerts