CVEfocus › CVE database › CVE-2026-54538

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

CVSS 7.5 HighEPSS 0.7% (higher than 47% of CVEs)Published 2026-07-20Updated 2026-07-20Assigner: GitHub_M

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.

CWE-835

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
7Fix pending
1Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10xrdpFix pendingUBUNTU-CVE-2026-54538
Ubuntu 26.04xrdpUnder investigationUBUNTU-CVE-2026-54538
Ubuntu 25.10xrdpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-54538
Ubuntu 24.04xrdpFix pendingUBUNTU-CVE-2026-54538
Ubuntu 22.04xrdpFix pendingUBUNTU-CVE-2026-54538
Ubuntu 20.04xrdpFix pendingUBUNTU-CVE-2026-54538
Ubuntu 18.04xrdpFix pendingUBUNTU-CVE-2026-54538
Ubuntu 16.04xrdpFix pendingUBUNTU-CVE-2026-54538
Ubuntu 14.04xrdpFix pendingUBUNTU-CVE-2026-54538
Debian 14xrdpFixed0.10.6.1-2DEBIAN-CVE-2026-54538
Debian 13xrdpFixed0.10.1-3.1+deb13u2DEBIAN-CVE-2026-54538
Debian 12xrdpFixed0.9.21.1-1+deb12u3DEBIAN-CVE-2026-54538

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.