CVE-2026-22856CWE-362CWE-416

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

Medium · published January 14, 2026

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

⚠️ A race condition in FreeRDP can lead to unexpected heap use-after-free. Think of it as two chefs in a kitchen fighting over the last cupcake while trying to grab ingredients — chaos ensues! This vulnerability acts like a clumsy race between two workers trying to remove a package from a shelf while another tries to read its contents, risking a collapse of the entire stack. If one gets there first but the other still tries to access the item, things can get messy! An attacker could exploit this race condition to cause memory corruption, potentially leading to crashes or unexpected behavior in the application. While it's not a direct way into your system, it could still lead to a frustrating experience or even Denial of Service if left unaddressed.

Put simply

This vulnerability acts like a clumsy race between two workers trying to remove a package from a shelf while another tries to read its contents, risking a collapse of the entire stack. If one gets there first but the other still tries to access the item, things can get messy! The race in the serial channel IRP thread tracking allows a heap use-after-free situation when one thread removes an entry while another thread tries to read it, opening the door for memory issues when both operate simultaneously.

What to do

An attacker could exploit this race condition to cause memory corruption, potentially leading to crashes or unexpected behavior in the application. While it's not a direct way into your system, it could still lead to a frustrating experience or even Denial of Service if left unaddressed. Upgrade FreeRDP to version 3.20.1 or later to resolve this race condition. Regularly reviewing and monitoring thread management practices in your applications can also help prevent similar issues down the line. You've got this! Just follow these steps to secure your system and keep it running smoothly! 🛡️

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.00330 · 24.8th percentile
Weaknesses
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'); 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 create_irp_thread
    cvelistv5