# CVE-2026-121397: FreeRDP before 3.32.2 Heap Over-Read via WinPR save_png_to_buffer()


- **Severity:** Medium 5.3 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 3 Nov 2026
- **Updated:** 3 Nov 2026
- **Also known as:** DEBIAN-CVE-2026-121397, GHSA-4v6v-rqm8-m7cj, GHSA-x7w3-32ch-x2jq, UBUNTU-CVE-2026-121397

## What is CVE-2026-121397?

CVE-2026-121397 is a medium-severity vulnerability in FreeRDP, published on 3 Nov 2026. 

### Official description

FreeRDP before 3.32.2 contains a heap buffer over-read vulnerability in save_png_to_buffer() that allows malicious RDP servers to leak client memory by sending 16 bpp DIB clipboard data. Attackers can offer a CF_DIB BI_BITFIELDS image that, when converted to PNG for a local application, embeds client heap bytes into the clipboard image.

Weakness: CWE-125 (Out-of-bounds Read)

## Which versions are affected by CVE-2026-121397?

It affects 1 product.


Products: FreeRDP.

CPE match criteria (CPE 2.3):

- `cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*` before 3.32.2

Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Upstream |  | fixed | `freerdp:freerdp` | 3.32.2 |
| Red Hat | 8 | deferred | `freerdp`, `freerdp`, `freerdp-devel` and 3 more |  |
| Red Hat | 9 | deferred | `freerdp`, `freerdp`, `freerdp-devel` and 3 more |  |
| Red Hat | 10 | deferred | `freerdp` |  |
| Red Hat | els/6 | end of life | `freerdp`, `freerdp`, `freerdp-devel` and 2 more |  |
| Red Hat | els/7 | deferred | `freerdp`, `freerdp`, `freerdp-devel` and 4 more |  |

## How do I fix CVE-2026-121397?

Upgrade FreeRDP to 3.32.2 or later. The advisory says that version fixes it.

## Is CVE-2026-121397 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-121397 exists.

## Other vulnerabilities in FreeRDP

- [CVE-2024-32658](https://insights.sbomify.com/CVE-2024-32658/): FreeRDP ExtractRunLengthRegular* out of bound read (critical 9.8)
- [CVE-2024-32659](https://insights.sbomify.com/CVE-2024-32659/): freerdp_image_copy out of bound read (critical 9.8)
- [CVE-2024-32039](https://insights.sbomify.com/CVE-2024-32039/): FreeRDP Integer overflow & OutOfBound Write in clear_decompress_residual_data (critical 9.8)
- [CVE-2024-32041](https://insights.sbomify.com/CVE-2024-32041/): FreeRDP OutOfBound Read in zgfx_decompress_segment (critical 9.8)
- [CVE-2024-32458](https://insights.sbomify.com/CVE-2024-32458/): FreeRDP Out-Of-Bounds Read in planar_skip_plane_rle (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-121397 and fix it if it is affected.

What it is: CVE-2026-121397 is a medium-severity vulnerability in FreeRDP, published on 3 Nov 2026. 
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-121397 exists.

Affected product: FreeRDP. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-121397/ (Markdown: https://insights.sbomify.com/CVE-2026-121397/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-121397
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-121397
- OSV: https://osv.dev/vulnerability/CVE-2026-121397

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-121397/
Summaries are generated and may contain mistakes; the official description above is the record.
