All reports
High

xorg-x11-server: XkbGetKbdByName use-after-free

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-4283

Probability of exploitation in the next 30 days: 1.10%

FIRST EPSS · 2026-11-21

Description

A vulnerability was found in X.Org. This security flaw occurs because the XkbCopyNames function left a dangling pointer to freed memory, resulting in out-of-bounds memory access on subsequent XkbGetKbdByName requests.. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.

A vulnerability was found in X.Org. This issue occurs because the XkbCopyNames function leaves a dangling pointer to freed memory, resulting in out-of-bounds memory access on subsequent XkbGetKbdByName requests. This flaw can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions.