Описание
FreeRDP before 3.32.2 does not check the product of surface dimensions in gdi_CreateSurface when handling an RDPGFX CREATE_SURFACE PDU, causing an integer wrap and heap buffer overflow on 32-bit builds and an approximately 4 GiB allocation on 64-bit builds. A malicious RDP server can send a CREATE_SURFACE PDU with width and height 32766 to a connecting client to corrupt heap memory or cause a denial of service.
A flaw was found in FreeRDP. A malicious Remote Desktop Protocol (RDP) server can cause a denial of service (DoS) or memory corruption on a connecting client. This issue occurs because FreeRDP does not properly validate graphical surface dimensions, resulting in an integer overflow during memory allocation calculations. By sending a specially crafted surface creation message, a rogue server can trigger excessive memory consumption or a heap-based buffer overflow, causing the client application to crash.
Отчет
This vulnerability is evaluated as Moderate impact for Red Hat products because exploitation requires client-side user interaction to connect to an untrusted remote system, restricting the potential blast radius to the local application session. On standard 64-bit Red Hat Enterprise Linux architectures, the arithmetic wrap does not occur; instead, the oversized dimension request triggers an excessively large memory allocation that terminates the client process rather than corrupting memory. As a result, an attacker is limited to causing a denial of service on the client without compromising host system integrity or achieving arbitrary code execution.
Меры по смягчению последствий
To mitigate this restrict outbound client connections strictly to trusted RDP servers and enforce memory limits via OS process resource limits or cgroups v2 to prevent multi-gigabyte memory exhaustion on 64-bit hosts. On 32-bit or sensitive environments, ensure ASLR and glibc heap allocator hardening are active to mitigate heap corruption risks.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 7 | freerdp | Fix deferred | ||
| Red Hat Enterprise Linux 8 | freerdp | Fix deferred | ||
| Red Hat Enterprise Linux 9 | freerdp | Fix deferred | ||
| Red Hat Enterprise Linux 10 | freerdp | Fixed | RHSA-2026:94514 | 03.11.2026 |
| Red Hat Enterprise Linux 10 | freerdp | Fixed | RHSA-2026:98598 | 11.11.2026 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
6.5 Medium
CVSS3
Связанные уязвимости
FreeRDP before 3.32.2 does not check the product of surface dimensions in gdi_CreateSurface when handling an RDPGFX CREATE_SURFACE PDU, causing an integer wrap and heap buffer overflow on 32-bit builds and an approximately 4 GiB allocation on 64-bit builds. A malicious RDP server can send a CREATE_SURFACE PDU with width and height 32766 to a connecting client to corrupt heap memory or cause a denial of service.
FreeRDP before 3.32.2 does not check the product of surface dimensions in gdi_CreateSurface when handling an RDPGFX CREATE_SURFACE PDU, causing an integer wrap and heap buffer overflow on 32-bit builds and an approximately 4 GiB allocation on 64-bit builds. A malicious RDP server can send a CREATE_SURFACE PDU with width and height 32766 to a connecting client to corrupt heap memory or cause a denial of service.
FreeRDP before 3.32.2 Heap Overflow via RDPGFX CREATE_SURFACE Integer Wrap
FreeRDP before 3.32.2 does not check the product of surface dimensions ...
FreeRDP before 3.32.2 does not check the product of surface dimensions in gdi_CreateSurface when handling an RDPGFX CREATE_SURFACE PDU, causing an integer wrap and heap buffer overflow on 32-bit builds and an approximately 4 GiB allocation on 64-bit builds. A malicious RDP server can send a CREATE_SURFACE PDU with width and height 32766 to a connecting client to corrupt heap memory or cause a denial of service.
EPSS
6.5 Medium
CVSS3