{"id":"CVE-2026-57158","published":"2026-07-10T19:49:03Z","modified":"2026-07-14T13:54:51Z","title":"FreeRDP planar_decompress_plane_rle_only: heap OOB read — incomplete fix for CVE-2026-23530","vendor":"FreeRDP","product":"FreeRDP","tier":"tail","description":{"text":"FreeRDP is a free implementation of the Remote Desktop Protocol. From 3.21.0 before 3.28.0, FreeRDP clients using the GFX pipeline contain an incomplete fix for CVE-2026-23530 in planar_decompress_plane_rle_only in libfreerdp/codec/planar.c, allowing a malicious RDP server to send a truncated RDPGFX_CMDID_WIRETOSURFACE_1 planar payload that reads one byte past the input buffer. This issue is fixed in version 3.28.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0069,"percentile":0.48107,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mp3f-59pg-c5pp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FreeRDP/FreeRDP/pull/12952","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/a7e797626fcb7f1d556ce63febb84f9f4a822731","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":9.62},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"freerdp","affectedVersions":[{"vendor":"FreeRDP","product":"FreeRDP","versions":[">= 3.21.0, < 3.28.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-14T13:53:50.636959Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-43005","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-freerdp-cve-2023-39355","parents":[{"from":"CVE-2026-23530","to":"CVE-2026-57158","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"From 3.21.0 before 3.28.0, FreeRDP clients using the GFX pipeline contain an incomplete fix for CVE-2026-23530 in planar_decompress_plane_rle_only in libfreerdp/codec/planar.c, allowing a malicious RDP server to send a truncated RDPGFX_CM…","from":"CVE.org","in":"CVE-2026-57158"}]},{"from":"CVE-2023-39355","to":"CVE-2026-57158","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libfreerdp/codec/planar.c"],"commits":["https://github.com/FreeRDP/FreeRDP/commit/d6f9d33a7db0b346195b6a15b5b99944ba41beee","https://github.com/FreeRDP/FreeRDP/commit/a7e797626fcb7f1d556ce63febb84f9f4a822731"],"basis":"rarely changed file"}]},{"from":"CVE-2024-22211","to":"CVE-2026-57158","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libfreerdp/codec/planar.c"],"commits":["https://github.com/FreeRDP/FreeRDP/commit/939e922936e9c3ae8fc204968645e5e7563a2fff","https://github.com/FreeRDP/FreeRDP/commit/aeac3040cc99eeaff1e1171a822114c857b9dca9","https://github.com/FreeRDP/FreeRDP/commit/a7e797626fcb7f1d556ce63febb84f9f4a822731"],"basis":"rarely changed file"}]}]}}