CVE-2023-40184

xrdp: xrdp is an open source remote desktop protocol (RDP) server

CVE-2023-40184 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2023-40184, released August 30, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0085
58th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
xorgxrdp · Ubuntu 18.04.6 LTS (bionic) 0.9.5-2ubuntu0.1~esm2 xorgxrdp 0.9.5-2ubuntu0.1~esm2 Sep 27, 2023
xrdp · Debian 11.6 (bullseye) 0.9.21.1-1~deb11u2 DLA-4166-1 May 16, 2025
xrdp · Debian 12.15 (bookworm) 0.9.21.1-1+deb12u1 DEBIAN-CVE-2023-40184 Aug 30, 2023
xrdp · Debian 13.5 (trixie) 0.9.24-2 DEBIAN-CVE-2023-40184 Aug 30, 2023
xrdp · Debian 14 0.9.24-2 DEBIAN-CVE-2023-40184 Aug 30, 2023
xrdp · Ubuntu 18.04.6 LTS (bionic) 0.9.5-2ubuntu0.1~esm2 xrdp 0.9.5-2ubuntu0.1~esm2 Sep 27, 2023
xrdp · Ubuntu 20.04 LTS (focal) 0.9.12-1ubuntu0.1+esm1 xrdp 0.9.12-1ubuntu0.1+esm1 Sep 27, 2023
xrdp · Ubuntu 22.04.1 LTS (jammy) 0.9.17-2ubuntu2+esm1 xrdp 0.9.17-2ubuntu2+esm1 Sep 27, 2023
xrdp · Ubuntu 24.04.5 LTS (noble) 0.9.24-4ubuntu0.1~esm1 xrdp 0.9.24-4ubuntu0.1~esm1 Jan 27, 2026
xrdp-pulseaudio-installer · Ubuntu 18.04.6 LTS (bionic) 0.9.5-2ubuntu0.1~esm2 xrdp-pulseaudio-installer 0.9.5-2ubuntu0.1~esm2 Sep 27, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.