Vulnerability DatabaseCVE-2026-137462

CVE-2026-137462: 
Wolfi vulnerability analysis and mitigation

Overview

CVE-2026-137462 is a heap out-of-bounds read vulnerability in FreeRDP's WinPR PNG writer (save_png_to_buffer()) that allows a malicious RDP server to leak adjacent client heap memory via crafted clipboard data. It affects all FreeRDP versions before 3.33.0 (confirmed in master @ 87baff6c and 3.32.1). The vulnerability was published on November 26, 2026, and was discovered via fuzzing. It carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory, Feedly).

Technical details

The root cause (CWE-125: Out-of-bounds Read) lies in a mismatch between the PNG color type selected by save_png_to_buffer() and the number of bytes actually written per pixel. For 9–16 bpp images (e.g., 16bpp RGB555/565 CF_DIB clipboard data), the function selects PNG_COLOR_TYPE_RGB (3 bytes/pixel) but the copy loop only writes 2 bytes/pixel, causing libpng to read width bytes past the allocated row buffer on every scanline and encode those heap bytes into the output PNG. The vulnerability is reachable via clipboard_synthesize_image_dib_to_format() in winpr/libwinpr/clipboard/synthetic.c, which converts incoming CF_DIB/CF_DIBV5 clipboard data to image/png when a local application requests a paste operation. A minimized 74-byte reproducer (a 2×5 16bpp BMP) triggers the issue deterministically, confirmed with AddressSanitizer (GitHub Advisory).

Impact

Successful exploitation results in heap information disclosure: adjacent heap memory from the FreeRDP client process is encoded into the produced PNG and delivered to the local receiving application. The leaked memory may include sensitive data from adjacent clipboard or image buffers, depending on allocator state. There is no memory corruption or code execution risk; integrity and availability are unaffected. Whatever the receiving application does with the PNG (display, save, or forward) carries the leaked heap content (GitHub Advisory, Feedly).

Exploitability

No public proof-of-concept exploit or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires user interaction (the victim must connect to a malicious RDP server and trigger a paste/clipboard operation), but no privileges are required on the attacker's side. The vulnerability was discovered by an automated fuzzing harness (FuzzImage) at 95,559 executions (GitHub Advisory, Feedly).

Exploitation steps

  1. Set up a malicious RDP server: Configure a rogue RDP server capable of publishing crafted clipboard data, specifically a CF_DIB or CF_DIBV5 clipboard entry with biBitCount set to a value in the 9–16 range (e.g., 16bpp RGB555/565).
  2. Lure victim to connect: Social-engineer or otherwise cause a target user running a vulnerable FreeRDP client (< 3.33.0) to connect to the malicious RDP server.
  3. Publish malicious clipboard data: Once the client connects, the server publishes the crafted CF_DIB clipboard payload (e.g., a minimal 2×5 16bpp BMP, 74 bytes) to the shared clipboard.
  4. Trigger clipboard conversion: Wait for or induce the victim to perform a paste operation in a local application that requests the image/png clipboard format, triggering clipboard_synthesize_image_dib_to_format() → save_png_to_buffer().
  5. Receive leaked heap data: The produced PNG contains width bytes of adjacent client heap memory per scanline, encoded as pixel data. The attacker can retrieve this PNG (e.g., if the application forwards or saves it) to extract potentially sensitive heap contents (GitHub Advisory).

Indicators of compromise

  • Network: Unexpected or unsolicited CF_DIB/CF_DIBV5 clipboard data with biBitCount values of 9–16 received from an RDP server; connections to unknown or untrusted RDP server endpoints.
  • File System: PNG files saved from clipboard paste operations that contain anomalous or non-image binary data in pixel regions (detectable via PNG chunk analysis).
  • Logs: FreeRDP client logs showing clipboard format conversion errors or warnings from save_png_to_buffer() / winpr_image_write_buffer() in winpr/libwinpr/utils/image.c; AddressSanitizer reports of heap-buffer-overflow READ in png_write_row → save_png_to_buffer if instrumented builds are in use.
  • Process: Unusual memory access patterns in the FreeRDP client process during clipboard operations, detectable via memory safety tooling (ASan/Valgrind) (GitHub Advisory).

Mitigation and workarounds

Upgrade FreeRDP to version 3.33.0 or later, which contains the fix for this vulnerability. The patch adds a validation check in save_png_to_buffer() that rejects inputs where srcBytesPerPixel does not match the PNG channel count, preventing the out-of-bounds read. As a workaround, avoid connecting to untrusted RDP servers and disable clipboard sharing (-clipboard flag) when connecting to servers of unknown trustworthiness. Builds without WINPR_UTILS_IMAGE_PNG support are not affected (GitHub Advisory).

Community reactions

The advisory was submitted with AI assistance and published by FreeRDP maintainer akallabeth on November 9, 2026. The report explicitly distinguishes this vulnerability from the related GHSA-f3vg / VU#153899 / VU#153900 advisories (which covered the reverse PNG→CF_DIB read direction fixed in 3.32.1), noting that this is a separate writer-side issue not addressed by those prior fixes. No significant broader media coverage or social media discussion has been identified at this time (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

freerdp2

Affected

sid

freerdp3: 3.33.0+dfsg-1

Fixed

trixie

freerdp3

Affected

Ubuntu

Unknown

bionic (esm-apps)

freerdp

Unknown

bionic (esm-infra)

freerdp2

Unknown

devel

freerdp3

Unknown

focal (esm-infra)

freerdp2

Unknown

jammy

freerdp2

Unknown

noble

freerdp2

Unknown

noble (esm-apps)

freerdp2

Unknown

resolute

freerdp3

Unknown

RHEL / CentOS

Affected

RHEL 8

freerdp.src

Affected

RHEL 9

freerdp.src

Affected

RHEL 10

freerdp.src

Affected

Source: This report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-137460HIGH8.7
  • Wolfi logoWolfi
  • freerdp-devel
NoYesNov 26, 2026
CVE-2026-137459HIGH8.7
  • Wolfi logoWolfi
  • freerdp3
NoYesNov 26, 2026
CVE-2026-137462HIGH7.1
  • Wolfi logoWolfi
  • freerdp
NoYesNov 26, 2026
CVE-2026-137458HIGH7.1
  • Wolfi logoWolfi
  • freerdp-server
NoYesNov 26, 2026
CVE-2026-137461MEDIUM6.9
  • Wolfi logoWolfi
  • freerdp2
NoYesNov 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management