FreeRDP has heap-buffer-overflow in planar_decompress_plane_rle
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0,`freerdp_bitmap_decompress_planar` does not validate `nSrcWidth`/`nSrcHeight` against `planar->maxWidth`/`maxHeight` before RLE decode. 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-23530
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:28 UTC · Revision 1
Source evidence
FreeRDP has heap-buffer-overflow in planar_decompress_plane_rle
core-osv · Original sourcePublished 19 Jan 2026, 16:58 UTC
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0,`freerdp_bitmap_decompress_planar` does not validate `nSrcWidth`/`nSrcHeight` against `planar->maxWidth`/`maxHeight` before RLE decode. 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.
osv:CVE-2026-23530
Complete source record
{
"id": "7063d04cd7cedecaa5f8bf07511663d78074ca77b5ed87e1c015a242a251e17c",
"url": "https://osv.dev/vulnerability/CVE-2026-23530",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "FreeRDP has heap-buffer-overflow in planar_decompress_plane_rle",
"summary": "FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0,`freerdp_bitmap_decompress_planar` does not validate `nSrcWidth`/`nSrcHeight` against `planar->maxWidth`/`maxHeight` before RLE decode. 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.",
"evidence": "osv:CVE-2026-23530",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-23530",
"aliases": [
"CVE-2026-23530",
"GHSA-r4hv-852m-fq7p"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/freerdp/freerdp",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6f5d0048f006a2d2ffc9b9fa05f0e98db464c5a4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.21.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "6f5d0048f006a2d2ffc9b9fa05f0e98db464c5a4"
}
],
"source": "REFERENCES_TAG",
"original_tag": "3.21.0"
},
{
"cpe": "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.21.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"3.5.1",
"3.5.0",
"3.4.0",
"3.3.0",
"3.2.0",
"3.1.0",
"3.0.0",
"3.0.0-rc0",
"3.0.0-beta4",
"3.0.0-beta3",
"3.0.0-beta2",
"3.0.0-beta1",
"2.0.0",
"2.0.0-rc4",
"2.0.0-rc3",
"2.0.0-rc2",
"2.0.0-rc1",
"2.0.0-rc0",
"2.0.0-beta1+android11",
"2.0.0-beta1+android10",
"1.2.0-beta1+android9",
"1.2.0-beta1+android7",
"1.1.0-beta+2013071101",
"1.1.0-beta1+ios4",
"1.1.0-beta1+android5",
"1.1.0-beta1+android4",
"1.1.0-beta1+ios3",
"1.1.0-beta1+ios2",
"1.1.0-beta1+android3",
"1.1.0-beta1+android2",
"1.1.0-beta1+ios1",
"1.1.0-beta1",
"1.0.1",
"1.0.0",
"1.0-beta5",
"1.0-beta4",
"1.0-beta2",
"1.0-beta1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23530.json"
}
}
],
"modified": "2026-10-28T02:30:38.520216016Z",
"provider": "osv",
"references": [
"https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L1689-L1696",
"https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L1713-L1716",
"https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L951-L953",
"https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0",
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23530.json",
"https://access.redhat.com/errata/RHSA-2026:2048",
"https://access.redhat.com/errata/RHSA-2026:2081",
"https://access.redhat.com/errata/RHSA-2026:2222",
"https://access.redhat.com/errata/RHSA-2026:2714",
"https://access.redhat.com/errata/RHSA-2026:2736",
"https://access.redhat.com/errata/RHSA-2026:2770",
"https://access.redhat.com/errata/RHSA-2026:2824",
"https://access.redhat.com/errata/RHSA-2026:2952",
"https://access.redhat.com/errata/RHSA-2026:3036",
"https://access.redhat.com/errata/RHSA-2026:3037",
"https://access.redhat.com/errata/RHSA-2026:3038",
"https://access.redhat.com/errata/RHSA-2026:3039",
"https://access.redhat.com/errata/RHSA-2026:3041",
"https://access.redhat.com/security/cve/CVE-2026-23530",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23530.json",
"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-r4hv-852m-fq7p",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23530",
"https://bugzilla.redhat.com/show_bug.cgi?id=2430877"
],
"provider_metadata": {
"cwe_ids": [
"CWE-122"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23530.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23530",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505695,
"published_at": "2026-01-19T16:58:46.712+00:00"
}