CVE-2025-59799: Buffer Overflow

Published Sep 22, 2025
·
Updated

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

12 affected componentsFixes available
Artifex Ghostscript<=10.05.1
Artifex Ghostscript<=10.05.1
alpine/ghostscript<10.08.0-r0
10.08.0-r0
alpine/ghostscript<10.08.0-r0
10.08.0-r0
alpine/ghostscript<10.06.0-r0
10.06.0-r0
alpine/ghostscript<10.06.0-r0
10.06.0-r0
ubuntu/ghostscript<9.26~dfsg+0-0ubuntu0.16.04.14+esm10
9.26~dfsg+0-0ubuntu0.16.04.14+esm10
ubuntu/ghostscript<9.26~dfsg+0-0ubuntu0.18.04.18+esm5
9.26~dfsg+0-0ubuntu0.18.04.18+esm5
ubuntu/ghostscript<9.50~dfsg-5ubuntu4.15+esm2
9.50~dfsg-5ubuntu4.15+esm2
ubuntu/ghostscript<9.55.0~dfsg1-0ubuntu5.13
9.55.0~dfsg1-0ubuntu5.13
ubuntu/ghostscript<10.02.1~dfsg1-0ubuntu7.8
10.02.1~dfsg1-0ubuntu7.8
ubuntu/ghostscript<10.05.0dfsg1-0ubuntu4
10.05.0dfsg1-0ubuntu4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/ghostscript to a version that resolves this vulnerability.

    Fixed in 10.08.0-r0
  2. Upgrade

    Upgrade alpine/ghostscript to a version that resolves this vulnerability.

    Fixed in 10.06.0-r0
  3. Upgrade

    Upgrade ubuntu/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.26~dfsg+0-0ubuntu0.16.04.14+esm10
  4. Upgrade

    Upgrade ubuntu/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.26~dfsg+0-0ubuntu0.18.04.18+esm5
  5. Upgrade

    Upgrade ubuntu/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.50~dfsg-5ubuntu4.15+esm2
  6. Upgrade

    Upgrade ubuntu/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.55.0~dfsg1-0ubuntu5.13
  7. Upgrade

    Upgrade ubuntu/ghostscript to a version that resolves this vulnerability.

    Fixed in 10.02.1~dfsg1-0ubuntu7.8
  8. Upgrade

    Upgrade ubuntu/ghostscript to a version that resolves this vulnerability.

    Fixed in 10.05.0dfsg1-0ubuntu4

Event History

Sep 22, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·04:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeakness
Sep 23, 2025
Data Sourced
via MITRE·01:48 PM
SeverityWeakness
Sep 25, 2025
Data Sourced
via NVD·07:28 PM
RemedyAffected Software
Updated
via NVD·07:28 PM
Severity
Event
via NVD·07:28 PM
Nov 22, 2026
Updated
via OSV·06:30 PM
Affected Software

Frequently Asked Questions

1

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.

2

How do I fix CVE-2025-59799?

To fix CVE-2025-59799, update Artifex Ghostscript to a version later than 10.05.1.

3

What software is affected by CVE-2025-59799?

CVE-2025-59799 affects Artifex Ghostscript versions up to and including 10.05.1.

4

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.

5

When was CVE-2025-59799 identified?

CVE-2025-59799 was identified in the context of vulnerabilities present before Artifex Ghostscript version 10.05.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203