CVE-2023-40184
CVE-2023-40184 is a low-severity vulnerability in Neutrinolabs Xrdp with a CVSS 3.x base score of 2.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-755.
Key facts
- Severity: Low (CVSS 3.x base score 2.6)
- EPSS exploit prediction: 1% (50th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-755
- Affected product: Neutrinolabs Xrdp
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-40184?
- 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.
- How severe is CVE-2023-40184?
- CVE-2023-40184 has a CVSS 3.x base score of 2.6, rated low severity. It is exploitable over network with high attack complexity, requires low privileges and user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2023-40184 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-40184?
- CVE-2023-40184 affects Neutrinolabs Xrdp. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-40184?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-40184 published?
- CVE-2023-40184 was published on 2023-08-30 and last updated on 2026-06-17.
References
- https://github.com/neutrinolabs/xrdp/blame/9bbb2ec68f390504c32f2062847aa3d821a0089a/sesman/sesexec/session.c#L571C5-L571C19
- https://github.com/neutrinolabs/xrdp/commit/a111a0fdfe2421ef600e40708b5f0168594cfb23
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-f489-557v-47jq
- https://lists.fedoraproject.org/archives/list/[email protected]/message/SOT237TIHTHPX5YNIWLVNINOEYC7WMG2/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U5IXMQODV3OIJ7DRQBUQV7PUKNT7SH36/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/URO3FKTFBPNKFARAQBEJLI4MH6YS35P5/
- https://lists.debian.org/debian-lts-announce/2025/05/msg00018.html
Affected products (1)
- cpe:2.3:a:neutrinolabs:xrdp:*:*:*:*:*:*:*:*
More vulnerabilities in Neutrinolabs Xrdp
- CVE-2013-1430 — Critical (CVSS 9.8): An issue was discovered in xrdp before 0.9.1. When successfully logging in using RDP into an xrdp session, the file…
- CVE-2026-33689 — Critical (CVSS 9.1): xrdp is an open source RDP server. Versions through 0.10.5 have an out-of-bounds read vulnerability in the…
- CVE-2026-33516 — Critical (CVSS 9.1): xrdp is an open source RDP server. Versions through 0.10.5 contain an out-of-bounds read vulnerability during the RDP…
- CVE-2025-68670 — Critical (CVSS 9.1): xrdp is an open source RDP server. xrdp before v0.10.5 contains an unauthenticated stack-based buffer overflow…
- CVE-2022-23493 — Critical (CVSS 9.1): xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop…
- CVE-2022-23480 — Critical (CVSS 9.1): xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop…
All CVEs affecting Neutrinolabs Xrdp →
Other CWE-755 (Improper Handling of Exceptional Conditions) vulnerabilities
- CVE-2025-34193 — Critical (CVSS 9.8): Vasion Print (formerly PrinterLogic) Virtual Appliance Host versions prior to 25.1.102 and Application versions prior…
- CVE-2025-10156 — Critical (CVSS 9.8): An Improper Handling of Exceptional Conditions vulnerability in the ZIP archive scanning component of mmaitre314…
- CVE-2021-42142 — Critical (CVSS 9.8): An issue was discovered in Contiki-NG tinyDTLS through master branch 53a0d97. DTLS servers mishandle the early use of a…
- CVE-2021-42141 — Critical (CVSS 9.8): An issue was discovered in Contiki-NG tinyDTLS through 2018-08-30. One incorrect handshake could complete with…
- CVE-2023-38406 — Critical (CVSS 9.8): bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."
- CVE-2022-23121 — Critical (CVSS 9.8): This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk.…
Browse all CWE-755 (Improper Handling of Exceptional Conditions) vulnerabilities →