CVE-2022-45063
xterm before 375 allows code execution via font ops, e.g., because an OSC 50 response may have Ctrl-g and therefore lead to command execution within the vi line-editing mode of Zsh. NOTE: font ops are not allowed in the xterm default configurations of some Linux distributions.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | xterm | Will not fix disabled by default, see 904_fontops.diff and 902_windowops.diff | UBUNTU-CVE-2022-45063 | |
| Ubuntu 20.04 | xterm | Will not fix disabled by default, see 904_fontops.diff and 902_windowops.diff | UBUNTU-CVE-2022-45063 | |
| Ubuntu 18.04 | xterm | Will not fix disabled by default, see 904_fontops.diff and 902_windowops.diff | UBUNTU-CVE-2022-45063 | |
| Ubuntu 16.04 | xterm | Will not fix disabled by default, see 904_fontops.diff and 902_windowops.diff | UBUNTU-CVE-2022-45063 | |
| Ubuntu 14.04 | xterm | Will not fix disabled by default, see 904_fontops.diff and 902_windowops.diff | ||
| Debian 14 | xterm | Fixed | 375-1 | DEBIAN-CVE-2022-45063 |
| Debian 13 | xterm | Fixed | 375-1 | DEBIAN-CVE-2022-45063 |
| Debian 12 | xterm | Fixed | 375-1 | DEBIAN-CVE-2022-45063 |
| Red Hat Enterprise Linux 9 | cockpit | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-bridge | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-machines | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-packagekit | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-pcp | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-podman | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-session-recording | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-storaged | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-system | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-ws | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-ws-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | xterm | Fixed | 0:366-10.el9_6 | RHSA-2025:7427 |
| Red Hat Enterprise Linux 9 | xterm-resize | Fixed | 0:366-10.el9_6 | RHSA-2025:7427 |
| Red Hat Enterprise Linux 8 | cockpit | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-bridge | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-dashboard | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-machines | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-packagekit | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-pcp | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-podman | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-session-recording | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-storaged | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-system | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-ws | Not affected | ||
| Red Hat Enterprise Linux 8 | xterm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xterm-resize | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xterm | Not affected | ||
| Red Hat Enterprise Linux 6 | xterm | Not affected | ||
| AlmaLinux 9 | xterm | Fixed | 366-10.el9_6 | ALSA-2025:7427 |
| AlmaLinux 9 | xterm-resize | Fixed | 366-10.el9_6 | ALSA-2025:7427 |
| Rocky Linux 9 | xterm | Fixed | 0:366-10.el9_6 | RLSA-2025:7427 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202211-09 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://invisible-island.net/xterm/xterm.log.html
- https://www.openwall.com/lists/oss-security/2022/11/10/1
- https://news.ycombinator.com/item?id=33546415
- http://www.openwall.com/lists/oss-security/2022/11/10/1
- http://www.openwall.com/lists/oss-security/2022/11/10/5
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IVD3I2ZFXGOY6BA2FNS7WPFMPFBDHFWC/
- https://security.gentoo.org/glsa/202211-09
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TPVNTYFFWNTGZJJQAA4MGGFSTXA4XEA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5T2JI5JCHPTXX2KJU45H2XAHQSFVEJ2Y/
- http://www.openwall.com/lists/oss-security/2024/06/15/1
- http://www.openwall.com/lists/oss-security/2024/06/17/1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.