CVE-2022-45063
xterm before 375 allows code execution via font ops, e.g., because an OSC 50 response may have...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2022-45063- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-45063- Updated
- 2026-11-02
EUVDEUVD-2022-47985 No score
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.
- Record
EUVD-2022-47985- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3cch-wj7f-8g8x
9.8
xterm before 375 allows code execution via font ops, e.g., because an OSC 50 response may have...
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.
- Record
GHSA-3cch-wj7f-8g8x- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSVAZL-11429
9.8
CVE-2022-45063 affecting package xterm for versions less than 380-1
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.
- Record
AZL-11429- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2022-45063- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 20 moreShow less
OSVDEBIAN-CVE-2022-45063
9.8
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.
- Record
DEBIAN-CVE-2022-45063- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVOESA-2024-2236
9.8
xterm security update
The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals.
Security Fix(es):
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.(CVE-2022-45063)
- Record
OESA-2024-2236- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2024-2237
9.8
xterm security update
The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals.
Security Fix(es):
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.(CVE-2022-45063)
- Record
OESA-2024-2237- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2024-2238
9.8
xterm security update
The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals.
Security Fix(es):
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.(CVE-2022-45063)
- Record
OESA-2024-2238- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2024-2239
9.8
xterm security update
The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals.
Security Fix(es):
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.(CVE-2022-45063)
- Record
OESA-2024-2239- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2025:7427
7.4
Red Hat Security Advisory: xterm security update
- Record
RHSA-2025:7427- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2025:7427
7.4
Low: xterm security update
The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use the window system directly.
Security Fix(es):
- xterm: code execution via OSC 50 input sequences (CVE-2022-45063)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2025:7427- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-45063
9.8
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.
- Record
UBUNTU-CVE-2022-45063- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2025:7427 No score
Low: xterm security update
The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use the window system directly.
Security Fix(es):
- xterm: code execution via OSC 50 input sequences (CVE-2022-45063)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2025:7427- Updated
- 2026-11-02
OSVCLSA-2022-1669236294 No score
xterm: Fix of CVE-2022-45063
- CVE-2022-45063: improve error recovery when setting a bitmap font for the VT100 window
- Add NULL pointer checks in x_strcasecmp() and x_strncasecmp() to help with error recovery for a missing font
- Record
CLSA-2022-1669236294- Updated
- 2026-11-02
OSVCLSA-2022-1669237302 No score
xterm: Fix of CVE-2022-45063
- CVE-2022-45063: improve error recovery when setting a bitmap font for the VT100 window
- Add NULL pointer checks in x_strcasecmp() and x_strncasecmp() to help with error recovery for a missing font
- Record
CLSA-2022-1669237302- Updated
- 2026-11-02
OSVCLSA-2022-1669238963 No score
xterm: Fix of CVE-2022-45063
- CVE-2022-45063: improve error recovery when setting a bitmap font for the VT100 window
- Add NULL pointer checks in x_strcasecmp() and x_strncasecmp() to help with error recovery for a missing font
- Record
CLSA-2022-1669238963- Updated
- 2026-11-02
OSVCLSA-2022-1669239895 No score
xterm: Fix of CVE-2022-45063
- CVE-2022-45063: improve error recovery when setting a bitmap font for the VT100 window
- Add NULL pointer checks in x_strcasecmp() and x_strncasecmp() to help with error recovery for a missing font
- Record
CLSA-2022-1669239895- Updated
- 2026-11-02
OSVCLSA-2022-1669242003 No score
Fix CVE(s): CVE-2022-45063
- SECURITY UPDATE: possible RCE when using OSC 50 sequence
- debian/patches/CVE-2022-45063.patch: Improve error recovery when setting a bitmap font for the VT100 window, e.g., in case OSC 50 failed, restoring the most recent valid font so that a subsequent OSC 50 reports this correctly.
- CVE-2022-45063
- debian/patches/extra_safety_to_string_comparison_functions.patch: Add NULL pointer checks in x_strcasecmp() and x_strncasecmp() to help with error recovery for a missing font.
- Record
CLSA-2022-1669242003- Updated
- 2026-11-02
OSVCLSA-2026-1777030519 No score
xterm: Fix of CVE-2022-45063
- CVE-2022-45063: improve error recovery when setting a bitmap font for the VT100 window
- add NULL pointer checks in x_strcasecmp() and x_strncasecmp() to help with error recovery for a missing font
- Record
CLSA-2026-1777030519- Updated
- 2026-11-02
OSVMGASA-2022-0441 No score
Updated xterm packages fix security vulnerability
xterm before patch 375 can enable an RCE under certain conditions.
- Record
MGASA-2022-0441- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12505-1 No score
xterm-375-2.1 on GA media
These are all security issues fixed in the xterm-375-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12505-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0173-1 No score
Security update for xterm
This update for xterm fixes the following issues:
- CVE-2022-45063: Fixed an arbitrary code execution issue under configurations using vi and zsh (bsc#1205305).
- Record
SUSE-SU-2023:0173-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0221-1 No score
Security update for xterm
This update for xterm fixes the following issues:
- CVE-2022-45063: Fixed an arbitrary code execution issue under configurations using vi and zsh (bsc#1205305).
- Record
SUSE-SU-2023:0221-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0582-1 No score
Security update for xterm
This update for xterm fixes the following issues:
- CVE-2022-45063: Fixed command injection in ESC 50 fontoperation by disabling the change font functionality (bsc#1205305).
- Record
SUSE-SU-2023:0582-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xtermAlmaLinux:9 |
before 366-10.el9_6 | 366-10.el9_6 |
xterm-resizeAlmaLinux:9 |
before 366-10.el9_6 | 366-10.el9_6 |
xtermAzure Linux:2 |
before 380-1 | 380-1 |
xtermTuxCare:CentOS:6 |
before 253-2.el6.tuxcare.els2 | 253-2.el6.tuxcare.els2 |
xtermTuxCare:CentOS:8.4 |
before 331-1.el8_3.2.tuxcare.els1 | 331-1.el8_3.2.tuxcare.els1 |
xterm-resizeTuxCare:CentOS:8.4 |
before 331-1.el8_3.2.tuxcare.els1 | 331-1.el8_3.2.tuxcare.els1 |
xtermTuxCare:CentOS:8.5 |
before 331-1.el8_3.2.tuxcare.els1 | 331-1.el8_3.2.tuxcare.els1 |
xterm-resizeTuxCare:CentOS:8.5 |
before 331-1.el8_3.2.tuxcare.els1 | 331-1.el8_3.2.tuxcare.els1 |
xtermTuxCare:OracleLinux:6 |
before 253-2.el6.tuxcare.els2 | 253-2.el6.tuxcare.els2 |
xtermTuxCare:Ubuntu:16.04 |
before 322-1ubuntu1.2+tuxcare.els1 | 322-1ubuntu1.2+tuxcare.els1 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xtermTuxCare:CentOS-Stream:8 |
before 331-2.el8.tuxcare.els1 | 331-2.el8.tuxcare.els1 |
xterm-resizeTuxCare:CentOS-Stream:8 |
before 331-2.el8.tuxcare.els1 | 331-2.el8.tuxcare.els1 |
xtermDebian:12 |
before 375-1 | 375-1 |
xtermDebian:13 |
before 375-1 | 375-1 |
xtermDebian:14 |
before 375-1 | 375-1 |
xtermMageia:8 |
before 376-1.mga8 | 376-1.mga8 |
xtermopenEuler:20.03-LTS-SP4 |
before 334-7.oe2003sp4 | 334-7.oe2003sp4 |
xtermopenEuler:22.03-LTS-SP1 |
before 363-6.oe2203sp1 | 363-6.oe2203sp1 |
xtermopenEuler:22.03-LTS-SP4 |
before 363-6.oe2203sp4 | 363-6.oe2203sp4 |
xtermopenEuler:22.03-LTS-SP3 |
before 363-6.oe2203sp3 | 363-6.oe2203sp3 |
xtermRed Hat:enterprise_linux:9::appstream |
before 0:366-10.el9_6 | 0:366-10.el9_6 |
xterm-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:366-10.el9_6 | 0:366-10.el9_6 |
xterm-debugsourceRed Hat:enterprise_linux:9::appstream |
before 0:366-10.el9_6 | 0:366-10.el9_6 |
xterm-resizeRed Hat:enterprise_linux:9::appstream |
before 0:366-10.el9_6 | 0:366-10.el9_6 |
xterm-resize-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:366-10.el9_6 | 0:366-10.el9_6 |
xtermRocky Linux:9 |
before 0:366-10.el9_6 | 0:366-10.el9_6 |
xtermSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 330-150000.4.6.1 | 330-150000.4.6.1 |
xtermSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 330-150000.4.6.1 | 330-150000.4.6.1 |
xtermSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 330-150000.4.6.1 | 330-150000.4.6.1 |
xtermSUSE:Enterprise Storage 6 |
before 330-150000.4.6.1 | 330-150000.4.6.1 |
xtermSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Linux Enterprise Real Time 15 SP3 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Linux Enterprise Server 15 SP2-LTSS |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Linux Enterprise Server 15 SP3-LTSS |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Linux Enterprise Server for SAP Applications 15 SP3 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Manager Proxy 4.2 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Manager Retail Branch Server 4.2 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Manager Server 4.2 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Enterprise Storage 7 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:Enterprise Storage 7.1 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermopenSUSE:Leap 15.4 |
before 330-150200.11.9.1 | 330-150200.11.9.1 |
xtermSUSE:OpenStack Cloud 9 |
before 308-5.9.1 | 308-5.9.1 |
xtermSUSE:OpenStack Cloud Crowbar 9 |
before 308-5.9.1 | 308-5.9.1 |
xtermSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 308-5.9.1 | 308-5.9.1 |
xtermSUSE:Linux Enterprise Server 12 SP2-BCL |
before 308-5.9.1 | 308-5.9.1 |
xtermSUSE:Linux Enterprise Server 12 SP4-ESPOS |
before 308-5.9.1 | 308-5.9.1 |
xtermSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 308-5.9.1 | 308-5.9.1 |
xtermSUSE:Linux Enterprise Server 12 SP5 |
before 308-5.9.1 | 308-5.9.1 |
xtermSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 308-5.9.1 | 308-5.9.1 |
xtermUbuntu:16.04:LTS |
All versions, plus listed versions 318-2ubuntu1318-2ubuntu2322-1ubuntu1322-1ubuntu1.2 |
None known |
xtermUbuntu:18.04:LTS |
All versions, plus listed versions 324-2ubuntu1330-1ubuntu1330-1ubuntu2330-1ubuntu2.2 |
None known |
xtermUbuntu:20.04:LTS |
All versions, plus listed versions 348-2ubuntu1353-1ubuntu1353-1ubuntu1.20.04.2 |
None known |
xtermUbuntu:22.04:LTS |
All versions, plus listed versions 366-1ubuntu1369-1ubuntu1370-1ubuntu1370-2ubuntu1371-1ubuntu1372-1ubuntu1 |
None known |
xtermopenSUSE:Tumbleweed |
before 375-2.1 | 375-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-45063 is a critical vulnerability (CVSS 9.8) in Invisible-island Xterm, published November 10, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.56%, the 93rd percentile. Fixed in xterm 366-10.el9_6.
References
invisible-island.net/xterm/xterm.log.html
openwall.com/lists/oss-security/2022/11/10/1
news.ycombinator.com/item?id=33546415
openwall.com/lists/oss-security/2022/11/10/5
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IVD3I2ZFXGOY6BA2FNS7WPFMPFBDHFWC
security.gentoo.org/glsa/202211-09
Show 40 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TPVNTYFFWNTGZJJQAA4MGGFSTXA4XEA
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5T2JI5JCHPTXX2KJU45H2XAHQSFVEJ2Y
openwall.com/lists/oss-security/2024/06/15/1
openwall.com/lists/oss-security/2024/06/17/1
openwall.com/lists/oss-security/2026/04/08/1
openwall.com/lists/oss-security/2026/04/08/10
nvd.nist.gov/vuln/detail/CVE-2022-45063
lists.fedoraproject.org/archives/list/[email protected]/message/4TPVNTYFFWNTGZJJQAA4MGGFSTXA4XEA
lists.fedoraproject.org/archives/list/[email protected]/message/5T2JI5JCHPTXX2KJU45H2XAHQSFVEJ2Y
lists.fedoraproject.org/archives/list/[email protected]/message/IVD3I2ZFXGOY6BA2FNS7WPFMPFBDHFWC
github.com/advisories/GHSA-3cch-wj7f-8g8x
access.redhat.com/errata/RHSA-2025:7427
access.redhat.com/security/cve/CVE-2022-45063
bugzilla.redhat.com/2142474
errata.almalinux.org/9/ALSA-2025-7427.html
errata.cloudlinux.com/els6/CLSA-2022-1669236294.html
errata.cloudlinux.com/centos8.4-els/CLSA-2022-1669237302.html
errata.cloudlinux.com/centos8.5-els/CLSA-2022-1669238963.html
errata.cloudlinux.com/ol6/CLSA-2022-1669239895.html
errata.cloudlinux.com/ubuntu16-els/CLSA-2022-1669242003
errata.tuxcare.com/els_os/centos-stream8els/CLSA-2026-1777030519.html
security-tracker.debian.org/tracker/CVE-2022-45063
advisories.mageia.org/MGASA-2022-0441.html
bugs.mageia.org/show_bug.cgi?id=31108
lists.fedoraproject.org/archives/list/[email protected]/thread/IVD3I2ZFXGOY6BA2FNS7WPFMPFBDHFWC
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2236
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2237
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2238
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2239
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2142474
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_7427.json
cve.org/CVERecord?id=CVE-2022-45063
errata.rockylinux.org/RLSA-2025:7427
suse.com/support/update/announcement/2023/suse-su-20230173-1
bugzilla.suse.com/1205305
suse.com/security/cve/CVE-2022-45063
suse.com/support/update/announcement/2023/suse-su-20230221-1
suse.com/support/update/announcement/2023/suse-su-20230582-1
ubuntu.com/security/CVE-2022-45063