CVE-2026-33984CWE-122CWE-131

FreeRDP: ClearCodec resize_vbar_entry() Heap OOB Write

High · published March 30, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
51.9
In the wild
Unconfirmed
What it is

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in resize_vbar_entry() in libfreerdp/codec/clear.c, vBarEntry->size is updated to vBarEntry->count before the winpr_aligned_recalloc() call. If realloc fails, size is inflated while pixels still points to the old, smaller buffer. On a subsequent call where count <= size (the inflated value), realloc is skipped. The caller then writes count * bpp bytes of attacker-controlled pixel data into the undersized buffer, causing a heap buffer overflow. This issue has been patched in version 3.24.2.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00682 · 51.9th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-131 · Incorrect Calculation of Buffer Size
Published
2026-03-30T21:42Z
EPSS history
Timeline
  • 30 MAR 21:42Z
    FreeRDP: ClearCodec resize_vbar_entry() Heap OOB Write
    cvelistv5