CVE-2026-54538

xrdp: Pre-auth infinite loop via totalLength=0 in TS_SHARECONTROLHEADER

Published Jul 20, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
xrdp is an open source RDP server. In versions 0.10.6 and prior, a n issue was discovered where the software fails to properly validate the totalLength field within the RDP protocol control header during packet reception. An unauthenticated remote attacker can exploit this vulnerability by sending a specially crafted packet that forces the xrdp process or thread into an infinite, CPU-bound loop. Because the internal pointer fails to advance and the deadlock prevention mechanism is bypassed for specific protocol data unit types, the process consumes excessive CPU resources indefinitely. This can render the xrdp service unavailable and potentially lead to system-wide resource exhaustion if multiple malicious connections are established. This issue has been fixed in version 0.10.6.1.

Analysis

AI-generated

Technical impact

xrdp versions 0.10.6 and earlier contain a flaw in how the totalLength field of the TS_SHARECONTROLHEADER RDP packet is validated. If a packet with an invalid totalLength of zero is received, xrdp fails to advance its internal pointer and bypasses the deadlock prevention logic, causing the process to enter an infinite CPU‑bound loop. This loop consumes unlimited processor resources and can render the xrdp service unavailable, potentially leading to system‑wide resource depletion when multiple attackers connect simultaneously. The vulnerability is exploitable by an unauthenticated attacker who can target the service over TCP before authentication occurs.

Affected Systems

neutrinolabs xrdp, versions 0.10.6 and all releases prior to 0.10.6.1.

Risk and Exploitability

The CVSS score of 7.5 classifies the issue as high severity. The EPSS score is < 1%, indicating a very low exploitation probability. It is not listed in the CISA KEV catalog. Because an attacker can trigger the defect with a specially crafted packet on the network before authentication, the attack vector is remote, unauthenticated. Exploitation would result in denial of service and, if repeated, could exhaust system resources. The flaw is essentially an infinite loop (CWE‑835).

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade neutrinolabs xrdp to version 0.10.6.1 or later to eliminate the validation error.
  • If immediate upgrade is not possible, restrict RDP access to trusted networks or block RDP ports from untrusted sources to reduce exposure.
  • Monitor CPU usage of the xrdp process and configure system limits or watchdogs to detect and recover from excessive CPU consumption.

Generated by OpenCVE AI on July 30, 2026 at 18:56 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': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description xrdp is an open source RDP server. In versions 0.10.6 and prior, a n issue was discovered where the software fails to properly validate the totalLength field within the RDP protocol control header during packet reception. An unauthenticated remote attacker can exploit this vulnerability by sending a specially crafted packet that forces the xrdp process or thread into an infinite, CPU-bound loop. Because the internal pointer fails to advance and the deadlock prevention mechanism is bypassed for specific protocol data unit types, the process consumes excessive CPU resources indefinitely. This can render the xrdp service unavailable and potentially lead to system-wide resource exhaustion if multiple malicious connections are established. This issue has been fixed in version 0.10.6.1.
Title xrdp: Pre-auth infinite loop via totalLength=0 in TS_SHARECONTROLHEADER
Weaknesses CWE-835
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 20, 2026, 6:48 PM
Reserved
Jun 15, 2026, 6:40 PM
Status
Analyzed
Published
Jul 20, 2026, 5:17 PM
Modified
Oct 24, 2026, 8:10 PM