{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.32.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "cpe": "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.32.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "97eff6ddfbbfaa8e42a126d362686bd001ff8bdc"
            }
          ],
          "repo": "https://github.com/freerdp/freerdp",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m59q-wm7v-mp57"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121958.json"
  },
  "details": "FreeRDP before 3.32.2 has a heap out-of-bounds write in the RDPGFX client because the delete_surface callback truncates surface hash keys to 16 bits, leaving the surface table inconsistent so HashTable_GetKeys writes past its allocated key array. A malicious or man-in-the-middle RDP server can exploit this by creating surfaceId 0xFFFF, closing the RDPGFX channel, sending repeated DELETESURFACE PDUs, and then sending ENDFRAME or RESETGRAPHICS.",
  "id": "CVE-2026-121958",
  "modified": "2026-11-21T20:45:55.282024635Z",
  "published": "2026-11-04T15:33:22.358Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121958.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121958"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/freerdp-through-3.32.1-heap-out-of-bounds-write-via-rdpgfx-hashtable-getkeys"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "FreeRDP before 3.32.2 Heap Out-of-Bounds Write via RDPGFX HashTable_GetKeys"
}