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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.44% (percentile 73, 2026-11-26)
- **CWE:** CWE-121
- **Published:** 2026-01-27T15:52:41.052Z
- **Modified:** 2026-06-17T09:59:24.630Z

## Who should check

- Anyone running neutrinolabs xrdp \< 0.10.5

## 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 and fixed versions

- neutrinolabs xrdp: \< 0.10.5 (cvelist)

## Mitigation

- Upgrade xrdp to 0.10.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68670. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68670.md
Affected: neutrinolabs xrdp < 0.10.5
Fixed in: neutrinolabs xrdp 0.10.5

Steps:
1. Search this machine and project for neutrinolabs xrdp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68670 being exploited?

There is no confirmed exploitation: CVE-2025-68670 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68670?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-68670?

neutrinolabs xrdp \< 0.10.5.

### Is there a fix for CVE-2025-68670?

Yes. Fixed in neutrinolabs xrdp 0.10.5. Upgrade xrdp to 0.10.5 or later.

### How do I check if I'm affected by CVE-2025-68670?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rwvg-gp87-gh6f>
- patch: <https://github.com/neutrinolabs/xrdp/commit/488c8c7d4d189514a366cd8301b6e816c5218ffa>
- other: <https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.5>
- other: <https://lists.debian.org/debian-lts-announce/2026/02/msg00003.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68670>

HTML: <https://flawdb.com/CVE-2025-68670> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68670>
