{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.20.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "851cdd0089004884bd85a95ad21f04009cb5a53a"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "4412992469540b1d578cb94a5cd4e6e5829812dc"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d783533489e1f75d6886c2ab5c5960090ef268f8"
            },
            {
              "fixed": "851cdd0089004884bd85a95ad21f04009cb5a53a"
            },
            {
              "fixed": "4412992469540b1d578cb94a5cd4e6e5829812dc"
            }
          ],
          "repo": "https://gitlab.freedesktop.org/wlroots/wlroots",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121604.json"
  },
  "details": "wlroots before 0.20.2 contains an out-of-bounds read vulnerability in read_surface_class() in xwayland/xwm.c that allows local X11 clients to leak compositor heap memory. Attackers can set a WM_CLASS property with a NUL-terminated instance but unterminated class, exposing over-read heap bytes as the window class or app_id over IPC.",
  "id": "CVE-2026-121604",
  "modified": "2026-11-14T02:30:37.250429800Z",
  "published": "2026-11-03T16:26:55.569Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121604.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121604"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/wlroots-before-0.20.2-out-of-bounds-read-via-read-surface-class-in-xwm-c"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5374"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/4092"
    },
    {
      "type": "FIX",
      "url": "https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/4412992469540b1d578cb94a5cd4e6e5829812dc"
    },
    {
      "type": "FIX",
      "url": "https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/851cdd0089004884bd85a95ad21f04009cb5a53a"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.freedesktop.org/wlroots/wlroots"
    },
    {
      "type": "ARTICLE",
      "url": "https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.20.1/xwayland/xwm.c#L661-L678"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c"
}