CVE-2026-33984

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*

History

01 Apr 2026, 20:02

Type Values Removed Values Added
CPE cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
References () https://github.com/FreeRDP/FreeRDP/commit/dc7fdb165095139be779a4000199bc1706b06ad5 - () https://github.com/FreeRDP/FreeRDP/commit/dc7fdb165095139be779a4000199bc1706b06ad5 - Patch
References () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8469-2xcx-frf6 - () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8469-2xcx-frf6 - Patch, Vendor Advisory
First Time Freerdp
Freerdp freerdp

01 Apr 2026, 14:24

Type Values Removed Values Added
Summary
  • (es) FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la versión 3.24.2, en resize_vbar_entry() en libfreerdp/codec/clear.c, vBarEntry-&gt;size se actualiza a vBarEntry-&gt;count antes de la llamada a winpr_aligned_recalloc(). Si realloc falla, size se infla mientras pixels aún apunta al búfer antiguo y más pequeño. En una llamada posterior donde count &lt;= size (el valor inflado), realloc se omite. El llamador luego escribe count * bpp bytes de datos de píxeles controlados por el atacante en el búfer de tamaño insuficiente, causando un desbordamiento de búfer de pila. Este problema ha sido parcheado en la versión 3.24.2.

30 Mar 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-30 22:16

Updated : 2026-04-01 20:02


NVD link : CVE-2026-33984

Mitre link : CVE-2026-33984

CVE.ORG link : CVE-2026-33984


JSON object : View

Products Affected

freerdp

  • freerdp
CWE
CWE-122

Heap-based Buffer Overflow

CWE-131

Incorrect Calculation of Buffer Size