See how freerdp compares to other vendors in security performance
(FreeRDP before 3.33.0 contains a race condition in asynchronous RDPDR ...)
FreeRDP before 3.33.0 contains a race condition in asynchronous RDPDR IRP processing that allows malicious RDP servers to leak client memory through non-atomic wStream reference count updates. Attackers can send repeated IRPs, such as smartcard redirection requests, so concurrent StreamRelease() calls lose decrements and accumulate unreleased streams, exhausting memory and causing denial of service.
(FreeRDP before 3.33.0 contains a credential disclosure vulnerability t ...)
FreeRDP before 3.33.0 contains a credential disclosure vulnerability that allows malicious RDP servers to obtain client passwords because rdpwriteinfopacket() omits a Remote Credential Guard check. When a victim connects using /remoteGuard with a configured /p password, the client sends the password in the Client Info packet after CredSSP, exposing reusable credentials to the destination.
(FreeRDP before 3.33.0 contains an out-of-bounds read in the client sma ...)
FreeRDP before 3.33.0 contains an out-of-bounds read in the client smartcard channel because SCARDIOCTLLISTREADERSW decoding accepts an odd cBytes value, leaving the mszGroups wide-string buffer without an aligned NUL terminator. A malicious RDP server can send a crafted IRPMJDEVICECONTROL request causing the client to read beyond a heap allocation, potentially crashing it.
(The FreeRDP proxy in FreeRDP before 3.33.0 dereferences a NULL backend ...)
The FreeRDP proxy in FreeRDP before 3.33.0 dereferences a NULL backend client context in pfserverrefreshrect and pfserversuppressoutput, which are guarded only by a debug-only WINPRASSERT, when a REFRESHRECT or SUPPRESSOUTPUT data PDU arrives before connection activation. An unauthenticated remote client that completes licensing without sending Confirm Active can crash the proxy process, terminating all hosted sessions.
(FreeRDP before 3.33.0 contains an integer overflow in the client GDI h ...)
FreeRDP before 3.33.0 contains an integer overflow in the client GDI handling of accumulated drawing-order bounds: wrapped INT32 coordinates yield a zero-width clip region that causes clipping to be skipped in gdiFillRect. A malicious RDP server can send many ORDERBOUNDS orders followed by an OPAQUERECT order to trigger a heap out-of-bounds write past the client's drawing bitmap, potentially leading to code execution.
(FreeRDP from 3.0.0 before 3.33.0 contains a missing authentication vul ...)
FreeRDP from 3.0.0 before 3.33.0 contains a missing authentication vulnerability in the shadow server's fast-path input handlers in fastpath.c that allows unauthenticated attackers to inject input before activation. Attackers can negotiate TLS-only RDP, skip Confirm Active, and send Fast-Path Input Event PDUs to inject keystrokes and mouse movement into the host X11 session via XTEST.
(FreeRDP from 3.0.0 before 3.33.0 contains a reachable assertion in rem ...)
FreeRDP from 3.0.0 before 3.33.0 contains a reachable assertion in remdeskserverthread that allows authenticated clients to abort freerdp-shadow-cli by sending oversized remdesk messages. Attackers can send one message longer than 4096 bytes with a shorter declared PDU length, forcing StreamSeek past capacity and terminating every served session.
(FreeRDP 2.11.2 before 3.33.0 contains unbounded resource consumption i ...)
FreeRDP 2.11.2 before 3.33.0 contains unbounded resource consumption in the Progressive codec because progressivedecompress() resets the tile update batch only when frameId changes. A malicious RDP server can repeat RDPGFXCAPROGRESSIVE WireToSurface2 commands with a constant frameId to cause unbounded memory growth, quadratic CPU cost, a heap out-of-bounds write on tile-cache allocation failure, and client crashes.
(FreeRDP from 3.10.0 before 3.33.0 contains an invalid free vulnerabili ...)
FreeRDP from 3.10.0 before 3.33.0 contains an invalid free vulnerability in rdg.c because the websocket context pointer shares a union with chunked transfer-encoding decoder state. A malicious RD Gateway answering the data channel with chunked encoding can control the overwritten pointer via chunk sizes, causing rdgfree to free an attacker-influenced value and crash the client.
(FreeRDP from 3.0.0 before 3.33.0 contains a use-after-free vulnerabili ...)
FreeRDP from 3.0.0 before 3.33.0 contains a use-after-free vulnerability in certwriteservercertificatev1() that computes the proprietary certificate signature over a freed stream buffer after reallocation. Clients negotiating Standard RDP Security with many static channels against servers using 3072- or 4096-bit keys trigger freed heap reads, producing invalid certificate signatures.
(FreeRDP before 3.33.0 contains a heap out-of-bounds read in WinPR's sa ...)
FreeRDP before 3.33.0 contains a heap out-of-bounds read in WinPR's savepngtobuffer(), which selects an RGB PNG color type for 9–16 bpp images but fills only 2 bytes per pixel per row. A malicious RDP server can send 9–16 bpp CFDIB clipboard data that, when a local application requests image/png, yields a PNG containing adjacent client heap memory.
[GHSA-q8p6-8mmj-j4ph]
FreeRDP before 3.33.0 contains a heap out-of-bounds write in h264contextreset() in libfreerdp/codec/h264.c, which stores new dimensions before the YUV planes are reallocated. Remote peers can trigger surface height increases so avc420compress() writes taller frames past undersized luma and chroma planes, corrupting heap memory or crashing the process.
[GHSA-76c4-7552-ffhv]
FreeRDP before 3.33.1 contains a heap use-after-free vulnerability in the WinPR wLinkedList collection because LinkedListFreeNode() frees nodes without updating the cached list->current enumerator pointer. When calling code removes the node the enumerator references, LinkedListEnumeratorMoveNext() or LinkedListEnumeratorCurrent() reads freed heap memory, which can crash the process.
Okta Privileged Access (OPA) Gateway includes a version of the FreeRDP library affected by memory management issues in its smartcard redirection handling. When an RDP session is established meeting specific session criteria, command execution within the context of the local Gateway service account may be allowed.
FreeRDP before 3.33.0 contains a heap use-after-free vulnerability in updategdipatblt(), updategdipolygoncb() and updategdimem3blt() that retain stale brush cache pointers. A malicious RDP server can resend CACHEBRUSH to the same slot then send PATBLT, causing clients to read freed heap memory, disclosing data or crashing.
FreeRDP before 3.33.0 contains a heap use-after-free vulnerability in updategdipatblt(), updategdipolygoncb() and updategdimem3blt() that retain stale brush cache pointers. A malicious RDP server can resend CACHEBRUSH to the same slot then send PATBLT, causing clients to read freed heap memory, disclosing data or crashing.
FreeRDP before 3.32.2 has a use-after-free in the client's rdpgfx dynamic virtual channel: a duplicate-name channel with a new ChannelId overwrites the listener's single callback slot, which rdpgfxonclose frees without clearing. A malicious RDP server can open and close such a channel, then send a PDU on the original channel to crash the client or potentially execute code.