CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-23531

Critical · CVSS 9.8

FreeRDP — Heap buffer overflow (out-of-bounds read/write) in ClearCodec via unvalidated destination rectangle

CVSS
9.8
nvd
EPSS
KEV
No
Class
oss containerizable
CWE-122, CWE-122

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.

Search profile — drives PoC discovery

Symbols clear_decompressfreerdp_image_copy_no_overlapglyphDataClearCodecRDPGFXlibfreerdp/codec/clear.cclear.c#L1139
Keywords CVE-2026-23531FreeRDPClearCodecheap buffer overflowclear_decompressfreerdp_image_copy_no_overlapglyphDataRDPGFX surface updateRDP heap overflowFreeRDP PoCGHSA-xj5h-9cr5-23c5CWE-122 FreeRDP
Versions: < 3.21.0

Ranked PoCs (1) — best first

Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.

Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.

References

Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-06-30T18:30:14.000Z