CVE-2024-46953
published high CVSS 3.1 · 7.8ghostscript: Path Traversal and Code Execution via Integer Overflow in Ghostscript
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| artifex | — | ghostscript10.04.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2708 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-774 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | ghostscript | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| Alpine Linux | edge | ghostscript | Fixed | 10.04.0-r0 | Package fix record |
| Debian | bookworm | ghostscript | Advisory build | 10.0.0~dfsg-11+deb12u6 | DSA-5808-1 |
| Oracle Linux | 10 | ghostscriptaarch64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-10 | ghostscriptaarch64 | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptaarch64 | Advisory build | 9.52-23.86.1 | SUSE-SU-2024:3942-1 |
| Ubuntu | bionic | ghostscript | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 | USN-7138-1 |
| AlmaLinux | 9 | ghostscript | Advisory build | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| Alpine Linux | v3.18 | ghostscript | Fixed | 10.04.0-r0 | Package fix record |
| Alpine Linux | v3.19 | ghostscript | Fixed | 10.04.0-r0 | Package fix record |
| Alpine Linux | v3.20 | ghostscript | Fixed | 10.04.0-r0 | Package fix record |
| Alpine Linux | v3.21 | ghostscript | Fixed | 10.04.0-r0 | Package fix record |
| Alpine Linux | v3.22 | ghostscript | Fixed | 10.04.0-r0 | Package fix record |
| Alpine Linux | v3.23 | ghostscript | Fixed | 10.04.0-r0 | Package fix record |
| Alpine Linux | v3.24 | ghostscript | Fixed | 10.04.0-r0 | Package fix record |
| Debian | bullseye | ghostscript | Advisory build | 9.53.3~dfsg-7+deb11u9 | DLA-3965-1 |
| Oracle Linux | 10 | ghostscriptx86_64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 8 | ghostscriptaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscriptx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 9 | ghostscriptaarch64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscriptx86_64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscriptppc64le | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscripts390x | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscriptsrc | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscriptx86_64 | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscripts390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptsrc | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptx86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-9 | ghostscriptaarch64 | Advisory build | 9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux | RHEL-9 | ghostscripti686 | Advisory build | 9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux | RHEL-9 | ghostscriptppc64le | Advisory build | 9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux | RHEL-9 | ghostscripts390x | Advisory build | 9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux | RHEL-9 | ghostscriptsrc | Advisory build | 9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux | RHEL-9 | ghostscriptx86_64 | Advisory build | 9.54.0-18.el9_6 | RHSA-2025:7422 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptppc64le | Advisory build | 9.52-23.86.1 | SUSE-SU-2024:3942-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscripts390x | Advisory build | 9.52-23.86.1 | SUSE-SU-2024:3942-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptx86_64 | Advisory build | 9.52-23.86.1 | SUSE-SU-2024:3942-1 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscriptaarch64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscriptppc64le | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscripts390x | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscriptx86_64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptaarch64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptppc64le | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscripts390x | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptx86_64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscriptaarch64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscriptppc64le | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscripts390x | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscriptx86_64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscriptaarch64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscriptppc64le | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscripts390x | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscriptx86_64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptaarch64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptppc64le | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscripts390x | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptx86_64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ghostscriptaarch64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ghostscriptppc64le | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ghostscripts390x | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ghostscriptx86_64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptaarch64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptppc64le | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscripts390x | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptx86_64 | Advisory build | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptaarch64 | Advisory build | 10.04.0-1.1 | OPENSUSE-SU-2024:14423-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptppc64le | Advisory build | 10.04.0-1.1 | OPENSUSE-SU-2024:14423-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscripts390x | Advisory build | 10.04.0-1.1 | OPENSUSE-SU-2024:14423-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptx86_64 | Advisory build | 10.04.0-1.1 | OPENSUSE-SU-2024:14423-1 |
| Ubuntu | focal | ghostscript | Advisory build | 9.50~dfsg-5ubuntu4.14 | USN-7103-1 |
| Ubuntu | jammy | ghostscript | Advisory build | 9.55.0~dfsg1-0ubuntu5.10 | USN-7103-1 |
| Ubuntu | noble | ghostscript | Advisory build | 10.02.1~dfsg1-0ubuntu7.4 | USN-7103-1 |
| Ubuntu | xenial | ghostscript | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm8 | USN-7138-1 |
| AlmaLinux | 8 | ghostscript-doc | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | ghostscript-tools-dvipdf | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | ghostscript-tools-fonts | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | ghostscript-tools-printing | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | ghostscript-x11 | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | libgs | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | libgs-devel | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 9 | ghostscript-doc | Advisory build | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux | 9 | ghostscript-tools-dvipdf | Advisory build | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux | 9 | ghostscript-tools-fonts | Advisory build | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux | 9 | ghostscript-tools-printing | Advisory build | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux | 9 | ghostscript-x11 | Advisory build | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux | 9 | libgs | Advisory build | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux | 9 | libgs-devel | Advisory build | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| Oracle Linux | 10 | ghostscript-docaarch64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | ghostscript-docx86_64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | ghostscript-tools-dvipdfaarch64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | ghostscript-tools-dvipdfx86_64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | ghostscript-tools-fontsaarch64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | ghostscript-tools-fontsx86_64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | ghostscript-tools-printingaarch64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | ghostscript-tools-printingx86_64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | libgsaarch64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | libgsx86_64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 10 | libgs-develaarch64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| artifex | ghostscript | 10.04.0 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-190 CWE-190 Integer Overflow or Wraparound
References
5- 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://lists.debian.org/debian-lts-announce/2024/11/msg00023.html
- https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d39f33b610690e7970ea15b7df9884e644b727e2cc3f5fe9dacb0737ea5d9ca1
- Ingested
- 23 Sep 2026, 08:28:19 UTC
- Source record
- Official CVE record