Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-57158
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:32 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 10 Jul 2026, 19:49 UTC

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.

osv:CVE-2026-57158
Complete source record
{
  "id": "3901d31296fa4c85f97b1340125df0081619384ba8b83a478901f6e2ae137276",
  "url": "https://osv.dev/vulnerability/CVE-2026-57158",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "FreeRDP planar_decompress_plane_rle_only: heap OOB read — incomplete fix for CVE-2026-23530",
    "summary": "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.",
    "evidence": "osv:CVE-2026-57158",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-57158",
      "aliases": [
        "CVE-2026-57158",
        "GHSA-mp3f-59pg-c5pp"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/freerdp/freerdp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6f5d0048f006a2d2ffc9b9fa05f0e98db464c5a4"
                },
                {
                  "fixed": "5370fb26fbf034ecd11d3026b6ad639b5fff493f"
                },
                {
                  "fixed": "a7e797626fcb7f1d556ce63febb84f9f4a822731"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.21.0"
                      },
                      {
                        "fixed": "3.28.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a7e797626fcb7f1d556ce63febb84f9f4a822731"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5370fb26fbf034ecd11d3026b6ad639b5fff493f"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.28.0"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57158.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.857141481Z",
      "provider": "osv",
      "references": [
        "https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57158.json",
        "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mp3f-59pg-c5pp",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-57158",
        "https://github.com/FreeRDP/FreeRDP/commit/a7e797626fcb7f1d556ce63febb84f9f4a822731",
        "https://github.com/FreeRDP/FreeRDP/pull/12952"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-125"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57158.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-57158",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504167,
  "published_at": "2026-07-10T19:49:03.646+00:00"
}