CVEfocus › CVE database › CVE-2026-22857

CVE-2026-22857FreeRDP has a heap-use-after-free in irp_thread_func

CVSS 6.8 MediumEPSS 0.7% (higher than 46% of CVEs)Published 2026-01-14Updated 2026-02-26Assigner: GitHub_M

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.20.1, a heap use-after-free occurs in irp_thread_func because the IRP is freed by irp->Complete() and then accessed again on the error path. This vulnerability is fixed in 3.20.1.

CWE-416

What to do

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

Debian, Red Hat, Ubuntu have 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

6Fixed
9Fix pending
4Will not fix
17Not 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 26.04freerdp3Fixed3.20.2+dfsg-1UBUNTU-CVE-2026-22857
Ubuntu 25.10freerdp3Fixed3.16.0+dfsg-2ubuntu0.3UBUNTU-CVE-2026-22857
Ubuntu 24.04freerdp3Fixed3.5.1+dfsg1-0ubuntu1.4UBUNTU-CVE-2026-22857
Ubuntu 22.04freerdp2Not affected
vulnerable_code_not_present
Ubuntu 18.04freerdpFix pendingUBUNTU-CVE-2026-22857
Ubuntu 16.04freerdpFix pendingUBUNTU-CVE-2026-22857
Debian 14freerdp3Fixed3.20.2+dfsg-1DEBIAN-CVE-2026-22857
Debian 13freerdp3Fixed3.15.0+dfsg-2.1+deb13u1DEBIAN-CVE-2026-22857
Debian 12freerdp2Fix pendingDEBIAN-CVE-2026-22857
Red Hat Enterprise Linux 10freerdpFix pending
Affected
Red Hat Enterprise Linux 10freerdp-develFix pending
Affected
Red Hat Enterprise Linux 10freerdp-libsFix pending
Affected
Red Hat Enterprise Linux 10freerdp-serverFix pending
Affected
Red Hat Enterprise Linux 10libwinprFix pending
Affected
Red Hat Enterprise Linux 10libwinpr-develFix pending
Affected
Red Hat Enterprise Linux 9freerdpNot affected
Red Hat Enterprise Linux 9freerdp-develNot affected
Red Hat Enterprise Linux 9freerdp-libsNot affected
Red Hat Enterprise Linux 9libwinprNot affected
Red Hat Enterprise Linux 9libwinpr-develNot affected
Red Hat Enterprise Linux 8freerdpNot affected
Red Hat Enterprise Linux 8freerdp-develNot affected
Red Hat Enterprise Linux 8freerdp-libsNot affected
Red Hat Enterprise Linux 8libwinprNot affected
Red Hat Enterprise Linux 8libwinpr-develNot affected
Red Hat Enterprise Linux 7freerdpNot affected
Red Hat Enterprise Linux 7freerdp-develNot affected
Red Hat Enterprise Linux 7freerdp-libsNot affected
Red Hat Enterprise Linux 7freerdp-pluginsNot affected
Red Hat Enterprise Linux 7libwinprNot affected
Red Hat Enterprise Linux 7libwinpr-develNot affected
Red Hat Enterprise Linux 6freerdpWill not fix
Will not fix
Red Hat Enterprise Linux 6freerdp-develWill not fix
Will not fix
Red Hat Enterprise Linux 6freerdp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6freerdp-pluginsWill not fix
Will not fix
Alpine Linux 3.23freerdpFixed3.22.0-r0ALPINE-CVE-2026-22857

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.

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.