Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect as H.264-capable RDP peer
-
DeliveryNegotiate AVC420 surface encoding
-
ExploitTrigger height-only surface resize (width unchanged)
-
ExecutionEncoder writes taller frame past undersized YUV planes
-
ImpactHeap corruption or process crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must be a FreeRDP endpoint that H.264-encodes surfaces via the vulnerable shared code - principally the shadow server (server/shadow/shadow_client.c -> avc420_compress, reset via shadow_encoder.c -> h264_context_reset), with avc444_compress, h264_get_yuv_buffer and the Windows decoder path (h264_mf.c) equally affected; the flaw is encoder-backend-independent (reproduced with both ffmpeg/libx264 and OpenH264). The trigger is a surface geometry change in which the height increases but the width stays the same, so the stride is unchanged and yuv_ensure_buffer() skips reallocation - a solid shrink or same-size resize does not trigger it (confirmed by the repro controls). Limiting factors: the attacker must be able to drive this exact height-only resize on an active H.264-encoded session (reflected by AC:H/AT:P), H.264/AVC420 encoding must be in use, and the practical outcome is often a crash rather than controlled corruption. Whether a connecting peer must first authenticate to the shadow server is not established by the available evidence despite the PR:N vector. |
| Impact | Signals converge on a genuine but second-tier priority. The CVSS 4.0 base score is 8.3 (High) with AV:N/PR:N/UI:N, but AC:H and AT:P materially temper practical exploitability: the overflow only fires on a specific geometry change where the surface height increases while the width - and therefore the luma stride - stays constant, so the reallocation check in yuv_ensure_buffer() is skipped. Impact is VC:N / VI:H / VA:H: no confidentiality exposure, but attacker-influenced heap corruption (CWE-787/122/131) that can reach integrity (potential code execution) and reliably causes availability loss (glibc abort or SIGSEGV). The vuln.today Decision label is 'this_week', consistent with act-within-days rather than emergency. This is NOT confirmed actively exploited - it is absent from CISA KEV. No EPSS score was provided, so exploitation-probability cannot be quantified from this data. A public PoC reproducer (repro.c / repro_probe.c) is embedded in the GHSA advisory and demonstrates the heap overflow with ASan, but it is a crash/overflow reproducer, not a verified code-execution exploit. Note one tension to verify: the supplied vector sets PR:N (unauthenticated), yet the real-world entry point is the FreeRDP shadow server encoding a connected peer's surface, and RDP shadow-session connections typically involve authentication - confirm whether the triggering peer must authenticate before concluding this is fully unauthenticated. |
| Exploit ScenarioDerived | A remote RDP peer connected to a FreeRDP-based shadow server using H.264/AVC420 surface encoding drives a surface resize that increases only the height while keeping the width constant; on the next encoded frame, avc420_compress() converts the taller frame into luma and chroma planes still allocated for the shorter frame, writing roughly 192 KiB past each plane per frame (for the 506×120→240 case) and again on every subsequent frame. The resulting heap corruption typically aborts the process later in an unrelated allocation or segfaults during the write, and could in principle be shaped toward memory-safety-driven code execution. The GHSA advisory ships a public reproducer (repro.c) that reliably demonstrates the overflow under AddressSanitizer; it is a crash-level PoC, not a verified weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Heap out-of-bounds write in FreeRDP through 3.32.2, in the shared H.264 encoder used for AVC420/AVC444 surface compression. When a surface grows in height while its width stays the same, h264_context_reset() commits the new dimensions before the YUV planes are reallocated, so avc420_compress() converts full-height frames into undersized luma and chroma buffers - the published reproducer overruns the luma plane by roughly 192 KiB per frame on a 506x120 to 506x240 resize. The bug is encoder-backend-independent (reproduced with ffmpeg/libx264 and OpenH264), most realistically reached through the shadow server's H.264 encoding path, and usually manifests as heap corruption followed by an allocator abort or segfault rather than controlled code execution. A public proof-of-concept reproducer is attached to the vendor advisory; active exploitation has not been confirmed and the issue is not in CISA KEV.
RemediationAI
Vendor-released patch: FreeRDP 3.33.0, which incorporates commit 58eed374e5cc0547308890ea4dcd3f75d67f81c1 adding UINT16_MAX validation for width and height plus a forced yuv_ensure_buffer() call in h264_context_reset() so planes are reallocated before the new geometry is stored. Upgrade any FreeRDP deployment that uses H.264/AVC420/AVC444 encoding, and prioritize shadow servers and Windows hosts using the h264_mf.c path. If 3.33.0 cannot be deployed immediately, avoid or disable H.264-based surface encoding on exposed endpoints - particularly the shadow server's AVC420/AVC444 encoder - and fall back to non-H.264 codecs, accepting higher bandwidth and CPU usage and losing hardware encoder acceleration; this reduces but does not eliminate exposure on hosts that also use the Windows Media Foundation decoder path, so those systems should be patched rather than downgraded. Restrict which peers can drive surface resizes on active shadow sessions as a supplementary control. See the vendor advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q8p6-8mmj-j4ph and the VulnCheck advisory at https://www.vulncheck.com/advisories/freerdp-before-3.33.0-heap-out-of-bounds-write-via-h-264-encoder-height-change for details; no configuration-only fix is documented, so the vendor patch is the complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is an ordering defect in h264_context_reset() in libfreerdp/codec/h264.c: the function stores the requested width and height into the H264_CONTEXT before tearing down and reinitializing the subsystem and before calling yuv_context_reset(). yuv_ensure_buffer() decides whether to reallocate by comparing the requested geometry with those same width/height fields, so after the reset the test compares the new size against itself. Because the stride is derived from width alone, a height-only increase also leaves the stride comparison satisfied, and winpr_aligned_recalloc() is skipped entirely. The next avc420_compress() call runs RGBToYUV420 conversion (SSE4.1 path on typical x86 hardware) over the taller frame, writing past the existing planes; luma overflows by roughly stride * (new_height - padded_rows(old_height)) per frame, with the chroma planes overflowing once new_height/2 exceeds the old padded height, and the old/new double buffers alternate the overrun on subsequent frames. This is primarily CWE-787 (out-of-bounds write), with the advisory also classifying it as CWE-122 and CWE-131. All callers of yuv_ensure_buffer()/avc420_ensure_buffer() following a height-only reset are exposed: avc420_compress(), avc444_compress(), h264_get_yuv_buffer() and the Windows Media Foundation decoder path in h264_mf.c. Real-world reachability is through the shadow server, which encodes via server/shadow/shadow_client.c:1401 and resets via server/shadow/shadow_encoder.c:260 when the surface size changes. The upstream fix (commit 58eed374e5cc0547308890ea4dcd3f75d67f81c1) adds UINT16_MAX bounds validation for width and height and calls yuv_ensure_buffer() inside h264_context_reset() before the new geometry is committed.
Know when Freerdp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Height-only resize is a specific attacker-driven condition (AC:H); peer treated as unauthenticated per the source vector (PR:N); heap OOB write impacts integrity and availability, not confidentiality.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Technical POC Analysis
CWE-787 out-of-bounds write (the advisory also tags CWE-122 heap buffer overflow and CWE-131) in h264contextreset() in libfreerdp/codec/h264.c.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity heap overflow in FreeRDP's H.264 encoder could crash or corrupt memory in remote desktop sessions that use AVC420/AVC444 compression, potentially disrupting business operations. Organizations relying on FreeRDP for remote access may face service outages and data integrity risks, though no active exploitation has been confirmed and a patch is available.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti
Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor
Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem
FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi
FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai
FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and
FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
EUVD-2026-135769
GHSA-9qg5-6hg3-g2qc
NVD
CVE.org
EPSS
Exploit-DB