{
  "id": "CVE-2026-57158",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-57158",
  "published_at": "2026-07-10T19:49:03.646Z",
  "title": "FreeRDP planar_decompress_plane_rle_only: heap OOB read — incomplete fix for CVE-2026-23530",
  "vendor": "FreeRDP",
  "product": "FreeRDP",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.1,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FreeRDP",
        "product": "FreeRDP",
        "ranges": [
          "\u003e= 3.21.0, \u003c 3.28.0"
        ],
        "fixed_in": [
          "3.28.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FreeRDP to 3.28.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mp3f-59pg-c5pp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FreeRDP/FreeRDP/pull/12952"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FreeRDP/FreeRDP/commit/a7e797626fcb7f1d556ce63febb84f9f4a822731"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
