Heap-based buffer overflow in xrdp - CVE-2026-41252

 

Heap-based buffer overflow in xrdp - CVE-2026-41252

Published: July 2, 2026


Vulnerability identifier: #VU136789
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41252
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to heap-based buffer overflow in RFB protocol color map message handling in xrdp vnc-any mode when processing crafted color map messages from a VNC server. A remote attacker can send specially crafted messages with out-of-range color indices to execute arbitrary code.

The issue can also result in a denial of service and can be exploited prior to authentication.


Affected software

xrdp
Fedora
xrdp

How to mitigate CVE-2026-41252

Install security update from vendor's website.

xrdp - update to 0.10.6.1
xrdp - addressed in versions 0.10.6.1-1.el8, 0.10.6.1-1.el9, 0.10.6.1-1.fc43, 0.10.6.1-1.fc44

External References

Related Security Bulletins