Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114043 Overview
CVE-2026-114043 is a heap-based out-of-bounds read in FreeRDP's WinPR clipboard subsystem affecting versions before 3.32.1. The flaw resides in the PNG-to-CF_DIB clipboard synthesis path. The function winpr_read_png_from_buffer() allocates a bit-packed buffer for PNG images with a bit depth below 8, while winpr_bitmap_write_buffer() copies rows under the assumption of one byte per pixel. A malicious RDP server can send a crafted low-bit-depth PNG clipboard payload. When the victim pastes the clipboard content, the mismatch causes the client to read and transmit megabytes of adjacent heap memory back to the server. The weakness is classified as CWE-125.
Critical Impact
A malicious RDP server can exfiltrate megabytes of client-side heap memory, potentially including credentials, session tokens, or other sensitive data, through a single paste operation.
Affected Products
- FreeRDP versions prior to 3.32.1
- WinPR clipboard library bundled with vulnerable FreeRDP releases
- Downstream applications and distributions that embed FreeRDP for RDP client functionality
Discovery Timeline
- 2026-10-21 - CVE-2026-114043 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114043
Vulnerability Analysis
FreeRDP implements clipboard format synthesis in WinPR so that image data copied on the server can be rendered on the client in a format the host application understands. When the clipboard payload is a PNG, FreeRDP decodes it through winpr_read_png_from_buffer() and converts the result into a Windows device-independent bitmap (CF_DIB). The decoder honors the PNG bit depth field. For images with a bit depth below 8, pixels are packed multiple per byte, so the allocation sizing reflects a bit-packed layout.
The downstream converter winpr_bitmap_write_buffer() does not reconcile this layout. It walks the source buffer row by row assuming each pixel occupies one byte. Because the allocated source is smaller than the destination expects, each row read advances beyond the end of the allocation and copies attacker-adjacent heap bytes into the synthesized CF_DIB. The resulting bitmap is handed to the system clipboard. When the user pastes it into a server-side application, the leaked heap contents transit back over the RDP channel.
Root Cause
The root cause is an inconsistent assumption about pixel stride between the PNG decoder and the bitmap writer. The decoder sizes its buffer in bits per pixel while the writer indexes in bytes per pixel. No bounds check guards the per-row copy in winpr_bitmap_write_buffer(), so a crafted PNG with bit depth 1, 2, or 4 triggers an out-of-bounds read for every row of the declared image height.
Attack Vector
Exploitation requires an attacker-controlled RDP server and a victim who connects with a vulnerable FreeRDP client. The attacker places a crafted low-bit-depth PNG on the server-side clipboard. The victim must perform a paste action in a client-side application that requests the synthesized CF_DIB format. User interaction is required, and no authentication to the client is needed beyond the RDP session the victim initiates. The disclosed data can include whatever resides adjacent to the allocation on the heap at paste time.
No verified public exploit code is available. See the FreeRDP GitHub Security Advisory and the VulnCheck Advisory for the authoritative technical write-ups.
Detection Methods for CVE-2026-114043
Indicators of Compromise
- Outbound RDP sessions to untrusted or newly observed servers followed by abnormally large clipboard channel traffic from client to server.
- RDP virtual channel traffic on CLIPRDR containing PNG payloads with declared bit depth of 1, 2, or 4.
- Client-side process crashes or memory sanitizer alerts in freerdp or wfreerdp binaries referencing winpr_bitmap_write_buffer or winpr_read_png_from_buffer.
Detection Strategies
- Inspect RDP clipboard traffic at network egress points for PNG magic bytes within CLIPRDR format synthesis messages and alert on sub-byte bit depths.
- Inventory endpoint FreeRDP installations and flag any build below 3.32.1, including repackaged versions distributed by third-party RDP clients.
- Correlate paste events with large bursts of client-to-server clipboard data to identify repeated exfiltration attempts across a session.
Monitoring Recommendations
- Baseline normal clipboard payload sizes per user and alert when sizes deviate by orders of magnitude during an active RDP session.
- Log RDP server identity and reputation for all outbound sessions originating from workstations that handle sensitive data.
- Monitor FreeRDP client logs for repeated clipboard format conversion failures, which may indicate probing with malformed PNG payloads.
How to Mitigate CVE-2026-114043
Immediate Actions Required
- Upgrade FreeRDP to version 3.32.1 or later on all client systems and rebuild any downstream applications that statically link WinPR.
- Audit third-party RDP clients and remote-access tools that embed FreeRDP and apply vendor updates as soon as fixed builds are published.
- Restrict outbound RDP connections to a vetted allowlist of corporate hosts to reduce exposure to malicious servers.
Patch Information
The FreeRDP maintainers resolved the issue in release 3.32.1. The fix aligns the buffer sizing between winpr_read_png_from_buffer() and winpr_bitmap_write_buffer() so that low-bit-depth PNGs no longer trigger out-of-bounds reads during CF_DIB synthesis. Patch details and backport guidance are published in the FreeRDP GitHub Security Advisory GHSA-f3vg-h45x-6wgf.
Workarounds
- Disable clipboard redirection in FreeRDP by omitting the +clipboard flag or passing /clipboard:off when launching sessions to untrusted servers.
- Train users to avoid pasting content from RDP sessions with servers whose integrity has not been verified.
- Where feasible, run FreeRDP inside an isolated sandbox or container so that any leaked heap memory contains no sensitive host data.
# Launch FreeRDP with clipboard redirection disabled
xfreerdp /v:remote.host.example /u:user /clipboard:off
# Verify installed FreeRDP version meets the fixed release
xfreerdp --version | awk '{print $NF}'
# Expected: 3.32.1 or later
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

