CVE-2022-4283: Use After Free

Published Dec 8, 2022
·
Updated

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.

Other sources

CVE-2022-4283/ZDI-CAN-19530: X.Org Server XkbGetKbdByName use-after-free

The XkbCopyNames function left a dangling pointer to freed memory, resulting in out-of-bounds memory access on subsequent XkbGetKbdByName requests.

Red Hat

Affected Software

11 affected componentsFixes available
debian/xorg-server<=2:1.20.4-1+deb10u4
2:1.20.4-1+deb10u122:1.20.11-1+deb11u62:1.20.11-1+deb11u102:21.1.7-3+deb12u22:21.1.7-3+deb12u42:21.1.10-1
debian/xwayland
2:22.1.9-12:23.2.3-1
X.Org xorg-server=1.20.4
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
Debian Debian Linux=11.0
X.Org X Server=1.20.4

Event History

Dec 8, 2022
Data Sourced
via Red Hat·05:12 AM
DescriptionSeverityAffected Software
Dec 14, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
09:21 AM
SeverityAffected Software
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2022-4283.

2

What is the severity level of CVE-2022-4283?

The severity level of CVE-2022-4283 is high.

3

Which software is affected by CVE-2022-4283?

The software affected by CVE-2022-4283 includes X.org Xorg-server, Fedoraproject Fedora, Redhat Enterprise Linux, and Debian Debian Linux.

4

Is there a fix available for CVE-2022-4283?

Yes, there are fixes available for CVE-2022-4283. Please refer to the references for more information.

5

What is the Common Weakness Enumeration (CWE) ID of CVE-2022-4283?

The Common Weakness Enumeration (CWE) ID of CVE-2022-4283 is 416.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203