CVEfocus › CVE database › CVE-2022-41877

CVE-2022-41877Missing input length validation in `drive` channel in FreeRDP

CVSS 4.6 MediumEPSS 1.0% (higher than 61% of CVEs)Published 2022-11-16Updated 2025-11-03Assigner: GitHub_M

FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing input length validation in `drive` channel. A malicious server can trick a FreeRDP based client to read out of bound data and send it back to the server. This issue has been addressed in version 2.9.0 and all users are advised to upgrade. Users unable to upgrade should not use the drive redirection channel - command line options `/drive`, `+drives` or `+home-drive`.

CWE-119

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

35Fixed
3Fix pending
10Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04freerdp2Fixed2.6.1+dfsg1-3ubuntu2.5UBUNTU-CVE-2022-41877
Ubuntu 20.04freerdp2Fixed2.2.0+dfsg1-0ubuntu0.20.04.6UBUNTU-CVE-2022-41877
Ubuntu 18.04freerdpNot affected
vulnerable_code_not_present
Ubuntu 18.04freerdp2Fix pending2.2.0+dfsg1-0ubuntu0.18.04.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-41877
Ubuntu 16.04freerdpFix pending
Ubuntu 14.04freerdpFix pending
Debian 12freerdp2Fixed2.9.0+dfsg1-1DEBIAN-CVE-2022-41877
Red Hat Enterprise Linux 9freerdpFixed2:2.4.1-5.el9RHSA-2023:2326
Red Hat Enterprise Linux 9freerdp-develFixed2:2.4.1-5.el9RHSA-2023:2326
Red Hat Enterprise Linux 9freerdp-libsFixed2:2.4.1-5.el9RHSA-2023:2326
Red Hat Enterprise Linux 9libwinprFixed2:2.4.1-5.el9RHSA-2023:2326
Red Hat Enterprise Linux 9libwinpr-develFixed2:2.4.1-5.el9RHSA-2023:2326
Red Hat Enterprise Linux 8freerdpFixed2:2.2.0-10.el8RHSA-2023:2851
Red Hat Enterprise Linux 8freerdp-develFixed2:2.2.0-10.el8RHSA-2023:2851
Red Hat Enterprise Linux 8freerdp-libsFixed2:2.2.0-10.el8RHSA-2023:2851
Red Hat Enterprise Linux 8libwinprFixed2:2.2.0-10.el8RHSA-2023:2851
Red Hat Enterprise Linux 8libwinpr-develFixed2:2.2.0-10.el8RHSA-2023:2851
Red Hat Enterprise Linux 7freerdpWill not fix
Out of support scope
Red Hat Enterprise Linux 7freerdp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7freerdp-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7freerdp-pluginsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwinprWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwinpr-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdpWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-pluginsWill not fix
Out of support scope
AlmaLinux 9freerdpFixed2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux 9freerdp-develFixed2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux 9freerdp-libsFixed2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux 9libwinprFixed2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux 9libwinpr-develFixed2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux 8freerdpFixed2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux 8freerdp-develFixed2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux 8freerdp-libsFixed2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux 8libwinprFixed2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux 8libwinpr-develFixed2:2.2.0-10.el8ALSA-2023:2851
Rocky Linux 8freerdpFixed2:2.2.0-10.el8RLSA-2023:2851
Alpine Linux 3.24freerdpFixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.24freerdp2Fixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.23freerdpFixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.23freerdp2Fixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.22freerdpFixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.22freerdp2Fixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.21freerdpFixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.20freerdpFixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.19freerdpFixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.18freerdpFixed2.9.0-r0ALPINE-CVE-2022-41877
Alpine Linux 3.17freerdpFixed2.9.0-r0ALPINE-CVE-2022-41877

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.