# CVE-2024-46953

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-10 · Modified: 2025-11-03
- Aliases: ALPINE-CVE-2024-46953, UBUNTU-CVE-2024-46953, DEBIAN-CVE-2024-46953
- Record: https://cvemate.com/vulnerability/CVE-2024-46953 · JSON: https://cvemate.com/vulnerability/CVE-2024-46953/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.388%, percentile 34.999%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ghostscript (Alpine Linux): \< 10.04.0-r0
- artifex ghostscript: \< 10.04.0
- debian ghostscript (Debian): \< 10.0.0~dfsg-11+deb12u6 \| \< 10.04.0~dfsg-1
- ubuntu ghostscript (Ubuntu): \< 9.26~dfsg+0-0ubuntu0.16.04.14+esm8 \| \< 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 \| \< 9.50~dfsg-5ubuntu4.14 \| \< 9.55.0~dfsg1-0ubuntu5.10 \| \< 10.02.1~dfsg1-0ubuntu7.4
- debian 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

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=707793>
- <https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/>
- <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=1f21a45df0fa3abec4cff12951022b192dda3c00>
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00023.html>
- <https://security.alpinelinux.org/vuln/CVE-2024-46953>
- <https://ubuntu.com/security/CVE-2024-46953>
- <https://www.cve.org/CVERecord?id=CVE-2024-46953>
- <https://ubuntu.com/security/notices/USN-7103-1>
- <https://ubuntu.com/security/notices/USN-7138-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-46953>

---

Data as of 2026-12-05T02:38:12.350Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
