CVE-2024-46953: An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0
CVE-2024-46953 is a high-severity flaw (CVSS 7.8) affecting ghostscript, debian linux, linux enterprise high performance computing. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 67%) |
| CISA exploited list | No |
| Weakness | CWE-190 |
| Published | 2024-11-10 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-46953?
ghostscript: upgrade to 10.04.0; debian linux: mitigate or apply the listed mitigation; linux enterprise high performance computing: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-46953 being exploited?
CVE-2024-46953 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-46953 affect?
CVE-2024-46953 affects ghostscript, debian linux, linux enterprise high performance computing. Severity is high (CVSS 7.8). 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 executi
How urgent is CVE-2024-46953?
Priority 41/100. High severity; On your watchlist
Software pages
Debian vulnerabilities · SAP vulnerabilities · Ghostscript vulnerabilities
Related CVEs
- CVE-2025-59800 MEDIUM 4.3 UPGRADE In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that le
- CVE-2025-59799 MEDIUM 4.3 UPGRADE Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector
- CVE-2025-59798 MEDIUM 4.3 UPGRADE Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdev
- CVE-2025-48708 MEDIUM 4.0 UPGRADE gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitiz
- CVE-2025-46646 MEDIUM 4.5 UPGRADE In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding