Out-of-bounds read in FreeRDP - #VU156174

 

Out-of-bounds read in FreeRDP - #VU156174

Published: October 19, 2026


Vulnerability identifier: #VU156174
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to expose potentially sensitive heap memory in PNG data delivered to the local clipboard.

The vulnerability exists due to an out-of-bounds read in save_png_to_buffer() in winpr/libwinpr/utils/image.c when converting 16 bpp DIB images to PNG. A remote attacker can supply a server-controlled 16 bpp BI_BITFIELDS DIB through clipboard redirection and trigger conversion when a local application requests image/png, causing libpng to read three bytes per pixel from rows containing only two bytes per pixel and include adjacent heap bytes in the resulting image.

The vulnerable conversion requires a build with WINPR_UTILS_IMAGE_PNG enabled.


Affected software

FreeRDP

Remediation

Install security update from vendor's website.

FreeRDP - update to 3.32.2

External References

Related Security Bulletins