CVE-2026-41252

xrdp: lib_palette_update Heap Buffer Overflow & RCE

Published Jul 20, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This vulnerability arises from a missing bounds check in xrdp's handling of the RFB protocol color map messages while operating in vnc-any mode. The flaw allows a heap-based buffer overflow (CWE-122) when a VNC server sends color indices outside the valid range. A malicious VNC server can construct such messages to trigger an out-of-bounds write on the heap, potentially leading to a denial of service or remote code execution before any authentication occurs.

Affected Systems

Neutrinolabs xrdp. The vendor released a patch in version 0.10.6.1 that resolves the bounds check issue. No other product versions are known to be impacted.

Risk and Exploitability

The CVSS base score of 9.8 indicates critical severity. The EPSS score is less than 1%, indicating a low but non-zero probability that the vulnerability will be exploited in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to be able to communicate with the xrdp server in vnc-any mode, deliver crafted RFB protocol messages, and trigger the heap overflow. Once the overflow occurs, remote code execution can be achieved before authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade xrdp to version 0.10.6.1 or later, which includes the fixed bounds check.
  • If an upgrade is not immediately possible, disable the vnc-any mode or restrict VNC connections through configuration or firewall rules to prevent unauthorized VNC servers from communicating with xrdp.
  • Monitor temporary logs for unusually large color indices or repeated crashes, and apply additional input validation or sandboxing if feasible.

Generated by OpenCVE AI on July 30, 2026 at 19:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4759-1 xrdp security update
Debian DSA Debian DSA DSA-6469-1 xrdp security update
History
Type Values Removed Values Added
First Time appeared Neutrinolabs
Neutrinolabs xrdp
Vendors & Products Neutrinolabs
Neutrinolabs xrdp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title xrdp: lib_palette_update Heap Buffer Overflow & RCE
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 23, 2026, 3:56 AM
Reserved
Apr 18, 2026, 3:47 AM
Status
Analyzed
Published
Jul 20, 2026, 5:17 PM
Modified
Oct 24, 2026, 8:10 PM