An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0.
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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 it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* | before 10.04.0 | Vulnerable | Artifex |
| cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Debian |
| cpe:2.3:o:suse:linux_enterprise_high_performance_computing:12.0:sp5:*:*:-:*:*:* | 12.0 sp5 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:-:*:*:* | 12 sp5 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:ltss:*:*:* | 12 sp5 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:ltss_extended_security:*:*:* | 12 sp5 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server_for_sap:12:sp5:*:*:*:*:*:* | 12 sp5 | Vulnerable | SUSE |
- cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* Versions before 10.04.0 Vulnerable ·Artifex
- cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Debian
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:12.0:sp5:*:*:-:*:*:* Versions 12.0 sp5 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:-:*:*:* Versions 12 sp5 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:ltss:*:*:* Versions 12 sp5 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:ltss_extended_security:*:*:* Versions 12 sp5 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server_for_sap:12:sp5:*:*:*:*:*:* Versions 12 sp5 Vulnerable ·SUSE
Remediation
Red Hat 3 advisories
- RHSA-2025:7499 Released 2025-05-13 · Red Hat rating Moderateghostscript security update
- Red Hat Enterprise Linux AppStream (v. 10) ghostscript-10.02.1-15.el10_0, ghostscript-doc-10.02.1-15.el10_0, ghostscript-tools-fonts-10.02.1-15.el10_0 +2
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) ghostscript-tools-dvipdf-10.02.1-15.el10_0, libgs-devel-10.02.1-15.el10_0
- RHSA-2025:7422 Released 2025-05-13 · Red Hat rating Moderateghostscript security update
- Red Hat Enterprise Linux AppStream (v. 9) ghostscript-9.54.0-18.el9_6, ghostscript-doc-9.54.0-18.el9_6, ghostscript-tools-dvipdf-9.54.0-18.el9_6 +4
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) ghostscript-9.54.0-18.el9_6, ghostscript-tools-fonts-9.54.0-18.el9_6, ghostscript-tools-printing-9.54.0-18.el9_6 +1
- RHSA-2025:4362 Released 2025-04-30 · Red Hat rating Moderateghostscript security update
- Red Hat Enterprise Linux AppStream (v. 8) ghostscript-9.27-16.el8_10, ghostscript-x11-9.27-16.el8_10, libgs-9.27-16.el8_10
- Red Hat Enterprise Linux CRB (v. 8) ghostscript-doc-9.27-16.el8_10, ghostscript-tools-dvipdf-9.27-16.el8_10, ghostscript-tools-fonts-9.27-16.el8_10 +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:7499 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:4362 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:7422 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2025:4362 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2025:7499 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2025:7422 |
Timeline
- 2026-10-02 Threatist record created from CVE-2024-46953
- 2026-10-03 Alias added: GHSA-qxhf-m3mr-36x5
References
Sources
- CVE-2024-46953 · CVE Program
- CVE-2024-46953 · NVD
- FIRST EPSS
- GHSA-qxhf-m3mr-36x5 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-46953 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences