{"id":"UBUNTU-CVE-2024-46954","details":"An issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal.","modified":"2026-04-22T15:09:34.146687Z","published":"2024-10-30T00:00:00Z","related":["USN-7103-1"],"upstream":["CVE-2024-46954"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-46954"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-46954"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7103-1"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@10.02.1~dfsg1-0ubuntu7.4?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.02.1~dfsg1-0ubuntu7.4"}]}],"versions":["10.01.2~dfsg1-0ubuntu2","10.01.2~dfsg1-0ubuntu2.1","10.02.1~dfsg1-0ubuntu1","10.02.1~dfsg1-0ubuntu2","10.02.1~dfsg1-0ubuntu5","10.02.1~dfsg1-0ubuntu6","10.02.1~dfsg1-0ubuntu7","10.02.1~dfsg1-0ubuntu7.1","10.02.1~dfsg1-0ubuntu7.3"],"ecosystem_specific":{"binaries":[{"binary_name":"ghostscript","binary_version":"10.02.1~dfsg1-0ubuntu7.4"},{"binary_name":"libgs-common","binary_version":"10.02.1~dfsg1-0ubuntu7.4"},{"binary_name":"libgs10","binary_version":"10.02.1~dfsg1-0ubuntu7.4"},{"binary_name":"libgs10-common","binary_version":"10.02.1~dfsg1-0ubuntu7.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-46954.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}