A buffer overflow flaw was found in X.Org and Xwayland. If XkbChangeTypesOfKey() is called with a 0 group, it will resize the key symbols table to 0 but leave the key actions unchanged. If the same function is later called with a non-zero value of groups, this will cause a buffer overflow because the key actions are of the wrong size.
{
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/26xxx/CVE-2025-26597.json",
"cwe_ids": [
"CWE-119"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "21.1.16"
},
{
"introduced": "22.0.0"
},
{
"fixed": "24.1.6"
}
],
"source": "AFFECTED_FIELD"
}