FreeRDP remote code execution in H.264 encoder
Affects FreeRDP before 3.33.0 when the H.264 encoder is in use (AVC420 path) and the surface height changes after an encoder reset while width stays the same. Fixed in 3.33.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.33.0
- Who is exposed
- Not reported
Summary
Written by a model
FreeRDP before 3.33.0 contains a heap out-of-bounds write in h264_context_reset() in libfreerdp/codec/h264.c, which stores new dimensions before the YUV planes are reallocated. Remote peers can trigger surface height increases so avc420_compress() writes taller frames past undersized luma and chroma planes, corrupting heap memory or crashing the process.
Who should check
Teams running FreeRDP before 3.33.0 with H.264 encoding enabled, such as shadow server deployments that resize surfaces.
“Affecting FreeRDP < 3.33.0”
What to do
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-137077 (FreeRDP before 3.33.0 Heap Out-of-Bounds Write via H.264 Encoder Height Change), 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-137077 (entry last updated 2026-11-25):
Affected:
- FreeRDP FreeRDP: fixed in 3.33.0
Fixed versions: 3.33.0.
Conditions (all must be true for the bug to be hit):
- Surface height increases after an encoder reset while width stays the same (source: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q8p6-8mmj-j4ph)
- H.264 encoder in use (AVC420 path); reproduced with both libx264 and OpenH264 backends (source: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q8p6-8mmj-j4ph)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-137077 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137077 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-q8p6-8mmj-j4ph
- https://github.com/FreeRDP/FreeRDP/commit/58eed374e5cc0547308890ea4dcd3f75d67f81c1
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.33.0
- https://github.com/FreeRDP/FreeRDP/blob/3.32.2/libfreerdp/codec/h264.c#L796
- https://www.vulncheck.com/advisories/freerdp-before-3.33.0-heap-out-of-bounds-write-via-h-264-encoder-height-change
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-137077
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-137077"}.Affected versions
- FreeRDP FreeRDPfixed in 3.33.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.3/10CVSS 8.3
- No patch0/5No signal
What would change the score
- Would score about 70 if added to CISA KEV
- Would score about 65 if CISA's SSVC rates exploitation active
- Would score about 30 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · FreeRDP/FreeRDP · Advisory GHSA-q8p6-8mmj-j4ph |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-137077 |
| Record | NVD · CVE-2026-137077 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | GitHub · googlesky/CVE-2026-137077 · Repository |
| Other links 4 | |
| Patch | GitHub · FreeRDP/FreeRDP · Commit 58eed374 |
| Repository | GitHub · FreeRDP/FreeRDP · Release 3.33.0 |
| Repository | GitHub · FreeRDP/FreeRDP · libfreerdp/codec/h264.c · L796 |
| Link | vulncheck.com · advisories/freerdp-before-3.33.0-heap-out-of-bounds-write-via-h-264-encoder-height-change |
Questions about CVE-2026-137077
Is CVE-2026-137077 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?
A height change after an encoder reset can make FreeRDP write past the end of a heap buffer. This can corrupt heap memory or crash the process.
Source: github.com, vulncheck.com
Which versions are affected by CVE-2026-137077?
FreeRDP: before 3.33.0.
Source: cve.now feed data
Am I affected, and how do I check?
Versions of FreeRDP before 3.33.0 are affected when the H.264 encoder is in use on the AVC420 path and the surface height changes after an encoder reset while the width stays the same. The bug was reproduced with both the libx264 and OpenH264 backends, so the backend does not change whether it applies.
Source: github.com, vulncheck.com
How do I fix CVE-2026-137077?
Upgrade FreeRDP to 3.33.0 or later, which is the listed fixed version.
Source: github.com, vulncheck.com
Related
- CVE-2026-121953FreeRDP before 3.32.2 Use-After-Free via rdpgfx Dynamic Virtual Channel Close
- CVE-2026-121952FreeRDP before 3.32.2 Proxy Out-of-Bounds Write via Bitmap Cache v2 Capability
- CVE-2026-121964FreeRDP before 3.32.2 Heap Buffer Overflow via rpc_client_recv_fragment
- CVE-2026-121960FreeRDP before 3.32.2 Unauthenticated Denial of Service via CredSSP TSRequest
- CVE-2026-121958FreeRDP before 3.32.2 Heap Out-of-Bounds Write via RDPGFX HashTable_GetKeys
- CVE-2026-121957FreeRDP before 3.32.2 Use-After-Free via RDPGFX ResetGraphics Race
No corrections so far. Something wrong on this page? Report an error.