Vulnerability · Published Jan 14, 2026 · Assigned by GitHub_M

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

Medium 6.8

In plain English

A medium-severity use-after-free in FreeRDP from FreeRDP. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.8Medium
Exploit odds (30 days)0.5%top 54.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23freerdp3.22.0-r0ALPINE-CVE-2026-22857
Debian:12freerdp2no fix listedDEBIAN-CVE-2026-22857
Debian:13freerdp33.15.0+dfsg-2.1+deb13u1DEBIAN-CVE-2026-22857
Debian:14freerdp33.20.2+dfsg-1DEBIAN-CVE-2026-22857
Ubuntu:22.04:LTSfreerdp2no fix listedUBUNTU-CVE-2026-22857
Ubuntu:24.04:LTSfreerdp33.5.1+dfsg1-0ubuntu1.4USN-8105-1
Ubuntu:24.04:LTSfreerdp33.5.1+dfsg1-0ubuntu1.4UBUNTU-CVE-2026-22857
Ubuntu:25.10freerdp33.16.0+dfsg-2ubuntu0.3UBUNTU-CVE-2026-22857
Ubuntu:25.10freerdp33.16.0+dfsg-2ubuntu0.3USN-8105-1
Ubuntu:26.04:LTSfreerdp33.20.2+dfsg-1UBUNTU-CVE-2026-22857

Affected products (as reported)

VendorProductVersions
FreeRDP FreeRDP < 3.20.1

Weakness: CWE-416 · Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

References