CVE-2024-46956
Ghostscript Arbitary Code Execution
Description
An issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenameforall can lead to arbitrary code execution.
INFO
Published Date :
Nov. 10, 2024, 10:15 p.m.
Last Modified :
Nov. 3, 2025, 11:16 p.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2024-46956
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | 
Solution
- Update the affected ghostscript packages to the latest version.
 - If unavailable, contact vendor for updated packages.
 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-46956.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-46956 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-46956
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-46956 vulnerability anywhere in the article.
		
- 
                                                            
                                                                
Cybersecurity News
 
Ghostscript Update Patches Six Critical Vulnerabilities: Code Execution, Buffer Overflow, and Path Traversal Risks
Popular document rendering engine Ghostscript has released a critical security update addressing multiple vulnerabilities, some of which could lead to remote code execution.Ghostscript, a widely used ... Read more
                The following table lists the changes that have been made to the
                CVE-2024-46956 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2024/11/msg00023.html  - 
                            
Initial Analysis by [email protected]
Nov. 14, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://bugs.ghostscript.com/show_bug.cgi?id=707895 No Types Assigned https://bugs.ghostscript.com/show_bug.cgi?id=707895 Permissions Required Changed Reference Type https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=f4151f12db32cd3ed26c24327de714bf2c3ed6ca No Types Assigned https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=f4151f12db32cd3ed26c24327de714bf2c3ed6ca Patch Changed Reference Type https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html No Types Assigned https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html Product Changed Reference Type https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/ No Types Assigned https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/ Third Party Advisory Added CWE NIST CWE-125 Added CPE Configuration OR *cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* versions up to (excluding) 10.04.0 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:suse:linux_enterprise_high_performance_computing:12.0:sp5:*:*:-:*:*:* *cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:-:*:*:* *cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:ltss:*:*:* *cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:ltss_extended_security:*:*:* *cpe:2.3:o:suse:linux_enterprise_server_for_sap:12:sp5:*:*:*:*:*:*  - 
                            
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 12, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-125 Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H  - 
                            
CVE Received by [email protected]
Nov. 10, 2024
Action Type Old Value New Value Added Description An issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenameforall can lead to arbitrary code execution. Added Reference MITRE https://bugs.ghostscript.com/show_bug.cgi?id=707895 [No types assigned] Added Reference MITRE https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html [No types assigned] Added Reference MITRE https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/ [No types assigned] Added Reference MITRE https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=f4151f12db32cd3ed26c24327de714bf2c3ed6ca [No types assigned]