CVE-2025-27837
published critical CVSS 3.1 · 9.8Ghostscript: Access to arbitrary files through truncated path with invalid UTF-8
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2820 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-927 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptaarch64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| Amazon Linux | AL2 | ghostscriptaarch64 | Listed in advisory | Not stated | ALAS2-2025-2820 |
| Alpine Linux | v3.18 | ghostscript | Fixed | 10.05.0 | Package fix record |
| Alpine Linux | v3.19 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
Show 24 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.20 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.21 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.22 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.23 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.24 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptppc64le | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscripts390x | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptx86_64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develaarch64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develppc64le | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-devels390x | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develx86_64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11aarch64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11ppc64le | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11s390x | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11x86_64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| Amazon Linux | AL2 | ghostscripti686 | Listed in advisory | Not stated | ALAS2-2025-2820 |
| Amazon Linux | AL2 | ghostscriptnoarch | Listed in advisory | Not stated | ALAS2-2025-2820 |
| Amazon Linux | AL2 | ghostscriptsrc | Listed in advisory | Not stated | ALAS2-2025-2820 |
| Amazon Linux | AL2 | ghostscriptx86_64 | Listed in advisory | Not stated | ALAS2-2025-2820 |
| Amazon Linux | AL2023 | ghostscriptaarch64 | Listed in advisory | Not stated | ALAS2023-2025-927 |
| Amazon Linux | AL2023 | ghostscriptnoarch | Listed in advisory | Not stated | ALAS2023-2025-927 |
| Amazon Linux | AL2023 | ghostscriptsrc | Listed in advisory | Not stated | ALAS2023-2025-927 |
| Amazon Linux | AL2023 | ghostscriptx86_64 | Listed in advisory | Not stated | ALAS2023-2025-927 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
1Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c5c74d5794e7b2b024b91feb5485fdbdddddb1591f45fd84e7921f383cceced9
- Ingested
- 23 Sep 2026, 08:42:52 UTC
- Source record
- Official CVE record