Artifex Ghostscript vulnerabilities

130 vulnerabilities

Known vulnerabilities in Artifex Ghostscript, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-103226artifex · ghostscript +2 moreArtifex Ghostscript Pdfwrite gdevpsfx.c type1_callsubr stack-based overflowA vulnerability was identified in Artifex Ghostscript up to 10.07.0. Affected is the function type1_callsubr of the file devices/vector/gdevpsfx.c of the component Pdfwrite. The manipulation leads to stack-based buffer overflow. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. Upgrading to version 10.08.0 is able to address this issue. It is suggested to upgrade the affected component. A solution was implemented: "I've chosen to fix this slightly differently by using the defined macro in the font parsing loop rather than in the callsubr function, because this better matches the pattern of 'normal' usage."CVSS7.5HighEPSS0.32%RoutineCVE-2025-59800artifex · ghostscript +11 moreartifex ghostscriptIn Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that leads to a heap-based buffer overflow in ocr_line8.CVSS5.5MediumEPSS0.18%RoutineCVE-2025-59799artifex · ghostscript +11 moreartifex ghostscriptArtifex 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.CVSS5.5MediumEPSS0.21%RoutineCVE-2025-59798artifex · ghostscript +11 moreartifex ghostscriptArtifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.CVSS5.5MediumEPSS0.21%RoutineCVE-2025-48708artifex · ghostscript +7 moreartifex ghostscriptgs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case. A created PDF document includes its password in cleartext.CVSS4.0MediumEPSS0.35%RoutineCVE-2025-46646artifex · ghostscript +3 moreartifex ghostscriptIn Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.CVSS4.5MediumEPSS0.19%PrioritiseCVE-2025-27837artifex · ghostscript +1 moreartifex ghostscriptAn issue was discovered in Artifex Ghostscript before 10.05.0. Access to arbitrary files can occur through a truncated path with invalid UTF-8 characters, for base/gp_mswin.c and base/winrtsup.cpp.CVSS9.8CriticalEPSS0.61%PrioritiseCVE-2025-27836artifex · ghostscript +3 moreartifex ghostscriptAn issue was discovered in Artifex Ghostscript before 10.05.0. The BJ10V device has a Print buffer overflow in contrib/japanese/gdev10v.c.CVSS9.8CriticalEPSS0.61%RoutineCVE-2025-27835artifex · ghostscript +3 moreartifex ghostscriptAn issue was discovered in Artifex Ghostscript before 10.05.0. A buffer overflow occurs when converting glyphs to Unicode in psi/zbfont.c.CVSS7.8HighEPSS0.30%RoutineCVE-2025-27834artifex · ghostscript +3 moreartifex ghostscriptAn issue was discovered in Artifex Ghostscript before 10.05.0. A buffer overflow occurs via an oversized Type 4 function in a PDF document to pdf/pdf_func.c.CVSS7.8HighEPSS0.26%RoutineCVE-2025-27833artifex · ghostscript +3 moreartifex ghostscriptAn issue was discovered in Artifex Ghostscript before 10.05.0. A buffer overflow occurs for a long TTF font name to pdf/pdf_fmap.c.CVSS7.8HighEPSS0.22%PrioritiseCVE-2025-27832artifex · ghostscript +16 moreartifex ghostscriptAn issue was discovered in Artifex Ghostscript before 10.05.0. The NPDL device has a Compression buffer overflow for contrib/japanese/gdevnpdl.c.CVSS9.8CriticalEPSS0.84%PrioritiseCVE-2025-27831artifex · ghostscript +3 moreartifex ghostscriptAn issue was discovered in Artifex Ghostscript before 10.05.0. The DOCXWRITE TXTWRITE device has a text buffer overflow via long characters to devices/vector/doc_common.c.CVSS9.8CriticalEPSS0.61%RoutineCVE-2025-27830artifex · ghostscript +3 moreartifex ghostscriptAn issue was discovered in Artifex Ghostscript before 10.05.0. A buffer overflow occurs during serialization of DollarBlend in a font, for base/write_t1.c and psi/zfapi.c.CVSS7.8HighEPSS0.31%RoutineCVE-2024-46956artifex · ghostscript +7 moreartifex ghostscriptAn issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenameforall can lead to arbitrary code execution.CVSS7.8HighEPSS0.39%RoutineCVE-2024-46955artifex · ghostscript +7 moreartifex ghostscriptAn issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. There is an out-of-bounds read when reading color in Indexed color space.CVSS5.5MediumEPSS0.29%RoutineCVE-2024-46954artifex · ghostscript +3 moreartifex ghostscriptAn issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal.CVSS8.4HighEPSS0.55%RoutineCVE-2024-46953artifex · ghostscript +7 moreartifex ghostscriptAn issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.CVSS7.8HighEPSS0.39%RoutineCVE-2024-46952artifex · ghostscript +4 moreartifex ghostscriptAn issue was discovered in pdf/pdf_xref.c in Artifex Ghostscript before 10.04.0. There is a buffer overflow during handling of a PDF XRef stream (related to W array values).CVSS8.4HighEPSS0.32%RoutineCVE-2024-46951artifex · ghostscript +7 moreartifex ghostscriptAn issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. An unchecked Implementation pointer in Pattern color space could lead to arbitrary code execution.CVSS7.8HighEPSS0.36%