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

Source: https://junglewise.ai/threats/cve-2026-41252-neutrinolabs-xrdp-heap-overflow-in-vnc-any-mode  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-20. Updated: 2026-07-20  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/xrdp). Vendors: [Neutrinolabs](https://junglewise.ai/threats/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

- [https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.6.1](https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.6.1)
- [https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-w5vg-6qmv-j63j](https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-w5vg-6qmv-j63j)

## Related threats

- [neutrinolabs xrdp out-of-bounds read in MCS data processing](https://junglewise.ai/threats/cve-2026-55639-neutrinolabs-xrdp-out-of-bounds-read-in-mcs-data-processing)
- [neutrinolabs xrdp improper authentication in Xvnc backend](https://junglewise.ai/threats/cve-2026-55626-neutrinolabs-xrdp-improper-authentication-in-xvnc-backend)
- [neutrinolabs xrdp out-of-bounds read in Client Control PDU processing](https://junglewise.ai/threats/cve-2026-55645-neutrinolabs-xrdp-out-of-bounds-read-in-client-control-pdu)
- [neutrinolabs xrdp buffer over-read in RDP Confirm Active PDU](https://junglewise.ai/threats/cve-2026-55238-neutrinolabs-xrdp-buffer-over-read-in-rdp-confirm-active-pdu)
- [neutrinolabs xrdp infinite loop denial of service](https://junglewise.ai/threats/cve-2026-54538-neutrinolabs-xrdp-infinite-loop-denial-of-service)
