Vulnerability · Published Sep 27, 2023 · Assigned by GitHub_M
CVE-2023-42822Unchecked access to font glyph info in xrdp
Medium 4.6
In plain English
A medium-severity out-of-bounds read in xrdp from neutrinolabs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
xrdp is an open source remote desktop protocol server. Access to the font glyphs in xrdp_painter.c is not bounds-checked . Since some of this data is controllable by the user, this can result in an out-of-bounds read within the xrdp executable. The vulnerability allows an out-of-bounds read within a potentially privileged process. On non-Debian platforms, xrdp tends to run as root. Potentially an out-of-bounds write can follow the out-of-bounds read. There is no denial-of-service impact, providing xrdp is running in forking mode. This issue has been addressed in release 0.9.23.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xrdp | 0.9.23.1-r0 | ALPINE-CVE-2023-42822 |
| Alpine:v3.21 | xrdp | 0.9.23.1-r0 | ALPINE-CVE-2023-42822 |
| Alpine:v3.22 | xrdp | 0.9.23.1-r0 | ALPINE-CVE-2023-42822 |
| Alpine:v3.23 | xrdp | 0.9.23.1-r0 | ALPINE-CVE-2023-42822 |
| Alpine:v3.24 | xrdp | 0.9.23.1-r0 | ALPINE-CVE-2023-42822 |
| Debian:12 | xrdp | 0.9.21.1-1+deb12u1 | DEBIAN-CVE-2023-42822 |
| Debian:13 | xrdp | 0.9.24-2 | DEBIAN-CVE-2023-42822 |
| Debian:14 | xrdp | 0.9.24-2 | DEBIAN-CVE-2023-42822 |
| Ubuntu:25.10 | xrdp | 0.10.1-3.1+deb13u1build0.25.10.1 | USN-8476-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| neutrinolabs | xrdp | < 0.9.23.1 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-2hjx-rm4f-r9hw x_refsource_CONFIRM
- https://github.com/neutrinolabs/xrdp/commit/73acbe1f7957c65122b00de4d6f57a8d0d257c40 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PFGL22QQF65OIZRMCKUZCVJQCKGUBRYE/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTXODUR4ILM7ZPA6ZGY6VSK4BBSBMKGY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5FPGA4M7IYCP7OILDF2ZJEVSXUOFEFQ6/
- https://lists.debian.org/debian-lts-announce/2025/05/msg00018.html