CVE-2026-22857CWE-416

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

Medium · published January 14, 2026

CVSS v4.0
6.8
EPSS
1%
Percentile
44.1
In the wild
Unconfirmed
What it is

⚠️ A heap use-after-free in FreeRDP could leave your system vulnerable! It's like trying to retrieve a package after the delivery man has already left with it. 🚚💨 Imagine you just completed a big project and handed it off for delivery, but later you realize you need to make changes while the courier is still out of reach. That's how this vulnerability works—your system tries to access memory that has already been freed, leading to potential instability. An attacker could exploit this vulnerability to cause unexpected behavior, making your remote desktop sessions unreliable. While it’s not an immediate crisis, it could lead to annoying glitches or even system crashes during critical tasks.

Put simply

Imagine you just completed a big project and handed it off for delivery, but later you realize you need to make changes while the courier is still out of reach. That's how this vulnerability works—your system tries to access memory that has already been freed, leading to potential instability. In FreeRDP versions prior to 3.20.1, a heap use-after-free error occurs in the function irp_thread_func, where an IRP is freed and then improperly accessed on an error path, potentially allowing for memory corruption.

What to do

An attacker could exploit this vulnerability to cause unexpected behavior, making your remote desktop sessions unreliable. While it’s not an immediate crisis, it could lead to annoying glitches or even system crashes during critical tasks. Upgrade FreeRDP to version 3.20.1 or later to patch this vulnerability. Regularly audit your remote desktop implementations to ensure you are using the most secure versions available. You've got this! With this update, you're taking a big step toward securing your remote desktop environment. 🛡️

The record
Technical detail
CVSS v4.0
6.8 · MEDIUM
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
EPSS
0.00531 · 44.1th percentile
Weakness
CWE-416 · Use After Free
Published
2026-01-14T17:53Z
EPSS history
Timeline
  • 14 JAN 17:53Z
    FreeRDP has a heap-use-after-free in irp_thread_func
    cvelistv5