CVE-2022-46343 Use after free in xorg-x11-server
A use-after-free in X.Org allows local privilege escalation and remote code execution via SSH X forwarding.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-46343?
CVE-2022-46343 is a high-severity use after free vulnerability in Debian Debian Linux, published on 14 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in X.Org. This security flaw occurs because the handler for the ScreenSaverSetAttributes request may write to memory after it has been freed. 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.
Weakness: CWE-416
Which versions are affected by CVE-2022-46343?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, X.org X Server.
How do I fix CVE-2022-46343?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-46343 being exploited?
There is no known exploitation of CVE-2022-46343 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-44346, DEBIAN-CVE-2022-46343, GHSA-cfjv-73gp-92j6, UBUNTU-CVE-2022-46343.