CVE-2023-42822
Unchecked access to font glyph info in xrdp
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.6
Unchecked access to font glyph info in xrdp
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.
- Record
CVE-2023-42822- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2023-47243
4.6
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.
- Record
EUVD-2023-47243- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
NVD
4.6
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.
- Record
CVE-2023-42822- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-42822
6.5
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.
- Record
ALPINE-CVE-2023-42822- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSV
4.6
Unchecked access to font glyph info in xrdp
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.
- Record
CVE-2023-42822- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-42822
6.5
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.
- Record
DEBIAN-CVE-2023-42822- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2023-42822
4.6
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.
- Record
UBUNTU-CVE-2023-42822- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2023-0334 No score
Updated xrdp packages fix security vulnerability
The updated packages fix a security vulnerability
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. (CVE-2023-42822)
- Record
MGASA-2023-0334- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13399-1 No score
libpainter0-0.9.23.1-1.1 on GA media
These are all security issues fixed in the libpainter0-0.9.23.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13399-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:4577-1 No score
Security update for xrdp
This update for xrdp fixes the following issues:
- CVE-2023-42822: Fixed unchecked access to font glyph info (bsc#1215803).
- Record
SUSE-SU-2023:4577-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:4873-1 No score
Security update for xrdp
This update for xrdp fixes the following issues:
- CVE-2023-42822: Fixed unchecked access to font glyph info (bsc#1215803).
- CVE-2023-40184: Fixed restriction bypass via improper session handling (bsc#1214805).
- Record
SUSE-SU-2023:4873-1- Updated
- 2026-11-02
OSVUSN-6474-1 No score
xrdp vulnerabilities
It was discovered that xrdp incorrectly handled validation of client-supplied data, which could lead to out-of-bounds reads. An attacker could possibly use this issue to crash the program or extract sensitive information. (CVE-2022-23479, CVE-2022-23481, CVE-2022-23483, CVE-2023-42822)
It was discovered that xrdp improperly handled session establishment errors. An attacker could potentially use this issue to bypass the OS-level session restrictions by PAM. (CVE-2023-40184)
It was discovered that xrdp incorrectly handled validation of client-supplied data, which could lead to out-of-bounds writes. An attacker could possibly use this issue to cause memory corruption or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-23468)
It was discovered that xrdp incorrectly handled validation of client-supplied data, which could lead to out-of-bounds reads. An attacker could possibly use this issue to crash the program or extract sensitive information. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-23480, CVE-2022-23482, CVE-2022-23484)
It was discovered that xrdp incorrectly handled validation of client-supplied data, which could lead to out-of-bounds reads. An attacker could possibly use this issue to crash the program or extract sensitive information. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-23477, CVE-2022-23493)
It was discovered that xrdp incorrectly handled validation of client-supplied data, which could lead to out-of-bounds writes. An attacker could possibly use this issue to cause memory corruption or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-23478)
It was discovered that xrdp incorrectly handled validation of client-supplied data, which could lead to out-of-bounds reads. An attacker could possibly use this issue to crash the program or extract sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-23613)
- Record
USN-6474-1- Updated
- 2026-11-02
OSVUSN-8476-1 No score
xrdp vulnerabilities
It was discovered that xrdp incorrectly handled bounds checking when processing user domain information during the connection sequence. An unauthenticated remote attacker could use this issue to cause xrdp to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-68670)
It was discovered that xrdp did not correctly enforce the maximum number of login attempts configured by the MaxLoginRetry parameter. A remote attacker could use this issue to perform an unlimited number of login attempts. (CVE-2024-39917)
It was discovered that xrdp did not perform bounds checking when accessing font glyphs. Since some of this data is controllable by the user, a remote attacker could use this issue to cause xrdp to read out of bounds. This issue only affected Ubuntu 24.04 LTS. (CVE-2023-42822)
It was discovered that xrdp did not properly handle session establishment errors. A remote attacker could use this issue to bypass OS-level session restrictions enforced by PAM, such as the maximum number of concurrent sessions per user. This issue only affected Ubuntu 24.04 LTS. (CVE-2023-40184)
- Record
USN-8476-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xrdpAlpine:v3.18 |
before 0.9.23.1-r0 | 0.9.23.1-r0 |
xrdpAlpine:v3.19 |
before 0.9.23.1-r0 | 0.9.23.1-r0 |
xrdpAlpine:v3.20 |
before 0.9.23.1-r0 | 0.9.23.1-r0 |
xrdpAlpine:v3.21 |
before 0.9.23.1-r0 | 0.9.23.1-r0 |
xrdpAlpine:v3.22 |
before 0.9.23.1-r0 | 0.9.23.1-r0 |
xrdpAlpine:v3.23 |
before 0.9.23.1-r0 | 0.9.23.1-r0 |
xrdpAlpine:v3.24 |
before 0.9.23.1-r0 | 0.9.23.1-r0 |
xrdpDebian:12 |
before 0.9.21.1-1+deb12u1, plus listed versions 0.9.21.1-1 |
0.9.21.1-1+deb12u1 |
xrdpDebian:13 |
before 0.9.24-2 | 0.9.24-2 |
xrdpDebian:14 |
before 0.9.24-2 | 0.9.24-2 |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xrdpDebian:11 From an advisory covering 3 CVEs |
before 0.9.21.1-1~deb11u2, plus listed versions 0.9.12-1.10.9.15-10.9.17-10.9.17-20.9.17-2.10.9.19-10.9.21.1-1~deb11u1 |
0.9.21.1-1~deb11u2 |
xrdpMageia:9 |
before 0.9.23.1-1.mga9 | 0.9.23.1-1.mga9 |
xrdpSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 0.9.13.1-150200.4.27.1 | 0.9.13.1-150200.4.27.1 |
xrdpSUSE:Linux Enterprise Module for Basesystem 15 SP5 |
before 0.9.13.1-150200.4.27.1 | 0.9.13.1-150200.4.27.1 |
xrdpopenSUSE:Leap 15.4 |
before 0.9.13.1-150200.4.27.1 | 0.9.13.1-150200.4.27.1 |
xrdpopenSUSE:Leap 15.5 |
before 0.9.13.1-150200.4.27.1 | 0.9.13.1-150200.4.27.1 |
xrdpSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 2 CVEs |
before 0.9.10-3.16.1 | 0.9.10-3.16.1 |
xrdpSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 2 CVEs |
before 0.9.10-3.16.1 | 0.9.10-3.16.1 |
xrdpUbuntu:Pro:14.04:LTS |
before 0.6.0-1ubuntu0.1+esm3, plus listed versions 0.6.0-10.6.0-1ubuntu0.10.6.0-1ubuntu0.1+esm10.6.0-1ubuntu0.1+esm2 |
0.6.0-1ubuntu0.1+esm3 |
xrdpUbuntu:Pro:16.04:LTS |
before 0.6.1-2ubuntu0.3+esm3, plus listed versions 0.6.1-20.6.1-2ubuntu0.10.6.1-2ubuntu0.30.6.1-2ubuntu0.3+esm10.6.1-2ubuntu0.3+esm2 |
0.6.1-2ubuntu0.3+esm3 |
xrdpUbuntu:Pro:18.04:LTS |
before 0.9.5-2ubuntu0.1~esm2, plus listed versions 0.9.1-90.9.4-10.9.4-20.9.4-30.9.4-4 Show 5 moreShow less0.9.4-50.9.5-10.9.5-1build10.9.5-20.9.5-2ubuntu0.1~esm1 |
0.9.5-2ubuntu0.1~esm2 |
xrdpUbuntu:Pro:20.04:LTS |
before 0.9.12-1ubuntu0.1+esm1, plus listed versions 0.9.9-10.9.12-10.9.12-1ubuntu0.1 |
0.9.12-1ubuntu0.1+esm1 |
xrdpUbuntu:Pro:22.04:LTS |
before 0.9.17-2ubuntu2+esm1, plus listed versions 0.9.15-1ubuntu10.9.17-10.9.17-20.9.17-2ubuntu10.9.17-2ubuntu2 |
0.9.17-2ubuntu2+esm1 |
xrdpUbuntu:Pro:24.04:LTS |
before 0.9.24-4ubuntu0.1~esm1, plus listed versions 0.9.21.1-10.9.24-20.9.24-30.9.24-3build10.9.24-3build20.9.24-4 |
0.9.24-4ubuntu0.1~esm1 |
xrdpUbuntu:Pro:14.04:LTS From an advisory covering 13 CVEs |
before 0.6.0-1ubuntu0.1+esm3, plus listed versions 0.6.0-10.6.0-1ubuntu0.10.6.0-1ubuntu0.1+esm10.6.0-1ubuntu0.1+esm2 |
0.6.0-1ubuntu0.1+esm3 |
xrdpUbuntu:Pro:16.04:LTS From an advisory covering 13 CVEs |
before 0.6.1-2ubuntu0.3+esm3, plus listed versions 0.6.1-20.6.1-2ubuntu0.10.6.1-2ubuntu0.30.6.1-2ubuntu0.3+esm10.6.1-2ubuntu0.3+esm2 |
0.6.1-2ubuntu0.3+esm3 |
xrdpUbuntu:Pro:18.04:LTS From an advisory covering 13 CVEs |
before 0.9.5-2ubuntu0.1~esm2, plus listed versions 0.9.1-90.9.4-10.9.4-20.9.4-30.9.4-4 Show 5 moreShow less0.9.4-50.9.5-10.9.5-1build10.9.5-20.9.5-2ubuntu0.1~esm1 |
0.9.5-2ubuntu0.1~esm2 |
xrdpUbuntu:Pro:20.04:LTS From an advisory covering 13 CVEs |
before 0.9.12-1ubuntu0.1+esm1, plus listed versions 0.9.9-10.9.12-10.9.12-1ubuntu0.1 |
0.9.12-1ubuntu0.1+esm1 |
xrdpUbuntu:Pro:22.04:LTS From an advisory covering 13 CVEs |
before 0.9.17-2ubuntu2+esm1, plus listed versions 0.9.15-1ubuntu10.9.17-10.9.17-20.9.17-2ubuntu10.9.17-2ubuntu2 |
0.9.17-2ubuntu2+esm1 |
xrdpUbuntu:Pro:18.04:LTS From an advisory covering 4 CVEs |
before 0.9.5-2ubuntu0.1~esm3, plus listed versions 0.9.1-90.9.4-10.9.4-20.9.4-30.9.4-4 Show 6 moreShow less0.9.4-50.9.5-10.9.5-1build10.9.5-20.9.5-2ubuntu0.1~esm10.9.5-2ubuntu0.1~esm2 |
0.9.5-2ubuntu0.1~esm3 |
xrdpUbuntu:Pro:20.04:LTS From an advisory covering 4 CVEs |
before 0.9.12-1ubuntu0.1+esm2, plus listed versions 0.9.9-10.9.12-10.9.12-1ubuntu0.10.9.12-1ubuntu0.1+esm1 |
0.9.12-1ubuntu0.1+esm2 |
xrdpUbuntu:Pro:22.04:LTS From an advisory covering 4 CVEs |
before 0.9.17-2ubuntu3+esm2, plus listed versions 0.9.15-1ubuntu10.9.17-10.9.17-20.9.17-2ubuntu10.9.17-2ubuntu20.9.17-2ubuntu2+esm10.9.17-2ubuntu30.9.17-2ubuntu3+esm1 |
0.9.17-2ubuntu3+esm2 |
xrdpUbuntu:Pro:24.04:LTS From an advisory covering 4 CVEs |
before 0.9.24-4ubuntu0.1~esm1, plus listed versions 0.9.21.1-10.9.24-20.9.24-30.9.24-3build10.9.24-3build20.9.24-4 |
0.9.24-4ubuntu0.1~esm1 |
xrdpUbuntu:25.10 From an advisory covering 4 CVEs |
before 0.10.1-3.1+deb13u1build0.25.10.1, plus listed versions 0.10.1-30.10.1-3.1 |
0.10.1-3.1+deb13u1build0.25.10.1 |
xrdpopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 0.9.23.1-1.1 | 0.9.23.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-42822 is a medium vulnerability (CVSS 4.6) in Neutrinolabs Xrdp, published September 27, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.74%, the 54th percentile. Fixed in xrdp 0.9.23.1-r0.
References
github.com/neutrinolabs/xrdp/security/advisories/GHSA-2hjx-rm4f-r9hw
github.com/neutrinolabs/xrdp/commit/73acbe1f7957c65122b00de4d6f57a8d0d257c40
lists.fedoraproject.org/archives/list/[email protected]/message/PFGL22QQF65OIZRMCKUZCVJQCKGUBRYE
lists.fedoraproject.org/archives/list/[email protected]/message/RTXODUR4ILM7ZPA6ZGY6VSK4BBSBMKGY
lists.fedoraproject.org/archives/list/[email protected]/message/5FPGA4M7IYCP7OILDF2ZJEVSXUOFEFQ6
lists.debian.org/debian-lts-announce/2025/05/msg00018.html
Show 32 moreShow less
security.alpinelinux.org/vuln/CVE-2023-42822
github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42822.json
nvd.nist.gov/vuln/detail/CVE-2023-42822
security-tracker.debian.org/tracker/CVE-2023-42822
advisories.mageia.org/MGASA-2023-0334.html
bugs.mageia.org/show_bug.cgi?id=32575
lwn.net/Articles/952920
suse.com/support/update/announcement/2023/suse-su-20234577-1
bugzilla.suse.com/1215803
suse.com/security/cve/CVE-2023-42822
suse.com/support/update/announcement/2023/suse-su-20234873-1
bugzilla.suse.com/1214805
bugzilla.suse.com/1217759
suse.com/security/cve/CVE-2023-40184
ubuntu.com/security/CVE-2023-42822
ubuntu.com/security/notices/USN-6474-1
cve.org/CVERecord?id=CVE-2023-42822
ubuntu.com/security/notices/USN-8476-1
ubuntu.com/security/CVE-2022-23468
ubuntu.com/security/CVE-2022-23477
ubuntu.com/security/CVE-2022-23478
ubuntu.com/security/CVE-2022-23479
ubuntu.com/security/CVE-2022-23480
ubuntu.com/security/CVE-2022-23481
ubuntu.com/security/CVE-2022-23482
ubuntu.com/security/CVE-2022-23483
ubuntu.com/security/CVE-2022-23484
ubuntu.com/security/CVE-2022-23493
ubuntu.com/security/CVE-2022-23613
ubuntu.com/security/CVE-2023-40184
ubuntu.com/security/CVE-2024-39917
ubuntu.com/security/CVE-2025-68670