FreeRDP out-of-bounds heap read in WinPR PNG writer
Affects FreeRDP builds before 3.33.0 that include the WinPR PNG writer, which the official packaging enables, when clipboard images of 9 to 16 bits per pixel are requested as image/png. Fixed in 3.33.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.33.0
- Who is exposed
- Specific setups only
Summary
FreeRDP contains a heap out-of-bounds read in its WinPR PNG writer, which saves 9–16 bits-per-pixel images with too little data per pixel. A malicious RDP server can reach it remotely, without logging in, by sending crafted clipboard image data, and when a local application requests a PNG, the output can contain adjacent client heap memory.
Written by a model
Original description
FreeRDP before 3.33.0 contains a heap out-of-bounds read in WinPR's save_png_to_buffer(), which selects an RGB PNG color type for 9–16 bpp images but fills only 2 bytes per pixel per row. A malicious RDP server can send 9–16 bpp CF_DIB clipboard data that, when a local application requests image/png, yields a PNG containing adjacent client heap memory.
Who should check
Teams shipping or packaging FreeRDP before 3.33.0 with WinPR PNG support enabled, including official FreeRDP packages.
“Affects builds with WINPR_UTILS_IMAGE_PNG - enabled by the official packaging”
What to do
Check whether your setup matches what the bug needs.
Build includes WinPR PNG writer support (WINPR_UTILS_IMAGE_PNG enabled). Source clipboard data is CF_DIB/CF_DIBV5 with 9 to 16 bits per pixel. A local application requests image/png from the clipboard (e.g. paste).Upgrade to a fixed version: 3.33.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-137462 (FreeRDP before 3.33.0 Heap Out-of-Bounds Read via WinPR PNG Writer), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-137462 (entry last updated 2026-11-26):
Affected:
- FreeRDP FreeRDP: fixed in 3.33.0
Fixed versions: 3.33.0.
Conditions (all must be true for the bug to be hit):
- Build includes WinPR PNG writer support (WINPR_UTILS_IMAGE_PNG enabled). (source: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4g67-jhpc-q5xp)
- Source clipboard data is CF_DIB/CF_DIBV5 with 9 to 16 bits per pixel. (source: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4g67-jhpc-q5xp)
- A local application requests image/png from the clipboard (e.g. paste). (source: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4g67-jhpc-q5xp)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-137462 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137462 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4g67-jhpc-q5xp
- https://www.vulncheck.com/advisories/freerdp-before-3.33.0-heap-out-of-bounds-read-via-winpr-png-writer
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-137462
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-137462"}.Affected versions
- FreeRDP FreeRDPfixed in 3.33.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.1/10CVSS 7.1
- No patch0/5No signal
What would change the score
- Would score about 69 if added to CISA KEV
- Would score about 64 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · FreeRDP/FreeRDP · Advisory GHSA-4g67-jhpc-q5xp |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-137462 |
| Record | NVD · CVE-2026-137462 |
| Other links 1 | |
| Link | vulncheck.com · advisories/freerdp-before-3.33.0-heap-out-of-bounds-read-via-winpr-png-writer |
Questions about CVE-2026-137462
Is CVE-2026-137462 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
When a local application requests image/png from the clipboard, FreeRDP's WinPR PNG writer reads past the end of a heap buffer for 9 to 16 bits-per-pixel sources such as 16bpp RGB555 or RGB565 CF_DIB data. Heap bytes from the client process are then included in the converted PNG delivered to the requesting application.
Source: github.com
Which versions are affected by CVE-2026-137462?
FreeRDP: before 3.33.0.
Source: cve.now feed data
Am I affected, and how do I check?
Affected are FreeRDP versions before 3.33.0 built with WINPR_UTILS_IMAGE_PNG enabled, which the official packaging enables. The FreeRDP version and the WINPR_UTILS_IMAGE_PNG build setting can be checked to see whether a build falls in this range.
Source: github.com
How do I fix CVE-2026-137462?
Upgrade to FreeRDP 3.33.0 or later, the fixed version listed for this vulnerability.
Source: github.com
Related
- CVE-2026-137456FreeRDP before 3.33.0 Heap Out-of-Bounds Write via ORDER_BOUNDS Integer Overflow
- CVE-2026-137452FreeRDP before 3.33.0 Memory Leak via Non-Atomic RDPDR IRP Stream Refcount
- CVE-2026-137455FreeRDP before 3.33.0 Proxy NULL Pointer Dereference via Early REFRESH_RECT PDU
- CVE-2026-137457FreeRDP 3.0.0 before 3.33.0 Missing Authentication via Fast-Path Input PDUs
- CVE-2026-137459FreeRDP 2.11.2 before 3.33.0 Heap Corruption via Progressive Codec Stale frameId
- CVE-2026-137460FreeRDP 3.10.0 before 3.33.0 Invalid Free via RD Gateway Chunked Encoding
No corrections so far. Something wrong on this page? Report an error.