CVE-2025-27837
An issue was discovered in Artifex Ghostscript before 10.05.0. Access to arbitrary files can...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.8
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.
- Record
CVE-2025-27837- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2025-8086
9.8
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.
- Record
EUVD-2025-8086- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rmm8-wf49-vvww
9.8
An issue was discovered in Artifex Ghostscript before 10.05.0. Access to arbitrary files can...
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.
- Record
GHSA-rmm8-wf49-vvww- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
NVD
9.8
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.
- Record
CVE-2025-27837- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVALPINE-CVE-2025-27837
9.8
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.
- Record
ALPINE-CVE-2025-27837- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2025-27837
9.8
- Record
BELL-CVE-2025-27837- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2025-27837- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2025-0098 No score
Updated ghostscript packages fix security vulnerabilities
This release addresses CVEs: CVE-2025-27835, CVE-2025-27832, CVE-2025-27831, CVE-2025-27836, CVE-2025-27830, CVE-2025-27833, CVE-2025-27837, CVE-2025-27834 The 10.05.0 release deprecates the non-standard operator "selectdevice", all code should now be using the standard "setpagedevice" operator. "selectdevice" will be removed in the 10.06.0 release. We now support production of PDF/X-1a and PDF/X-4a in addition to the existing support for PDF/X-3
- Record
MGASA-2025-0098- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:14953-1 No score
ghostscript-10.05.0-1.1 on GA media
These are all security issues fixed in the ghostscript-10.05.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:14953-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ghostscriptAlpine:v3.18 |
before 10.05.0 | 10.05.0 |
ghostscriptAlpine:v3.19 |
before 10.05.0-r0 | 10.05.0-r0 |
ghostscriptAlpine:v3.20 |
before 10.05.0-r0 | 10.05.0-r0 |
ghostscriptAlpine:v3.21 |
before 10.05.0-r0 | 10.05.0-r0 |
ghostscriptAlpine:v3.22 |
before 10.05.0-r0 | 10.05.0-r0 |
ghostscriptAlpine:v3.23 |
before 10.05.0-r0 | 10.05.0-r0 |
ghostscriptAlpine:v3.24 |
before 10.05.0-r0 | 10.05.0-r0 |
ghostscriptAlpaquita:23 |
10.0.0-r0 up to 10.01.2-r4 | 10.01.2-r4 |
ghostscriptAlpaquita:stream |
10.0.0-r0 up to 10.05.0-r0 | 10.05.0-r0 |
ghostscriptMageia:9 From an advisory covering 8 CVEs |
before 10.05.0-1.mga9 | 10.05.0-1.mga9 |
ghostscriptopenSUSE:Tumbleweed From an advisory covering 8 CVEs |
before 10.05.0-1.1 | 10.05.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-27837 is a critical vulnerability (CVSS 9.8) in Artifex Ghostscript, published March 15, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.62%, the 49th percentile. Fixed in ghostscript 10.05.0.
References
bugs.ghostscript.com/show_bug.cgi?id=708238
nvd.nist.gov/vuln/detail/CVE-2025-27837
github.com/advisories/GHSA-rmm8-wf49-vvww
security.alpinelinux.org/vuln/CVE-2025-27837
docs.bell-sw.com/security/cves/CVE-2025-27837
advisories.mageia.org/MGASA-2025-0098.html
Show 10 moreShow less
bugs.mageia.org/show_bug.cgi?id=34088
lists.opensuse.org/archives/list/[email protected]/thread/GBB65P3KU5MBN7SLCFPCDEZ3Y2ACRGXP
suse.com/security/cve/CVE-2025-27830
suse.com/security/cve/CVE-2025-27831
suse.com/security/cve/CVE-2025-27832
suse.com/security/cve/CVE-2025-27833
suse.com/security/cve/CVE-2025-27834
suse.com/security/cve/CVE-2025-27835
suse.com/security/cve/CVE-2025-27836
suse.com/security/cve/CVE-2025-27837