CVE-2025-59798: Buffer Overflow
Published Sep 22, 2025
·Updated
Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfwritecmap in devices/vector/gdevpdtw.c.
Affected Software
2 affected components
Artifex Ghostscript<=10.05.1
Artifex Ghostscript<=10.05.1
Remediation
Event History
Sep 22, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Frequently Asked Questions
1
What is the severity of CVE-2025-59798?
CVE-2025-59798 is classified as a high-severity vulnerability due to its potential for causing a stack-based buffer overflow.
2
How do I fix CVE-2025-59798?
To mitigate CVE-2025-59798, you should upgrade to a version of Artifex Ghostscript that is higher than 10.05.1.
3
What causes CVE-2025-59798?
CVE-2025-59798 is caused by a stack-based buffer overflow in the pdf_write_cmap function within the Ghostscript source code.
4
Which versions of Artifex Ghostscript are affected by CVE-2025-59798?
Artifex Ghostscript versions up to and including 10.05.1 are affected by CVE-2025-59798.
5
What are the potential impacts of exploiting CVE-2025-59798?
Exploitation of CVE-2025-59798 could allow an attacker to execute arbitrary code on the affected system.