Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.22.0, ecam_encoder_compress_h264 trusts server-controlled dimensions and does not validate the source buffer size, leading to an out-of-bounds read in sws_scale. This vulnerability is fixed in 3.22.0.
Published: 2026-02-09
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Potential memory disclosure and remote exploitation due to heap‑buffer overrun
Action: Apply Patch
AI Analysis

Impact

The flaw occurs in the ecam_encoder_compress_h264 component of FreeRDP where it trusts server‑controlled video dimensions without validating the source buffer size. During sws_scale processing, this leads to an out‑of‑bounds read, allowing an attacker to read beyond the intended buffer boundaries. The CVSS score of 8.7 reflects the high severity of the vulnerability, indicating a risk of sensitive data leakage and the possibility of further exploitation, such as memory corruption or remote code execution, depending on the attacker’s skill set.

Affected Systems

All releases of FreeRDP prior to version 3.22.0 are affected. Any system running the FreeRDP client with a Remote Desktop Protocol connection could be impacted if the client receives maliciously crafted dimension values from an RDP server.

Risk and Exploitability

The EPSS score is below 1%, suggesting a low likelihood of widespread exploitation at this time, and the vulnerability is not listed in the CISA KEV catalog. However, the CVSS score remains high, meaning that if an attacker successfully delivers the crafted server payload, they could cause the client to read arbitrary memory. The attack path likely involves establishing an RDP session with an attacker‑controlled server that supplies out‑of‑range dimensions, triggering the buffer overrun during the encode step.

Generated by OpenCVE AI on April 17, 2026 at 21:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.22.0 or later where the buffer size validation has been added.
  • If an upgrade is not immediately possible, limit the use of FreeRDP clients to trusted internal networks or block connections from unknown or untrusted RDP servers using firewall or network segmentation.
  • Continuously monitor RDP traffic for abnormal patterns or crashes that may indicate the vulnerability being exploited and validate that the client is running a patched version.

Generated by OpenCVE AI on April 17, 2026 at 21:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8042-1 FreeRDP vulnerabilities
History

Tue, 10 Feb 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 10 Feb 2026 15:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}


Tue, 10 Feb 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Freerdp
Freerdp freerdp
Vendors & Products Freerdp
Freerdp freerdp

Tue, 10 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Moderate


Mon, 09 Feb 2026 18:45:00 +0000

Type Values Removed Values Added
Description FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.22.0, ecam_encoder_compress_h264 trusts server-controlled dimensions and does not validate the source buffer size, leading to an out-of-bounds read in sws_scale. This vulnerability is fixed in 3.22.0.
Title FreeRDP has a heap-buffer-overflow in ecam_encoder_compress_h264
Weaknesses CWE-416
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-10T16:02:18.820Z

Reserved: 2026-01-23T20:40:23.388Z

Link: CVE-2026-24677

cve-icon Vulnrichment

Updated: 2026-02-10T15:40:09.229Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-09T19:15:49.043

Modified: 2026-02-10T15:09:02.543

Link: CVE-2026-24677

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-02-09T18:16:44Z

Links: CVE-2026-24677 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T21:30:28Z

Weaknesses