{"id":"UBUNTU-CVE-2022-45063","details":"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.","modified":"2025-10-24T04:53:59Z","published":"2022-11-10T16:15:00Z","upstream":["CVE-2022-45063"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-45063"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2022/11/10/1"},{"type":"REPORT","url":"https://invisible-island.net/xterm/xterm.log.html"},{"type":"REPORT","url":"https://news.ycombinator.com/item?id=33546415"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2022/11/10/1"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2022/11/10/5"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-45063"}],"affected":[{"package":{"name":"xterm","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/xterm@322-1ubuntu1.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["318-2ubuntu1","318-2ubuntu2","322-1ubuntu1","322-1ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_name":"xterm","binary_version":"322-1ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-45063.json"}},{"package":{"name":"xterm","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/xterm@330-1ubuntu2.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["324-2ubuntu1","330-1ubuntu1","330-1ubuntu2","330-1ubuntu2.2"],"ecosystem_specific":{"binaries":[{"binary_name":"xterm","binary_version":"330-1ubuntu2.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-45063.json"}},{"package":{"name":"xterm","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/xterm@353-1ubuntu1.20.04.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["348-2ubuntu1","353-1ubuntu1","353-1ubuntu1.20.04.2"],"ecosystem_specific":{"binaries":[{"binary_name":"xterm","binary_version":"353-1ubuntu1.20.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-45063.json"}},{"package":{"name":"xterm","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/xterm@372-1ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["366-1ubuntu1","369-1ubuntu1","370-1ubuntu1","370-2ubuntu1","371-1ubuntu1","372-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"xterm","binary_version":"372-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-45063.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}