CVE-2026-41252: neutrinolabs xrdp heap overflow in vnc-any mode

CVE-2026-41252 · Severity: critical · CVSS 9.8 · Published 2026-07-20

xrdp is an open-source tool that allows users to remotely access Linux desktops using the Remote Desktop Protocol (RDP). A critical security flaw in its 'vnc-any' mode allows a malicious server to crash the system or potentially take full control of the machine. This could lead to a total service outage or unauthorized access to sensitive data before a user even logs in.

Technologies: Neutrinolabs Xrdp. Vendors: Neutrinolabs.

Quick answers

Is CVE-2026-41252 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-41252 being exploited in the wild.
How severe is CVE-2026-41252?
Critical severity, with a CVSS score of 9.8, published 20 July 2026.
Which products and versions are affected?
Neutrinolabs Xrdp <= 0.10.6.
Is there a fix for CVE-2026-41252?
A patch was published on 2026-07-06: Version 0.10.6.1 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-41252 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-41252?
Check whether you run Neutrinolabs Xrdp at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A heap-based buffer overflow (CWE-122) exists in xrdp versions 0.10.6 and prior when operating in 'vnc-any' mode. The vulnerability is rooted in the handling of Remote Framebuffer (RFB) protocol color map messages, where incoming color indices from a VNC server are not properly validated against allocated buffer boundaries. An attacker-controlled or malicious VNC server can send crafted messages with out-of-range values to trigger an out-of-bounds write on the heap. This can be exploited over the network without authentication to achieve remote code execution (RCE) or a denial of service (DoS). The issue is resolved in version 0.10.6.1.

Affected products

  • neutrinolabs xrdp <= 0.10.6

Timeline

  • 2026-07-02: advisory: GitHub Security Advisory published
  • 2026-07-06: patched: Version 0.10.6.1 released
  • 2026-07-20: disclosed: CVE-2026-41252 published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.