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.0: 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/E:U/U:Amber
CVE-ID: CVE-2026-41252
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: neutrinolabs
Affected software:
xrdp

Detailed vulnerability description

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.


How to mitigate CVE-2026-41252

Install security update from vendor's website.

Sources