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

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.

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