# CVE-2026-57158: FreeRDP planar_decompress_plane_rle_only: heap OOB read — incomplete fix for CVE-2026-23530

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-10T19:49:03.646Z
- Modified: 2026-07-14T15:17:05.717Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: >= 3.21.0, < 3.28.0; from 3.21.0 before 3.28.0

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mp3f-59pg-c5pp> (exploit, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/pull/12952> (patch)
- <https://github.com/FreeRDP/FreeRDP/commit/a7e797626fcb7f1d556ce63febb84f9f4a822731> (patch)
- <https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0> (release-notes)

## Sources

- CVE List: [CVE-2026-57158](https://www.cve.org/CVERecord?id=CVE-2026-57158), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-57158](https://nvd.nist.gov/vuln/detail/CVE-2026-57158), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-57158 · Whole record: https://cve.day/CVE-2026-57158.json · Rebuilt by cve.day 2026-11-25T22:59:27.678Z
