CVE-2026-33984
JSON

7.5high

FreeRDP: ClearCodec resize_vbar_entry() Heap OOB Write

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
FreeRDP FreeRDP< 3.24.2, before 3.24.2CVE List, NVD
freerdpNot specified
Not affected: from 2:3.10.3-12.el10_2.2 before *, from 2:3.10.3-5.el10_1.6 before *, from 2:3.10.3-3.el10_0.6 before *, from 2:2.11.7-7.el8_10 before *, from 2:2.0.0-46.rc4.el8_2.11 before *, from 2:2.2.0-13.el8_4 before *
CVE List

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-122CWE-131

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (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.

References

https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8469-2xcx-frf6patch, vendor-advisory
https://github.com/FreeRDP/FreeRDP/commit/dc7fdb165095139be779a4000199bc1706b06ad5patch
https://access.redhat.com/security/cve/CVE-2026-33984vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2453219issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33984.json
https://access.redhat.com/errata/RHSA-2026:11333vendor-advisory
https://access.redhat.com/errata/RHSA-2026:8458vendor-advisory
https://access.redhat.com/errata/RHSA-2026:19033vendor-advisory
https://access.redhat.com/errata/RHSA-2026:8945vendor-advisory
https://access.redhat.com/errata/RHSA-2026:11651vendor-advisory
https://access.redhat.com/errata/RHSA-2026:11649vendor-advisory
https://access.redhat.com/errata/RHSA-2026:12388vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-33984 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-33984 changed 2026-07-15Public domain