{"id":"UBUNTU-CVE-2023-40359","details":"xterm before 380 supports ReGIS reporting for character-set names even if they have unexpected characters (i.e., neither alphanumeric nor underscore), aka a pointer/overflow issue. This can only occur for xterm installations that are configured at compile time to use a certain experimental feature.","modified":"2025-10-24T05:02:14Z","published":"2023-08-14T17:15:00Z","upstream":["CVE-2023-40359"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-40359"},{"type":"REPORT","url":"https://invisible-island.net/xterm/xterm.log.html#xterm_380"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-40359"}],"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/2023/UBUNTU-CVE-2023-40359.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/2023/UBUNTU-CVE-2023-40359.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/2023/UBUNTU-CVE-2023-40359.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/2023/UBUNTU-CVE-2023-40359.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"}]}