{
  "id": "CVE-2026-31897",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31897",
  "published_at": "2026-03-13T17:42:11.932Z",
  "title": "FreeRDP has an out-of-bounds read in `freerdp_bitmap_decompress_planar`",
  "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. Prior to 3.24.0, there is an out-of-bounds read in freerdp_bitmap_decompress_planar when SrcSize is 0. The function dereferences *srcp (which points to pSrcData) without first verifying that SrcSize \u003e= 1. When SrcSize is 0 and pSrcData is non-NULL, this reads one byte past the end of the source buffer. This vulnerability is fixed in 3.24.0.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FreeRDP",
        "product": "FreeRDP",
        "ranges": [
          "\u003c 3.24.0"
        ],
        "fixed_in": [
          "3.24.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FreeRDP to 3.24.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-xgv6-r22m-7c9x"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FreeRDP/FreeRDP/commit/cd27c8faca0eeb0d4309cc5837dfdf3c42eba4e7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
