CVE-2025-27837 Details
Description
An 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.
A vulnerability allowing access to arbitrary files has been identified in Artifex Ghostscript versions prior to 10.05.0. This issue arises in the Windows-specific source files 'base/gp_mswin.c' and 'base/winrtsup.cpp', where the function 'gp_open_scratch_file_impl' fails to properly validate the return values of certain function calls. This oversight can lead to the creation of a truncated file path containing invalid UTF-8 characters, potentially allowing unauthorized file access.
Users can upgrade to Ghostscript version 10.05.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.ghostscript.com/show_bug.cgi?id=708238 | [email protected] | Issue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| artifex ghostscript | < 10.05.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2025 | Initial Analysis | [email protected] |
| Mar 26, 2025 | CVE Modified | CISA-ADP |
| Mar 25, 2025 | New CVE Received | [email protected] |