Skip to content
OpenAdvisories
High · 7.8 CVE-2024-46956 EUVD-2024-42159GHSA-jrvf-vccr-mvp6

An issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenameforall can lead to arbit…

Published Nov 10, 2024 · Updated Nov 3, 2025 · Assigned by mitre

Description

An issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenameforall can lead to arbitrary code execution.

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.04.0~dfsg-1 —
Debian 13 ghostscript 10.04.0~dfsg-1 —
Debian 12 ghostscript 10.0.0~dfsg-11+deb12u6 DSA-5808-1
Debian 11 ghostscript 9.53.3~dfsg-7+deb11u9 DLA-3965-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS ghostscript 10.02.1~dfsg1-0ubuntu7.4 USN-7103-1
Ubuntu 22.04 LTS ghostscript 9.55.0~dfsg1-0ubuntu5.10 USN-7103-1
Ubuntu 20.04 LTS ghostscript 9.50~dfsg-5ubuntu4.14 USN-7103-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 USN-7138-1
Ubuntu Pro 16.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm8 USN-7138-1
ReleasePackageFixed inAdvisory
RHEL 10 libgs +6 10.02.1-15.el10_0 RHSA-2025:7499
RHEL 9 libgs +7 9.54.0-18.el9_6 RHSA-2025:7422
RHEL 8 libgs +7 9.27-16.el8_10 RHSA-2025:4362

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libgs +7 9.54.0-18.el9_6 ALSA-2025:7422
AlmaLinux 8 libgs +7 9.27-16.el8_10 ALSA-2025:4362

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 ghostscript 9.27-16.el8_10 RLSA-2025:4362
ReleasePackageFixed inAdvisory
SLES 15 SP6 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLES 15 SP5 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLES 15 SP4 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLES 15 SP3 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLES 15 SP2 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 ghostscript 9.52-23.86.1 SUSE-SU-2024:3942-1
SLES for SAP 15 SP4 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLES for SAP 15 SP3 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLES for SAP 15 SP2 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLE HPC 15 SP4 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLE HPC 15 SP3 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SLE HPC 15 SP2 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SUSE Manager Server 4.3 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SUSE Manager Proxy 4.3 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
SUSE Enterprise Storage 7.1 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 10.04.0-1.1 openSUSE-SU-2024:14423-1
openSUSE Leap 15.6 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
openSUSE Leap 15.5 ghostscript 9.52-150000.200.1 SUSE-SU-2024:3941-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ghostscript 10.04.0-r0 —
Alpine v3.23 ghostscript 10.04.0-r0 —
Alpine v3.22 ghostscript 10.04.0-r0 —
Alpine v3.21 ghostscript 10.04.0-r0 —
Alpine v3.20 ghostscript 10.04.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 ghostscript 10.04.0-r0 —
Alpine v3.18 ghostscript 10.04.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libgs +8 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774
Amazon Linux 2 libgs +5 9.54.0-9.amzn2.0.7 ALAS2-2024-2708

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libgs +6 10.02.1-16.el10_0 ELSA-2025-7499
Oracle Linux 9 libgs +7 9.54.0-18.el9_6 ELSA-2025-7422
Oracle Linux 8 libgs +7 9.27-16.el8_10 ELSA-2025-4362

Advisories 20

References