FreeRDP memory disclosure in clipboard PNG conversion
FreeRDP
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| FreeRDP FreeRDP |
|
|
Original description
FreeRDP before 3.32.1 contains a heap-based out-of-bounds read in WinPR's clipboard PNG-to-CF_DIB synthesis because winpr_read_png_from_buffer() allocates a bit-packed buffer for PNGs with bit depth below 8, while winpr_bitmap_write_buffer() copies rows assuming one byte per pixel. A malicious RDP server can send a crafted low-bit-depth PNG clipboard payload that, when pasted by the victim, discloses megabytes of heap memory.
From the CVE record · VulnCheck