CVE-2022-46342 Use after free in xorg-x11-server

High 8.8 Published Updated

A use-after-free flaw in the X.Org server allows local attackers to escalate privileges on affected systems.

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-46342?

CVE-2022-46342 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 XvdiSelectVideoNotify request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X se

Weakness: CWE-416

Which versions are affected by CVE-2022-46342?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, X.org X Server.

How do I fix CVE-2022-46342?

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-46342 being exploited?

There is no known exploitation of CVE-2022-46342 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-44661, DEBIAN-CVE-2022-46342, GHSA-5hp7-2mv5-p69r, UBUNTU-CVE-2022-46342.

Is CVE-2022-46342 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free