
Cloud Vulnerability DB
A community-led vulnerabilities database
A stack-based buffer overflow vulnerability was discovered in Artifex Ghostscript through version 10.05.1, identified as CVE-2025-59799. The vulnerability exists in the pdfmark_coerce_dest function within devices/vector/gdevpdfm.c, which can be triggered via a large size value. The issue was discovered on May 7, 2025, and was publicly disclosed on September 22, 2025 (NVD, Ghostscript Bug).
The vulnerability stems from a stack-based buffer overflow in the pdfmark_coerce_dest function where a destination buffer is statically allocated on the stack without proper bounds checking before the memcpy call. The issue has received a CVSS v3.1 base score of 5.5 (Medium) from NVD with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, while MITRE assigned a score of 4.3 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N (NVD).
The buffer overflow vulnerability can lead to stack memory corruption when processing PDF files with specially crafted pdfmark code. This could potentially result in program crashes or other undefined behavior when processing malicious PDF documents (Ghostscript Bug).
The vulnerability has been fixed in the Ghostscript codebase through commit 6dab38fb211f15226c242ab7a83fa53e4b0ff781, which added proper size checking before the buffer copy operation. Ubuntu has released fixes for versions 25.04, 24.04 LTS, and 22.04 LTS in update 10.05.0dfsg1-0ubuntu1.2 (Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."