Vulnerabilities / CVE-2022-45063

critical

CVE-2022-45063

xterm: code execution via OSC 50 input sequences

Published Modified CWE 77
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner. Rated lower by Red Hat (medium), AlmaLinux (low), Oracle (low), Rocky Linux (low).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 2.0xterm0:380-1.cm2
alma 9xterm, xterm-resize366-10.el9_6
debian 10xtermno fix listed
debian 11xtermno fix listed
debian 12xterm375-1
debian 13xterm375-1
debian 14xterm375-1
echoxterm375-1
Oracle Linux 9xterm, xterm-resize366-10.el9_6
rapidfort Oracle Linux 9xterm, xterm-resize0:366-10.el9_6
rapidfort ubuntu 20.04xterm0:375-1ubuntu1
rapidfort ubuntu 22.04xterm0:375-1ubuntu1
Show all 20 entries from 15 sources
SourcePackageFixed in
CBL-Mariner 2.0xterm0:380-1.cm2
alma 9xterm366-10.el9_6
alma 9xterm-resize366-10.el9_6
debian 10xtermno fix listed
debian 11xtermno fix listed
debian 12xterm375-1
debian 13xterm375-1
debian 14xterm375-1
echoxterm375-1
Oracle Linux 9xterm366-10.el9_6
Oracle Linux 9xterm-resize366-10.el9_6
rapidfort Oracle Linux 9xterm0:366-10.el9_6
rapidfort Oracle Linux 9xterm-resize0:366-10.el9_6
rapidfort ubuntu 20.04xterm0:375-1ubuntu1
rapidfort ubuntu 22.04xterm0:375-1ubuntu1
rapidfort ubuntu 24.04xterm0:375-1ubuntu1
Red Hatxtermno fix listed
Red Hatxterm-resizeno fix listed
rocky 9xterm366-10.el9_6
rocky 9xterm-resize366-10.el9_6

References

All 25 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.