CVE-2026-23533

FreeRDP has heap-buffer-overflow in clear_decompress_residual_data

Published Jan 19, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, a client-side heap buffer overflow occurs in the RDPGFX ClearCodec decode path when maliciously crafted residual data causes out-of-bounds writes during color output. A malicious server can trigger a client‑side heap buffer overflow, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout. Version 3.21.0 contains a patch for the issue.

Analysis

AI-generated

Technical impact

FreeRDP, a free Remote Desktop Protocol implementation, has a heap‑buffer overflow in the ClearCodec decode path. A malicious RDP server can send specially crafted residual data that triggers out‑of‑bounds writes on the client’s heap. The overflow can cause the client to crash, producing a denial‑of‑service, and may corrupt heap metadata, creating an opportunity for an attacker to execute arbitrary code depending on the memory allocator and surrounding layout.

Affected Systems

This vulnerability affects all FreeRDP clients released prior to version 3.21.0. Any system running a legacy FreeRDP client within a remote desktop session is potentially exposed.

Risk and Exploitability

The CVSS score of 7.7 indicates a moderate‑high severity, while the EPSS score of less than 1% suggests a currently low exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. The attack vector is remote; an attacker controls the RDP server and can send malicious packets to affect the client. The impact includes crash, denial of service, heap corruption, and potential remote code execution if heap exploitation succeeds.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.21.0 or later, which contains the fix for the ClearCodec overflow.
  • If an immediate upgrade is not possible, limit client exposure by connecting only to trusted servers or by blocking unsolicited RDP traffic from untrusted networks.
  • Apply network segmentation or firewall rules to restrict inbound RDP connections to known, authorized hosts, reducing the attack surface while a patch is deployed.

Generated by OpenCVE AI on April 18, 2026 at 05:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8004-2 FreeRDP regression
Ubuntu USN Ubuntu USN USN-8105-1 FreeRDP vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Metrics cvssV3_1

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

cvssV3_1

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

Type Values Removed Values Added
Metrics ssvc

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

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

None

cvssV3_1

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

threat_severity

Important

Type Values Removed Values Added
Description FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, a client-side heap buffer overflow occurs in the RDPGFX ClearCodec decode path when maliciously crafted residual data causes out-of-bounds writes during color output. A malicious server can trigger a client‑side heap buffer overflow, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout. Version 3.21.0 contains a patch for the issue.
Title FreeRDP has heap-buffer-overflow in clear_decompress_residual_data
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 7.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/E:P'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 1:18 AM
Reserved
Jan 13, 2026, 6:22 PM
Status
Modified
Published
Jan 19, 2026, 6:16 PM
Modified
Jul 15, 2026, 2:18 AM
Severity
Important
Public date
Jan 19, 2026, 5:07 PM