CVE-2024-46954
published high CVSS 3.1 · 8.4ghostscript: Directory Traversal in Ghostscript via Overlong UTF-8 Encoding
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 evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | 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 |
| Oracle Linux | 10 | ghostscriptaarch64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscriptaarch64 | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptaarch64 | Advisory build | 10.04.0-1.1 | OPENSUSE-SU-2024:14423-1 |
| Ubuntu | noble | ghostscript | Advisory build | 10.02.1~dfsg1-0ubuntu7.4 | USN-7103-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 |
| 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 | 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 |
| 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 |
| Oracle Linux | 10 | libgs-develx86_64 | Advisory build | 0:10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux | 8 | ghostscript-docaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-docx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-dvipdfaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-dvipdfx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-fontsaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-fontsx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-printingaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-printingx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-x11aarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-x11x86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | libgsaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | libgsx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | libgs-develaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | libgs-develx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 9 | ghostscript-docaarch64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-docx86_64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-tools-dvipdfaarch64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-tools-dvipdfx86_64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-tools-fontsaarch64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-tools-fontsx86_64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-tools-printingaarch64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-tools-printingx86_64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-x11aarch64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | ghostscript-x11x86_64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | libgsaarch64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | libgsx86_64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | libgs-develaarch64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux | 9 | libgs-develx86_64 | Advisory build | 0:9.54.0-18.el9_6 | ELSA-2025-7422 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-debuginfoaarch64 | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-debuginfoppc64le | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-debuginfos390x | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-debuginfox86_64 | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-debugsourceaarch64 | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-debugsourceppc64le | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-debugsources390x | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-debugsourcex86_64 | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux | RHEL-10 | ghostscript-docnoarch | Advisory build | 10.02.1-15.el10_0 | RHSA-2025:7499 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
An issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal.
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
- 8.4 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/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-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- add8d554eb371fcdcd53a08f49d209d1c11a68d75f94030c5c26269b14b4299e
- Ingested
- 23 Sep 2026, 08:28:19 UTC
- Source record
- Official CVE record