Skip to content
OpenAdvisories
Low · 2.6 CVE-2023-40184 EUVD-2023-44784

Improper handling of session establishment errors in xrdp

Published Aug 30, 2023 · Updated Nov 3, 2025 · Assigned by GitHub_M

Description

xrdp is an open source remote desktop protocol (RDP) server. In versions prior to 0.9.23 improper handling of session establishment errors allows bypassing OS-level session restrictions. The `auth_start_session` function can return non-zero (1) value on, e.g., PAM error which may result in in session restrictions such as max concurrent sessions per user by PAM (ex ./etc/security/limits.conf) to be bypassed. Users (administrators) don't use restrictions by PAM are not affected. This issue has been addressed in release version 0.9.23. Users are advised to upgrade. There are no known workarounds for this issue.

Affected products

VendorProductAffectedFixed
neutrinolabs xrdp < 0.9.23 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xrdp 0.9.24-2 —
Debian 13 xrdp 0.9.24-2 —
Debian 12 xrdp 0.9.21.1-1+deb12u1 —
Debian 11 xrdp 0.9.21.1-1~deb11u2 DLA-4166-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 xrdp 0.10.1-3.1+deb13u1build0.25.10.1 USN-8476-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS xrdp 0.9.24-4ubuntu0.1~esm1 USN-8476-1
Ubuntu Pro 22.04 LTS xrdp 0.9.17-2ubuntu2+esm1 USN-8476-1, USN-6474-1
Ubuntu Pro 20.04 LTS xrdp 0.9.12-1ubuntu0.1+esm1 USN-8476-1, USN-6474-1
Ubuntu Pro 18.04 LTS xrdp 0.9.5-2ubuntu0.1~esm2 USN-8476-1, USN-6474-1
Ubuntu Pro 16.04 LTS xrdp 0.6.1-2ubuntu0.3+esm3 USN-6474-1
Ubuntu Pro 14.04 LTS xrdp 0.6.0-1ubuntu0.1+esm3 USN-6474-1
ReleasePackageFixed inAdvisory
SLES 15 SP5 xrdp 0.9.13.1-150200.4.24.1 SUSE-SU-2023:3830-1
SLES 15 SP4 xrdp 0.9.13.1-150200.4.24.1 SUSE-SU-2023:3830-1
SLES 12 SP5 xrdp 0.9.10-3.11.1 SUSE-SU-2023:4873-1, SUSE-SU-2023:3735-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 xrdp 0.9.10-3.11.1 SUSE-SU-2023:4873-1, SUSE-SU-2023:3735-1
SUSE Manager Server 4.2 xrdp 0.9.13.1-150200.4.24.1 SUSE-SU-2023:3830-1
SUSE Manager Proxy 4.2 xrdp 0.9.13.1-150200.4.24.1 SUSE-SU-2023:3830-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xrdp 0.9.23.1-1.1 openSUSE-SU-2024:13399-1
openSUSE Leap 15.5 xrdp 0.9.13.1-150200.4.24.1 SUSE-SU-2023:3830-1
openSUSE Leap 15.4 xrdp 0.9.13.1-150200.4.24.1 SUSE-SU-2023:3830-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xrdp 0.9.23-r0 —
Alpine v3.23 xrdp 0.9.23-r0 —
Alpine v3.22 xrdp 0.9.23-r0 —
Alpine v3.21 xrdp 0.9.23-r0 —
Alpine v3.20 xrdp 0.9.23-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xrdp 0.9.23-r0 —
Alpine v3.18 xrdp 0.9.23-r0 —

Advisories 7

References