CVE-2022-46341 Memory corruption in xorg-x11-server

High 8.8 Published Updated

Out-of-bounds memory access 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-46341?

CVE-2022-46341 is a high-severity memory corruption 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 XIPassiveUngrab request accesses out-of-bounds memory when invoked with a high keycode or button code. 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-787

Which versions are affected by CVE-2022-46341?

It affects 3 products.

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

How do I fix CVE-2022-46341?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-46341 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-44433, DEBIAN-CVE-2022-46341, GHSA-cj4x-645f-6pwx, UBUNTU-CVE-2022-46341.

Is CVE-2022-46341 in your software?

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

Check your SBOMs for free