CVE-2026-23531

FreeRDP has heap-buffer-overflow in clear_decompress

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, 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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
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, 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'}

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, 5:15 PM
Modified
Jul 15, 2026, 2:18 AM
Severity
Important
Public date
Jan 19, 2026, 5:01 PM