Heap-based buffer overflow in xrdp - CVE-2026-41252
Published: July 2, 2026
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
Debian Linux
Fedora
xrdp (Debian package)
xrdp
How to mitigate CVE-2026-41252
xrdp (Debian package) - update to 0.10.1-3.1+deb13u2
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