CVEfocus › CVE database › CVE-2025-27837

CVE-2025-27837

CVSS 9.8 CriticalEPSS 1.0% (higher than 61% of CVEs)Published 2025-03-25Updated 2026-06-23Assigner: mitre

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.

CWE-22

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
36Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 22.04ghostscriptNot affected
vulnerable_code_not_present
Red Hat Enterprise Linux 10ghostscriptNot affected
Red Hat Enterprise Linux 10ghostscript-docNot affected
Red Hat Enterprise Linux 10ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 10ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 10ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 10libgsNot affected
Red Hat Enterprise Linux 10libgs-develNot affected
Red Hat Enterprise Linux 9ghostscriptNot affected
Red Hat Enterprise Linux 9ghostscript-docNot affected
Red Hat Enterprise Linux 9ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 9ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 9ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 9ghostscript-x11Not affected
Red Hat Enterprise Linux 9libgsNot affected
Red Hat Enterprise Linux 9libgs-develNot affected
Red Hat Enterprise Linux 8ghostscriptNot affected
Red Hat Enterprise Linux 8ghostscript-docNot affected
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 8ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 8ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 8ghostscript-x11Not affected
Red Hat Enterprise Linux 8libgsNot affected
Red Hat Enterprise Linux 8libgs-develNot affected
Red Hat Enterprise Linux 7ghostscriptNot affected
Red Hat Enterprise Linux 7ghostscript-cupsNot affected
Red Hat Enterprise Linux 7ghostscript-develNot affected
Red Hat Enterprise Linux 7ghostscript-docNot affected
Red Hat Enterprise Linux 7ghostscript-gtkNot affected
Red Hat Enterprise Linux 7libgsNot affected
Red Hat Enterprise Linux 7libgs-develNot affected
Red Hat Enterprise Linux 6ghostscriptNot affected
Red Hat Enterprise Linux 6ghostscript-develNot affected
Red Hat Enterprise Linux 6ghostscript-docNot affected
Red Hat Enterprise Linux 6ghostscript-gtkNot affected
Alpine Linux 3.24ghostscriptFixed10.05.0-r0ALPINE-CVE-2025-27837
Alpine Linux 3.23ghostscriptFixed10.05.0-r0ALPINE-CVE-2025-27837
Alpine Linux 3.22ghostscriptFixed10.05.0-r0ALPINE-CVE-2025-27837
Alpine Linux 3.21ghostscriptFixed10.05.0-r0ALPINE-CVE-2025-27837
Alpine Linux 3.20ghostscriptFixed10.05.0-r0ALPINE-CVE-2025-27837
Alpine Linux 3.19ghostscriptFixed10.05.0-r0ALPINE-CVE-2025-27837
Alpine Linux 3.18ghostscriptFixed10.05.0ALPINE-CVE-2025-27837

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.