Out-of-bounds Read Affecting freerdp/freerdp package, versions [,3.32.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.41% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FREERDPFREERDP-23189146
  • published1 Dec 2026
  • disclosed21 Oct 2026
  • creditKanishka De Silva

Introduced: 21 Oct 2026

CVE-2026-114043  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade freerdp/freerdp to version 3.32.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via winpr_bitmap_write_buffer() in WinPR's clipboard PNG-to-CF_DIB synthesis path. winpr_read_png_from_buffer() allocates a bit-packed buffer sized at width * height * bpp / 8 bytes for PNGs with bit depth below 8, but winpr_bitmap_write_buffer() copies rows assuming one byte per pixel, using an unpacked stride of width bytes per row. A malicious RDP server can send a low-bit-depth PNG clipboard payload that, when pasted by the victim, causes the copy loop to read beyond the allocated buffer and deliver approximately 3.5 MiB of adjacent heap memory to the receiving application as a CF_DIB clipboard value.

Note: This is only exploitable when the library is built with WINPR_UTILS_IMAGE_PNG=ON, which is the default in official Android and iOS FreeRDP clients but is typically off in Linux distribution packages.

References

CVSS Base Scores

version 4.0
version 3.1