Skip to content
OpenAdvisories
Critical · 9.8 CVE-2025-27831 EUVD-2025-8087GHSA-x74r-f89v-3jw9

An issue was discovered in Artifex Ghostscript before 10.05.0. The DOCXWRITE TXTWRITE device has a text buffer overflow via long characters…

Published Mar 25, 2025 · Updated Nov 3, 2025 · Assigned by mitre

Description

An issue was discovered in Artifex Ghostscript before 10.05.0. The DOCXWRITE TXTWRITE device has a text buffer overflow via long characters to devices/vector/doc_common.c.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 10.05.0~dfsg-1 —
Debian 13 ghostscript 10.05.0~dfsg-1 —
Debian 12 ghostscript 10.0.0~dfsg-11+deb12u7 DSA-5888-1
Debian 11 ghostscript 9.53.3~dfsg-7+deb11u10 DLA-4118-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS ghostscript 10.02.1~dfsg1-0ubuntu7.5 USN-7378-1
Ubuntu 22.04 LTS ghostscript 9.55.0~dfsg1-0ubuntu5.11 USN-7378-1
Ubuntu 20.04 LTS ghostscript 9.50~dfsg-5ubuntu4.15 USN-7378-1
ReleasePackageFixed inAdvisory
SLES 15 SP6 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLES 15 SP5 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLES 15 SP4 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLES 15 SP3 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLES 12 SP5 ghostscript 9.52-23.89.1 SUSE-SU-2025:1118-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLES for SAP 15 SP4 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLES for SAP 15 SP3 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLE HPC 15 SP5 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLE HPC 15 SP4 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SLE HPC 15 SP3 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SUSE Manager Server 4.3 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SUSE Manager Proxy 4.3 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
SUSE Enterprise Storage 7.1 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 10.05.0-1.1 openSUSE-SU-2025:14953-1
openSUSE Leap 15.6 ghostscript 9.52-150000.203.1 SUSE-SU-2025:1127-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ghostscript 10.05.0-r0 —
Alpine v3.23 ghostscript 10.05.0-r0 —
Alpine v3.22 ghostscript 10.05.0-r0 —
Alpine v3.21 ghostscript 10.05.0-r0 —
Alpine v3.20 ghostscript 10.05.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 ghostscript 10.05.0-r0 —
Alpine v3.18 ghostscript 10.05.0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libgs +8 9.56.1-7.amzn2023.0.15 ALAS2023-2025-908
Amazon Linux 2 libgs +5 9.54.0-9.amzn2.0.9 ALAS2-2025-2805

Advisories 9

References