What’s Vulnerable › Vulnerabilities
CVE-2024-46953
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-10 · updated 2026-06-17
- Weakness: CWE-190
Description
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.
Affected products
- Artifex Ghostscript: before 10.04.0 — fixed in 10.04.0
- Debian Linux: 12.0
- SUSE Linux Enterprise High Performance Computing: 12.0-sp5
- SUSE Linux Enterprise Server: 12-sp5
- SUSE Linux Enterprise Server For Sap: 12-sp5
How to fix
Upgrade to a fixed version: Artifex Ghostscript 10.04.0. Check the vendor advisory for mitigations.
References
- https://bugs.ghostscript.com/show_bug.cgi?id=707793
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=1f21a45df0fa3abec4cff12951022b192dda3c00
- https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html
- https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/
- https://lists.debian.org/debian-lts-announce/2024/11/msg00023.html
Get alerted when CVE-2024-46953 or the next vulnerability affects your stack