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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"artifex:ghostscript": [
"< 10.04.0"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-46953",
"id": "CVE-2024-46953",
"imported": "2026-11-21T07:19:18.295Z",
"modified": "2026-06-17T07:56:15.117Z",
"published": "2024-11-10T22:15:12.750Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-46953"
}
]
}