CVE-2025-27837 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.
CriticalCVSS 9.8
EPSS 0.61%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- Debian
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.
Upgrade path
8 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/ghostscript(Alpine v3.18) | < 10.05.0 | 10.05.0 | Fixed |
| alpine/ghostscript(Alpine v3.19) | < 10.05.0-r0 | 10.05.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.20) | < 10.05.0-r0 | 10.05.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.21) | < 10.05.0-r0 | 10.05.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.22) | < 10.05.0-r0 | 10.05.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.23) | < 10.05.0-r0 | 10.05.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.24) | < 10.05.0-r0 | 10.05.0-r0 | Fixed |
| artifex ghostscript | < 10.05.0 | 10.05.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/ghostscript(Alpine:v3.18) | < 10.05.0 | 10.05.0 |
| alpine/ghostscript(Alpine:v3.19) | < 10.05.0-r0 | 10.05.0-r0 |
| alpine/ghostscript(Alpine:v3.20) | < 10.05.0-r0 | 10.05.0-r0 |
| alpine/ghostscript(Alpine:v3.21) | < 10.05.0-r0 | 10.05.0-r0 |
| alpine/ghostscript(Alpine:v3.22) | < 10.05.0-r0 | 10.05.0-r0 |
| alpine/ghostscript(Alpine:v3.23) | < 10.05.0-r0 | 10.05.0-r0 |
| alpine/ghostscript(Alpine:v3.24) | < 10.05.0-r0 | 10.05.0-r0 |
| artifex ghostscript | < 10.05.0 | 10.05.0 |
References
- bugs.ghostscript.com issue-tracking patch
- security.alpinelinux.org vendor-advisory
- Debian Security Tracker CVE-2025-27837 vendor-advisory