CVE-2023-42822
xrdp vulnerability analysis and mitigation

Overview

xrdp is an open source remote desktop protocol server that experienced a security vulnerability identified as CVE-2023-42822. The vulnerability was discovered in versions prior to 0.9.23.1 and was disclosed on September 27, 2023. The issue affects the font glyph handling in xrdp_painter.c where access to font glyphs is not properly bounds-checked (GitHub Advisory).

Technical details

The vulnerability stems from unchecked access to font glyph information in the xrdp_painter.c file. Since some of this data is controllable by the user, it can result in an out-of-bounds read within the xrdp executable. The CVSS v3.1 base score is 6.5 (MEDIUM) according to NVD assessment with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, while GitHub's assessment rates it at 4.6 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N (NVD).

Impact

The vulnerability allows an out-of-bounds read within a potentially privileged process. On non-Debian platforms, xrdp tends to run as root, which increases the severity of the impact. Additionally, there is potential for an out-of-bounds write following the out-of-bounds read. However, there is no denial-of-service impact when xrdp is running in forking mode (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in xrdp version 0.9.23.1. Users are strongly advised to upgrade to this version or later. There are no known workarounds for this vulnerability, making the upgrade the only effective mitigation strategy (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related xrdp vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68670CRITICAL9.8
  • xrdpxrdp
  • xorgxrdp-debugsource
NoYesJan 27, 2026
CVE-2024-39917CRITICAL9.8
  • xrdpxrdp
  • xrdp-devel
NoYesJul 12, 2024
CVE-2022-23493CRITICAL9.1
  • xrdpxrdp
  • libpainter0
NoYesDec 09, 2022
CVE-2023-42822MEDIUM6.5
  • xrdpxrdp
  • xrdp
NoYesSep 27, 2023
CVE-2023-40184MEDIUM6.5
  • xrdpxrdp
  • xrdp
NoYesAug 30, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management