Vulnerability · Published Jul 20, 2026 · Assigned by GitHub_M
CVE-2026-41252xrdp: lib_palette_update Heap Buffer Overflow & RCE
Critical 9.8
In plain English
A critical-severity heap 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.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
xrdp is an open source RDP server. Versions 0.10.6 and prior contain a missing bounds check in xrdp, which allows a heap-based buffer overflow when operating in vnc-any mode. The issue occurs during the handling of RFB protocol color map messages from a VNC server, where incoming color indices are not properly validated. A malicious VNC server can exploit this flaw by sending crafted messages with out-of-range values, leading to an out-of-bounds write on the heap. This memory corruption can result in a denial of service (DoS) or potentially allow remote code execution (RCE) prior to authentication. This issue has been fixed in version 0.10.6.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | xrdp | 0.9.21.1-1+deb12u3 | DEBIAN-CVE-2026-41252 |
| Debian:13 | xrdp | 0.10.1-3.1+deb13u2 | DEBIAN-CVE-2026-41252 |
| Debian:14 | xrdp | 0.10.6.1-2 | DEBIAN-CVE-2026-41252 |
| Ubuntu:22.04:LTS | xrdp | no fix listed | UBUNTU-CVE-2026-41252 |
| Ubuntu:24.04:LTS | xrdp | no fix listed | UBUNTU-CVE-2026-41252 |
| Ubuntu:25.10 | xrdp | no fix listed | UBUNTU-CVE-2026-41252 |
| Ubuntu:26.04:LTS | xrdp | no fix listed | UBUNTU-CVE-2026-41252 |
| Ubuntu:26.10 | xrdp | no fix listed | UBUNTU-CVE-2026-41252 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| neutrinolabs | xrdp | < 0.10.6.1 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-w5vg-6qmv-j63j x_refsource_CONFIRM
- https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.6.1 x_refsource_MISC