CVE-2022-4283

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

Published Dec 14, 2022 CVSS 3.1 · 7.8 High EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3256-1 xorg-server security update
Debian DSA Debian DSA DSA-5304-1 xorg-server security update
EUVD EUVD EUVD-2022-51639 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.
Ubuntu USN Ubuntu USN USN-5778-1 X.Org X Server vulnerabilities
Ubuntu USN Ubuntu USN USN-5778-2 X.Org X Server vulnerabilities
History
Type Values Removed Values Added
First Time appeared X.org x Server
CPEs cpe:2.3:a:x.org:xorg-server:1.20.4:*:*:*:*:*:*:* cpe:2.3:a:x.org:x_server:1.20.4:*:*:*:*:*:*:*
Vendors & Products X.org xorg-server
X.org x Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Apr 14, 2025, 6:13 PM
Reserved
Dec 5, 2022, 12:00 AM
Status
Modified
Published
Dec 14, 2022, 9:15 PM
Modified
Jun 17, 2026, 5:20 AM
Severity
Important
Public date
Dec 14, 2022, 12:00 AM