
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-33986 is a heap-based buffer overflow vulnerability in FreeRDP's H.264 codec processing, dubbed "H.264 YUV Buffer Dimension Desync - Heap OOB Write." It affects all FreeRDP versions prior to 3.24.2 and was discovered by Calvin Young of eWalker Consulting (HK) Limited and Enoch Chow of Isomorph Cyber. The advisory was published on March 25, 2026, with the CVE assigned on March 30, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Red Hat).
The root cause is an incorrect ordering of dimension updates relative to buffer reallocation in yuv_ensure_buffer() within libfreerdp/codec/h264.c (CWE-122: Heap-based Buffer Overflow; CWE-131: Incorrect Calculation of Buffer Size). Specifically, h264->width and h264->height are updated at lines 86–87 before the reallocation loop (lines 89–100); if any winpr_aligned_recalloc() call fails, the function returns FALSE but the stored dimensions are already inflated. On the next call with the same dimensions, the condition (width != h264->width || height != h264->height) evaluates to FALSE, causing the reallocation to be skipped entirely — the H.264 decoder then writes decoded YUV data into the original, undersized buffers. ASAN confirmed a heap-buffer-overflow WRITE of up to 33,685,504 bytes (33 MB) into a 2,048-byte buffer, with partially attacker-controlled content via crafted H.264 NAL units delivered over RDPGFX AVC420 frames from a malicious RDP server (GitHub Advisory, Patch Commit).
Successful exploitation can result in high-severity impacts across confidentiality, integrity, and availability: sensitive heap memory adjacent to the undersized YUV buffers may be disclosed, heap metadata and other data structures can be corrupted (potentially enabling arbitrary code execution), and the affected FreeRDP client process may crash causing denial of service. The attack is network-accessible and targets FreeRDP clients connecting to a malicious RDP server, meaning any user connecting to an untrusted RDP endpoint is at risk. The massive scale of the overflow (up to 33 MB with partially attacker-controlled content) makes this the most severe finding in the associated advisory (GitHub Advisory, Red Hat Bugzilla).
As of the time of reporting, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is approximately 0.039% (0.000390), indicating a low current probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction — specifically, a user must connect to a malicious RDP server — and the attack complexity is rated High, as the attacker must control or impersonate an RDP server and trigger a specific allocation failure sequence (GitHub Advisory).
winpr_aligned_recalloc() to fail during the yuv_ensure_buffer() reallocation loop, leaving h264->width and h264->height inflated while the underlying buffers remain undersized.yuv_ensure_buffer() or h264.c; system logs showing repeated FreeRDP process restarts or segmentation faults during RDP sessions.core.*) in the working directory of the FreeRDP process following an RDP session to an untrusted server.Upgrade FreeRDP to version 3.24.2 or later, which defers h264->width and h264->height updates until after all buffer reallocations succeed (Patch Commit, GitHub Advisory). For systems where immediate patching is not possible, restrict FreeRDP client connections to trusted, verified RDP servers only, and disable RDP client usage if not required. Apply the principle of least privilege to accounts running FreeRDP to limit the impact of any successful exploitation. Linux distribution packages (Fedora, Amazon Linux 2/2023, openSUSE, Debian) have also released updated packages incorporating this fix (Amazon Linux AL2023, openSUSE).
The vulnerability was reported by security researchers Calvin Young (eWalker Consulting) and Enoch Chow (Isomorph Cyber), and the FreeRDP maintainer (akallabeth) published the advisory and patch promptly (GitHub Advisory). The issue received coverage from security aggregators including VulDB, INCIBE-CERT, and Pro-Linux, as well as automated posts on Mastodon and Bluesky from CVE tracking accounts. Red Hat, Amazon Linux, openSUSE, and Debian all issued advisories or updated packages, reflecting broad downstream attention from Linux distribution maintainers.
Fix availability across major Linux distributions and their releases.
bookworm
freerdp2
sid
freerdp3: 3.24.2+dfsg-1
trixie
freerdp3: 3.15.0+dfsg-2.1+deb13u2
bionic (esm-apps)
freerdp
bionic (esm-infra)
freerdp2
devel
freerdp3
focal (esm-infra)
freerdp2
jammy
freerdp2
noble
freerdp3: 3.30.0+dfsg-0ubuntu0.24.04.1
noble (esm-apps)
freerdp2
resolute
freerdp3
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."