CVE-2022-4283

HIGH

X.Org X Server - Use-After-Free in XkbCopyNames via XkbGetKbdByName Request

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0020
EPSS Percentile 41.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (8)
debian/debian_linux 11.0
fedoraproject/fedora 36
fedoraproject/fedora 37
redhat/enterprise_linux 6.0
redhat/enterprise_linux 7.0
redhat/enterprise_linux 8.0
redhat/enterprise_linux 9.0
x.org/x_server 1.20.4
Published Dec 14, 2022
Tracked Since Feb 18, 2026