CVE-2026-33987: FreeRDP: Persistent Cache bmpSize Desync - Heap OOB Write
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in persistentcachereadentryv3() in libfreerdp/cache/persistent.c, persistent->bmpSize is updated before winpralignedrecalloc(). If realloc fails, bmpSize is inflated while bmpData points to the old buffer. This issue has been patched in version 3.24.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/freerdpto a version that resolves this vulnerability.Fixed in 3.24.2-r0 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.30.0+dfsg-0ubuntu0.24.04.1 - 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-33987?
CVE-2026-33987 has been classified as a high severity vulnerability due to the potential for heap out-of-bounds writes.
How do I fix CVE-2026-33987?
To fix CVE-2026-33987, upgrade FreeRDP to version 3.24.2 or later.
What causes CVE-2026-33987?
CVE-2026-33987 is caused by an improper update of the bmpSize variable before handling memory reallocation.
Is CVE-2026-33987 exploitable remotely?
Yes, CVE-2026-33987 can be exploited remotely through a vulnerable implementation of the Remote Desktop Protocol.
What software versions are affected by CVE-2026-33987?
FreeRDP versions prior to 3.24.2 are affected by CVE-2026-33987.