CVE-2026-22854CWE-122

FreeRDP has a heap-buffer-overflow in drive_process_irp_read

Medium · published January 14, 2026

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

⚠️ A sneaky heap buffer overflow lurks in FreeRDP before version 3.20.1! This is like a waiter bringing you a dish that's too big for your table—overflowing and causing a mess! 🍽️ Think of it like a restaurant where the chef doesn't check the portion sizes—if the dish is too large, it spills over onto the table, crowding everything else. This is what happens when the read length is server-controlled; it can overwrite critical memory areas. An attacker could potentially exploit this vulnerability to manipulate memory, which may lead to unexpected behavior or crashes. While it's not currently known to be exploited, the risks of data corruption or service disruption are enough to warrant fixing this sooner rather than later!

Put simply

Think of it like a restaurant where the chef doesn't check the portion sizes—if the dish is too large, it spills over onto the table, crowding everything else. This is what happens when the read length is server-controlled; it can overwrite critical memory areas. This heap buffer overflow in FreeRDP allows a server to control the read length, leading to an oversized read that overwrites adjacent memory buffers without proper checks. This issue resides in the drive read functionality of the protocol implementation.

What to do

An attacker could potentially exploit this vulnerability to manipulate memory, which may lead to unexpected behavior or crashes. While it's not currently known to be exploited, the risks of data corruption or service disruption are enough to warrant fixing this sooner rather than later! Update FreeRDP to version 3.20.1 or later immediately to mitigate this vulnerability. Additionally, review your configurations to ensure that unnecessary permissions are not granted to server-controlled inputs. You've got this! Stay vigilant and update your systems, and you'll be protecting your environment like a pro! 🛡️

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-122 · Heap-based Buffer Overflow
Published
2026-01-14T17:47Z
EPSS history
Timeline
  • 14 JAN 17:47Z
    FreeRDP has a heap-buffer-overflow in drive_process_irp_read
    cvelistv5