CVE-2026-33984: FreeRDP: ClearCodec resize_vbar_entry() Heap OOB Write
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in resizevbarentry() in libfreerdp/codec/clear.c, vBarEntry->size is updated to vBarEntry->count before the winpralignedrecalloc() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.30.0+dfsg-0ubuntu0.24.04.1 - Upgrade
Upgrade
alpine/freerdpto a version that resolves this vulnerability.Fixed in 3.24.2-r0 - Upgrade
Upgrade
debian/freerdp2to a version that resolves this vulnerability.Fixed in 2.11.7+dfsg1-6~deb12u2 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u2 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.24.2+dfsg-1 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u2Fixed in 3.24.2+dfsg-1 - Upgrade
Upgrade
FreeRDPto a version that resolves this vulnerability.Fixed in 3.24.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-33984?
CVE-2026-33984 is classified as a high severity vulnerability due to its impact on memory management leading to potential arbitrary code execution.
How do I fix CVE-2026-33984?
To fix CVE-2026-33984, update FreeRDP to version 3.24.2 or later.
What type of vulnerability is CVE-2026-33984?
CVE-2026-33984 is a heap out-of-bounds write vulnerability affecting the FreeRDP implementation.
What software is affected by CVE-2026-33984?
CVE-2026-33984 affects FreeRDP versions prior to 3.24.2.
What kind of impact can CVE-2026-33984 have on systems?
CVE-2026-33984 can lead to memory corruption, allowing attackers to execute arbitrary code on affected systems.