CVE-2025-59799: Buffer Overflow
Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmarkcoercedest in devices/vector/gdevpdfm.c via a large size value.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/ghostscriptto a version that resolves this vulnerability.Fixed in 10.08.0-r0 - Upgrade
Upgrade
alpine/ghostscriptto a version that resolves this vulnerability.Fixed in 10.06.0-r0 - Upgrade
Upgrade
ubuntu/ghostscriptto a version that resolves this vulnerability.Fixed in 9.26~dfsg+0-0ubuntu0.16.04.14+esm10 - Upgrade
Upgrade
ubuntu/ghostscriptto a version that resolves this vulnerability.Fixed in 9.26~dfsg+0-0ubuntu0.18.04.18+esm5 - Upgrade
Upgrade
ubuntu/ghostscriptto a version that resolves this vulnerability.Fixed in 9.50~dfsg-5ubuntu4.15+esm2 - Upgrade
Upgrade
ubuntu/ghostscriptto a version that resolves this vulnerability.Fixed in 9.55.0~dfsg1-0ubuntu5.13 - Upgrade
Upgrade
ubuntu/ghostscriptto a version that resolves this vulnerability.Fixed in 10.02.1~dfsg1-0ubuntu7.8 - Upgrade
Upgrade
ubuntu/ghostscriptto a version that resolves this vulnerability.Fixed in 10.05.0dfsg1-0ubuntu4
Event History
Frequently Asked Questions
What is the severity of CVE-2025-59799?
CVE-2025-59799 is classified as a high-severity vulnerability due to its potential to cause a stack-based buffer overflow.
How do I fix CVE-2025-59799?
To fix CVE-2025-59799, update Artifex Ghostscript to a version later than 10.05.1.
What software is affected by CVE-2025-59799?
CVE-2025-59799 affects Artifex Ghostscript versions up to and including 10.05.1.
What are the potential impacts of CVE-2025-59799?
Exploiting CVE-2025-59799 can lead to arbitrary code execution and system compromise due to the buffer overflow.
When was CVE-2025-59799 identified?
CVE-2025-59799 was identified in the context of vulnerabilities present before Artifex Ghostscript version 10.05.1.