Skip to content
Fencer Vulns
critical 9.8

CVE-2026-22857 json

FreeRDP has a heap-use-after-free in irp_thread_func

published 2026-01-14 9 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-2670

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 44%
public exploits
0
none known

Summary

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.

Patch / fix

  • freerdp freerdp 3.20.1
  • freerdp3 Debian 13 3.15.0+dfsg-2.1+deb13u1
  • freerdp3 Debian 14 3.20.2+dfsg-1

debian advisories DEBIAN-CVE-2026-22857

  • freerdp3 Ubuntu 24.04 LTS 3.5.1+dfsg1-0ubuntu1.4
  • freerdp3 Ubuntu 25.10 3.16.0+dfsg-2ubuntu0.3
  • freerdp3 Ubuntu 26.04 LTS 3.20.2+dfsg-1

ubuntu advisories UBUNTU-CVE-2026-22857

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • freerdp SLE Module for Package Hub 15 SP7, openSUSE Leap 15.6 2.11.2-150600.4.12.1
  • freerdp2 SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 2.11.7-150700.3.8.1
  • freerdp SLE Module for Package Hub 15 SP7 2.4.0-150400.3.41.1
  • freerdp SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 3.10.3-150700.3.3.1
  • freerdp SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.1.2-12.57.1

suse advisories SUSE-SU-2026:0762-1SUSE-SU-2026:0761-1SUSE-SU-2026:0683-1SUSE-SU-2026:0656-1SUSE-SU-2026:0345-1

  • freerdp2 openSUSE Tumbleweed 2.11.7-6.1
  • freerdp openSUSE Leap 16.0 3.22.0-160000.1.1
  • freerdp openSUSE Tumbleweed 3.20.2-1.1

opensuse advisories openSUSE-SU-2026:10459-1openSUSE-SU-2026:20339-1openSUSE-SU-2026:10059-1

  • freerdp Alpine 3.23 3.22.0-r0

alpine advisories ALPINE-CVE-2026-22857

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-22857 updated cvss 5.6

freerdp: FreeRDP heap-use-after-free

  • Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-plugins
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 10 freerdp
    affected: workaround, no fix available
  • Red Hat Enterprise Linux 7 freerdp, libwinpr, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 8 freerdp, libwinpr, freerdp-libs Red Hat Enterprise Linux 9 freerdp, libwinpr, freerdp-libs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
9 mo ago

Exploit prediction

0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4gxq-jhq6-4cr8 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 6.8 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
CNA 4.0 6.8 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • FreeRDP FreeRDP

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.