Buffer overflow in Artifex Ghostscript

CVE-2025-59799

Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector/gdevpdfm.c via a large size value.

Vulnerability class: Buffer Overflow

EPSS: 0.002 (8.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-59799?
CVE-2025-59799 is a medium-severity vulnerability in Artifex Ghostscript, classified under Stack-based Buffer Overflow. CVSS score: 4.3/10. Published 2025-09-22.
How severe is CVE-2025-59799?
Medium severity. CVSS v3 base score is 4.3 out of 10.
Is CVE-2025-59799 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.