CVE-2026-121604

Source
https://cve.org/CVERecord?id=CVE-2026-121604
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121604.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-121604
Downstream
Published
2026-11-03T16:26:55Z
Modified
2026-11-14T07:06:13Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c
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.

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"
}
References

Affected packages

Git / gitlab.freedesktop.org/wlroots/wlroots

Affected ranges

Type
GIT
Repo
https://gitlab.freedesktop.org/wlroots/wlroots
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

0.*
0.1
0.10.0
0.11.0
0.12.0
0.13.0
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.19.0
0.19.0-rc1
0.19.0-rc2
0.19.0-rc3
0.2
0.20.0
0.20.0-rc1
0.20.0-rc2
0.20.0-rc3
0.20.0-rc4
0.20.0-rc5
0.20.1
0.3
0.4
0.4.1
0.5.0
0.6.0
0.7.0
0.8.1
0.9.0
0.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121604.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "33591527742049177550308522088868292213",
                "299829167429567366116850151840340605150",
                "48329830653853686833554571968714802641",
                "143491741022881487762931105390156671783"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-121604-3a81f755",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/wlroots/wlroots@4412992469540b1d578cb94a5cd4e6e5829812dc",
        "target":  {
            "file":  "xwayland/xwm.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "188286763670694404415103131977815355784",
            "length":  765
        },
        "id":  "CVE-2026-121604-439d966a",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/wlroots/wlroots@4412992469540b1d578cb94a5cd4e6e5829812dc",
        "target":  {
            "file":  "xwayland/xwm.c",
            "function":  "read_surface_class"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "33591527742049177550308522088868292213",
                "299829167429567366116850151840340605150",
                "48329830653853686833554571968714802641",
                "143491741022881487762931105390156671783"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-121604-4757b513",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/wlroots/wlroots@851cdd0089004884bd85a95ad21f04009cb5a53a",
        "target":  {
            "file":  "xwayland/xwm.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "188286763670694404415103131977815355784",
            "length":  765
        },
        "id":  "CVE-2026-121604-d3b09acb",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/wlroots/wlroots@851cdd0089004884bd85a95ad21f04009cb5a53a",
        "target":  {
            "file":  "xwayland/xwm.c",
            "function":  "read_surface_class"
        }
    }
]
vanir_signatures_modified
"2026-11-14T07:06:13Z"