Ojuju Advisory
DEBIAN-CVE-2022-46340 Also known as: CVE-2022-46340
Summary The record has no summary.
Details A vulnerability was found in X.Org. This security flaw occurs becuase the swap handler for the XTestFakeInput request of the XTest extension may corrupt the stack if GenericEvents with lengths larger than 32 bytes are sent through a the XTestFakeInput request. 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. This issue does not affect systems where client and server use the same byte order.
Severity High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Dates Published 2022-12-14 21:15 UTC Modified 2026-11-18 06:03 UTC
Affected packages and fixes xorg-server
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 2:21.1.5-1 (ecosystem)
Fixed versions 2:21.1.5-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xorg-server
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 2:21.1.5-1 (ecosystem)
Fixed versions 2:21.1.5-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xorg-server
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 2:21.1.5-1 (ecosystem)
Fixed versions 2:21.1.5-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xwayland
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 2:22.1.6-1 (ecosystem)
Fixed versions 2:22.1.6-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xwayland
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 2:22.1.6-1 (ecosystem)
Fixed versions 2:22.1.6-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xwayland
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 2:22.1.6-1 (ecosystem)
Fixed versions 2:22.1.6-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →