{"id":"ALPINE-CVE-2024-46953","details":"An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.","modified":"2026-09-15T08:17:47.919753169Z","published":"2024-11-10T22:15:12.750Z","upstream":["CVE-2024-46953"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-46953"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.04.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-46953.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.04.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-46953.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.04.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-46953.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.04.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-46953.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.04.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-46953.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.04.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-46953.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}