CVE-2026-57158
Reported by github_m · Published July 10, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libwinpr | Amazon Linux | 2:3.6.3-1.amzn2023.0.13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | >= 3.21.0, < 3.28.0 |
| amazon:2023 | libwinpr | 0 |
| FreeRDP | FreeRDP | 3.21.0 |
| amazon:2 | freerdp-devel | 0 |
| amazon:2023 | freerdp-libs | 0 |
| amazon:2 | libwinpr | 0 |
| amazon:2 | freerdp-libs | 0 |
| amazon:2 | libwinpr-devel | 0 |
| amazon:2023 | freerdp | 0 |
| amazon:2023 | freerdp-devel | 0 |
| amazon:2023 | libwinpr-devel | 0 |
| alpine | freerdp | 0 |
| amazon:2 | freerdp | 0 |
| amazon:2023 | freerdp-server | 0 |
Timeline
- Jul 5, 2026 CVE Published
- Jul 11, 2026 EPSS Score (30 in total, the first dated here)
- Jul 11, 2026 Coalition ESS Score
- Jul 13, 2026 Security Advisory (2 in total, the first dated here)
- Aug 12, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-57158
vulnetix vdb fixes CVE-2026-57158
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-57158/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mp3f-59pg-c5pp x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/pull/12952 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/commit/a7e797626fcb7f1d556ce63febb84f9f4a822731 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0 x_refsource_MISC