Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish RDP connection to vulnerable FreeRDP client
-
DeliverySend specially crafted H.264 video frame
-
ExploitTrigger memory reallocation failure in yuv_ensure_buffer()
-
ExecutionCause heap buffer overflow via inflated width/height
-
ImpactExecute arbitrary code with client privileges
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote attacker must establish RDP connection to FreeRDP client (versions before 3.24.2) and send crafted H.264 video frame with malicious width/height values. Victim must accept the RDP connection and view the malicious video stream. |
| Impact | Real-world risk is MODERATE-HIGH despite the 7.5 CVSS score. The CVSS vector indicates network-accessible attack surface (AV:N) but requires high complexity (AC:H) and user interaction (UI:R), meaning exploitation demands the victim connect to an attacker-controlled RDP server or MitM scenario. No active exploitation confirmed (not in CISA KEV) and no public exploit code identified at time of analysis. However, the technical impact is severe with potential for complete compromise (C:H/I:H/A:H). EPSS data not provided, but heap overflow vulnerabilities in network protocol parsers historically attract exploit development. The requirement for user interaction significantly reduces automated exploitation potential under SSVC framework, though technical impact remains critical. Wide deployment of FreeRDP in enterprise environments (especially Linux RDP clients) and tracking across 23 Debian/Ubuntu releases indicates substantial exposure. Ubuntu's 'medium' priority assessment suggests vendor views operational risk as manageable with standard patch cycles, tempering the CVSS numerical severity. Primary risk is to organizations where users routinely connect to third-party or untrusted RDP servers. |
| Exploit ScenarioDerived | An attacker operates a malicious RDP server or performs man-in-the-middle interception of legitimate RDP traffic. When a victim using vulnerable FreeRDP client (pre-3.24.2) connects, the attacker sends specially crafted H.264 video stream data designed to trigger allocation failures in yuv_ensure_buffer() while manipulating dimension parameters. The inflated width/height values cause subsequent YUV buffer operations to write beyond allocated heap memory, enabling memory corruption that could lead to arbitrary code execution with the privileges of the RDP client process. The high attack complexity (AC:H) reflects the precision required in crafting payloads that reliably trigger exploitable failure conditions across different heap states and system configurations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 30, 2026
Heap buffer overflow in FreeRDP's H.264 YUV decoder (versions before 3.24.2) allows remote attackers to potentially achieve code execution via specially crafted RDP sessions. The vulnerability stems from premature dimension updates in yuv_ensure_buffer() that persist when memory reallocation fails, creating exploitable memory corruption conditions. Attack requires user interaction (connecting to malicious RDP server) and moderate complexity (CVSS AC:H). No public exploit identified at time of analysis, though CVSS 7.5 HIGH score reflects potential for complete system compromise (C:H/I:H/A:H).
RemediationAI
Vendor-released patch: FreeRDP version 3.24.2 fully resolves this vulnerability. Upgrade immediately to version 3.24.2 or later from official distribution channels (https://github.com/FreeRDP/FreeRDP). The fix is implemented in commit f6e43e208958140074ae9bb93cd0c9045a371c77, which corrects the state management in yuv_ensure_buffer() to ensure width/height updates only persist after successful buffer reallocation. For Linux distributions, apply security updates through standard package managers as Ubuntu and Debian release patched versions. Organizations unable to immediately upgrade should restrict RDP client connections to only trusted, authenticated RDP servers and avoid connecting to unknown or third-party RDP endpoints until patching is complete. Network-level controls preventing outbound RDP connections to untrusted networks provide defense-in-depth. Consult the official security advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-h6qw-wxvm-hf97 for additional vendor guidance.
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
FreeRDP implements the Remote Desktop Protocol and includes codec libraries for media processing. The vulnerability resides in libfreerdp/codec/h264.c within the yuv_ensure_buffer() function, which handles YUV color space conversion for H.264 video streams in RDP sessions. The flaw is a classic CWE-122 heap-based buffer overflow caused by incorrect state management during dynamic memory allocation. The function updates h264->width and h264->height parameters before completing a loop of winpr_aligned_recalloc() calls. If any reallocation fails mid-loop, the function returns FALSE but leaves width/height values inflated beyond actual allocated buffer sizes. Subsequent operations using these inflated dimensions can write beyond heap buffer boundaries, enabling memory corruption. This represents a TOCTOU-style race between dimension updates and buffer allocation that violates error-handling invariants.
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
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in yuv_ensure_buffer() in libfreerdp/codec/h264.c, h264->width and h264->height are updated before the reallocation loop. If any winpr_aligned_recalloc() call fails, the function returns FALSE but width/height are already inflated. This issue has been patched in version 3.24.2.
Executive ViewAI
CVE-2026-33986 is a heap buffer overflow in FreeRDP's H.264 decoder affecting versions before 3.24.2, allowing remote code execution when users connect to malicious RDP servers. Organizations using FreeRDP for remote desktop connectivity face potential system compromise without compensating controls, making immediate inventory and mitigation critical for any endpoint or server relying on this library.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict RDP connections to trusted, internal servers only via firewall/network segmentation; (2) Disable H.264 codec support in FreeRDP configuration if alternative codecs are available; (3) Implement endpoint detection and response (EDR) to monitor for suspicious RDP process behavior or memory corruption indicators; (4) Require multi-factor authentication for RDP access to reduce attack surface; (5) Monitor for CVE-2026-33986 patch release from FreeRDP project and prioritize deployment immediately upon availability.
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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
Same weakness CWE-122 – Heap-based Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| xenial | needs-triage | - |
| bionic | needs-triage | - |
| jammy | DNE | - |
| noble | DNE | - |
| questing | DNE | - |
| upstream | needs-triage | - |
| Release | Status | Version |
|---|---|---|
| bionic | needs-triage | - |
| focal | needs-triage | - |
| jammy | needs-triage | - |
| noble | needs-triage | - |
| questing | DNE | - |
| upstream | needs-triage | - |
| Release | Status | Version |
|---|---|---|
| jammy | DNE | - |
| noble | needs-triage | - |
| questing | needs-triage | - |
| upstream | needs-triage | - |
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | vulnerable | 2.3.0+dfsg1-2+deb11u1 | - |
| bullseye (security) | vulnerable | 2.3.0+dfsg1-2+deb11u3 | - |
| bookworm | vulnerable | 2.11.7+dfsg1-6~deb12u1 | - |
| (unstable) | fixed | (unfixed) | - |
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| trixie | vulnerable | 3.15.0+dfsg-2.1 | - |
| forky, sid | fixed | 3.24.2+dfsg-1 | - |
| (unstable) | fixed | 3.24.2+dfsg-1 | - |
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Server 12 SP5 | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security | Fixed |
| SUSE Linux Enterprise Server 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP2 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP3 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP5 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 12 SP2 | Fixed |
| SUSE Linux Enterprise Server 12 SP3 | Fixed |
| SUSE Linux Enterprise Server 12 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP4 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP2 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP3 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP4 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP4 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP6 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-17233
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB