Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, in ClearCodec, when `glyphData` is present, `clear_decompress` calls `freerdp_image_copy_no_overlap` without validating the destination rectangle, allowing an out-of-bounds read/write via crafted RDPGFX surface updates. 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.
Published: 2026-01-19
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Potential remote code execution via heap buffer overflow
Action: Immediate Patch
AI Analysis

Impact

FreeRDP's ClearCodec decompress routine reads glyphData without validating the destination rectangle. This missing bounds check can cause an out‑of‑bounds write to the heap when the server sends crafted RDPGFX surface updates. The exploit can crash the client (Denial of Service) and, in some memory layouts, may corrupt heap metadata, giving an attacker the possibility to execute arbitrary code.

Affected Systems

The flaw affects the FreeRDP project, specifically the FreeRDP client implementing the Remote Desktop Protocol. All releases prior to version 3.21.0 are vulnerable; the issue was fixed in the 3.21.0 release.

Risk and Exploitability

The vulnerability is assessed with a CVSS score of 7.7, indicating high severity. The EPSS rating is less than 1%, suggesting very low current exploit probability. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to control an RDP server capable of sending malformed surface updates to a FreeRDP client. Because the flaw resides on the client side, a local or remote attacker could trigger the overflow and potentially gain code execution if the heap layout is favorable.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the FreeRDP client to version 3.21.0 or later, which includes the fix for the clear_decompress buffer overflow.
  • Limit RDP connections to trusted servers by implementing firewall rules or network segmentation.
  • If an upgrade cannot be performed immediately, monitor the client for abnormal crashes or memory corruption, and avoid processing RDPGFX surface updates from untrusted sources until the patch is installed.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Jan 2026 19:00:00 +0000

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'}


Tue, 20 Jan 2026 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 20 Jan 2026 08:45:00 +0000

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

Tue, 20 Jan 2026 00:15:00 +0000

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


Mon, 19 Jan 2026 17:15:00 +0000

Type Values Removed Values Added
Description FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, in ClearCodec, when `glyphData` is present, `clear_decompress` calls `freerdp_image_copy_no_overlap` without validating the destination rectangle, allowing an out-of-bounds read/write via crafted RDPGFX surface updates. 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
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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-20T21:37:13.986Z

Reserved: 2026-01-13T18:22:43.981Z

Link: CVE-2026-23531

cve-icon Vulnrichment

Updated: 2026-01-20T21:37:10.867Z

cve-icon NVD

Status : Analyzed

Published: 2026-01-19T17:15:50.897

Modified: 2026-01-28T18:51:35.063

Link: CVE-2026-23531

cve-icon Redhat

Severity : Important

Publid Date: 2026-01-19T17:01:01Z

Links: CVE-2026-23531 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T05:15:15Z

Weaknesses