cve.bz

CVE-2022-45063

9.8 criticalExploit referenceEPSS 6.6%Fix available

Critical (9.8). EPSS 6.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
6.6% (unchanged from 6.6% a week ago; 5.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-06-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-77 Improper Neutralization of Special Elements used in a Command
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-45063 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-45063?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-45063?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-45063 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
invisible-island:xtermbefore 375
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14xterm375-1DEBIAN-CVE-2022-45063
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 morextermno fix listedUBUNTU-CVE-2022-45063
Red Hatenterprise_linux:9::appstreamxterm, xterm-resize, xterm-debuginfo and 2 more0:366-10.el9_6RHSA-2025:7427
Red Hatrhel_e4s:9.4::appstreamxterm, xterm-resize, xterm-debuginfo and 2 more0:366-9.el9_4.1RHSA-2026:92418
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS and 1 morexterm330-150000.4.6.1SUSE-SU-2023:0173-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 morexterm330-150200.11.9.1SUSE-SU-2023:0221-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS and 5 morexterm308-5.9.1SUSE-SU-2023:0582-1
openSUSELeap 15.4xterm330-150200.11.9.1SUSE-SU-2023:0221-1
openSUSETumbleweedxterm375-2.1openSUSE-SU-2024:12505-1
AlmaLinux9xterm, xterm-resize366-10.el9_6ALSA-2025:7427
Rocky Linux9xterm0:366-10.el9_6RLSA-2025:7427
Azure Linux2xterm380-1AZL-11429

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is marked as moderate because the Red Hat Enterprise Linux 6, 7, 8, and 9, as the xterm package is currently provided with allowWindowOps and allowFontOps resources to false by default that can protect from remote code execution and downgrade the attack surface.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9xterm-0:366-10.el9_6Fixed 2025-05-13RHSA-2025:7427
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsxterm-0:366-9.el9_4.1Fixed 2026-10-29RHSA-2026:92418
Red Hat Enterprise Linux 6xtermNot affected
Red Hat Enterprise Linux 7xtermNot affected
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-appstreamNot affected
Red Hat Enterprise Linux 8cockpit-session-recordingNot affected
Red Hat Enterprise Linux 8container-tools:3.0/cockpit-podmanNot affected
Red Hat Enterprise Linux 8container-tools:4.0/cockpit-podmanNot affected
Red Hat Enterprise Linux 8container-tools:rhel8/cockpit-podmanNot affected
Red Hat Enterprise Linux 8xtermWill not fix
Red Hat Enterprise Linux 9cockpitNot affected
Red Hat Enterprise Linux 9cockpit-machinesNot affected
Red Hat Enterprise Linux 9cockpit-podmanNot affected
Red Hat Enterprise Linux 9cockpit-session-recordingNot affected
Red Hat OpenShift Container Platform 3.11openshift3/ose-consoleOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-consoleNot affected
Red Hat OpenShift Virtualization 4container-native-virtualization/kubevirt-console-pluginAffected
Red Hat Virtualization 4ovirt-web-uiNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-45063.

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-40 Manipulating Writeable Terminal Devices Likelihood: High · Severity: Very High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-136 LDAP Injection Likelihood: High · Severity: High
  • CAPEC-183 IMAP/SMTP Command Injection Severity: Medium
  • CAPEC-248 Command Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON