CVE-2024-46953

ghostscript: An issue was discovered in base/gsdevice.c in Artifex Ghostscript before10.04.0

CVE-2024-46953 is fixed in 20 products on 1 platform, first by ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18+esm3, released October 29, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0039
33rd percentile

An issue was discovered in base/gsdevice.c in Artifex Ghostscript before10.04.0. An integer overflow when parsing the filename format string (forthe output filename) results in path truncation, and possible pathtraversal and code execution.

Where it's fixed

ProductFixed inFixReleased
Linux
ghostscript · Debian 12.15 (bookworm) 10.0.0~dfsg-11+deb12u6 DEBIAN-CVE-2024-46953 Nov 10, 2024
ghostscript · Debian 13.5 (trixie) 10.04.0~dfsg-1 DEBIAN-CVE-2024-46953 Nov 10, 2024
ghostscript · Debian 14 10.04.0~dfsg-1 DEBIAN-CVE-2024-46953 Nov 10, 2024
ghostscript · RHEL 10 10.02.1-15.el10_0 RHSA-2025:7499 Nov 10, 2024
ghostscript · RHEL 8 0:9.27-16.el8_10 RHSA-2025:4362 Apr 30, 2025
ghostscript · RHEL 9 0:9.54.0-18.el9_6 RHSA-2025:7422 May 13, 2025
ghostscript · Ubuntu 18.04.6 LTS (bionic) 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 Oct 29, 2024
ghostscript · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.14 ghostscript 9.50~dfsg-5ubuntu4.14 Oct 29, 2024
ghostscript · Ubuntu 22.04.1 LTS (jammy) 9.55.0~dfsg1-0ubuntu5.10 ghostscript 9.55.0~dfsg1-0ubuntu5.10 Oct 29, 2024
ghostscript · Ubuntu 24.04.5 LTS (noble) 10.02.1~dfsg1-0ubuntu7.4 ghostscript 10.02.1~dfsg1-0ubuntu7.4 Oct 29, 2024
ghostscript · Ubuntu 24.10 (oracular) 10.03.1~dfsg1-0ubuntu2.1 ghostscript 10.03.1~dfsg1-0ubuntu2.1 Oct 30, 2024
ghostscript · almalinux 8 9.27-16.el8_10 ALSA-2025:4362 Apr 30, 2025
ghostscript · almalinux 9 9.54.0-18.el9_6 ALSA-2025:7422 May 13, 2025
ghostscript · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript · ol 10 0:10.02.1-16.el10_0 ELSA-2025-7499 Jun 30, 2025
ghostscript · ol 8 0:9.27-16.el8_10 ELSA-2025-4362 Apr 30, 2025
ghostscript · ol 9 0:9.54.0-18.el9_6 ELSA-2025-7422 May 21, 2025
ghostscript · opensuse-leap 15.6 9.52-150000.200.1 SUSE-SU-2024:3941-1 Nov 7, 2024
ghostscript · rocky 8 0:9.27-16.el8_10 RLSA-2025:4362 Jul 29, 2025
ghostscript · sles 15.6 9.52-150000.200.1 SUSE-SU-2024:3941-1 Nov 7, 2024
ghostscript-debuginfo · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-debugsource · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-doc · RHEL 8 0:9.27-16.el8_10 RHSA-2025:4362 Apr 30, 2025
ghostscript-doc · RHEL 9 0:9.54.0-18.el9_6 RHSA-2025:7422 May 13, 2025
ghostscript-doc · almalinux 8 9.27-16.el8_10 ALSA-2025:4362 Apr 30, 2025
ghostscript-doc · almalinux 9 9.54.0-18.el9_6 ALSA-2025:7422 May 13, 2025
ghostscript-doc · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-doc · ol 10 0:10.02.1-16.el10_0 ELSA-2025-7499 Jun 30, 2025
ghostscript-doc · ol 8 0:9.27-16.el8_10 ELSA-2025-4362 Apr 30, 2025
ghostscript-doc · ol 9 0:9.54.0-18.el9_6 ELSA-2025-7422 May 21, 2025
ghostscript-gtk · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-gtk-debuginfo · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-tools-dvipdf · RHEL 8 0:9.27-16.el8_10 RHSA-2025:4362 Apr 30, 2025
ghostscript-tools-dvipdf · RHEL 9 0:9.54.0-18.el9_6 RHSA-2025:7422 May 13, 2025
ghostscript-tools-dvipdf · almalinux 8 9.27-16.el8_10 ALSA-2025:4362 Apr 30, 2025
ghostscript-tools-dvipdf · almalinux 9 9.54.0-18.el9_6 ALSA-2025:7422 May 13, 2025
ghostscript-tools-dvipdf · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-tools-dvipdf · ol 10 0:10.02.1-16.el10_0 ELSA-2025-7499 Jun 30, 2025
ghostscript-tools-dvipdf · ol 8 0:9.27-16.el8_10 ELSA-2025-4362 Apr 30, 2025
ghostscript-tools-dvipdf · ol 9 0:9.54.0-18.el9_6 ELSA-2025-7422 May 21, 2025
ghostscript-tools-fonts · RHEL 8 0:9.27-16.el8_10 RHSA-2025:4362 Apr 30, 2025
ghostscript-tools-fonts · RHEL 9 0:9.54.0-18.el9_6 RHSA-2025:7422 May 13, 2025
ghostscript-tools-fonts · almalinux 8 9.27-16.el8_10 ALSA-2025:4362 Apr 30, 2025
ghostscript-tools-fonts · almalinux 9 9.54.0-18.el9_6 ALSA-2025:7422 May 13, 2025
ghostscript-tools-fonts · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-tools-fonts · ol 10 0:10.02.1-16.el10_0 ELSA-2025-7499 Jun 30, 2025
ghostscript-tools-fonts · ol 8 0:9.27-16.el8_10 ELSA-2025-4362 Apr 30, 2025
ghostscript-tools-fonts · ol 9 0:9.54.0-18.el9_6 ELSA-2025-7422 May 21, 2025
ghostscript-tools-printing · RHEL 8 0:9.27-16.el8_10 RHSA-2025:4362 Apr 30, 2025
ghostscript-tools-printing · RHEL 9 0:9.54.0-18.el9_6 RHSA-2025:7422 May 13, 2025
ghostscript-tools-printing · almalinux 8 9.27-16.el8_10 ALSA-2025:4362 Apr 30, 2025
ghostscript-tools-printing · almalinux 9 9.54.0-18.el9_6 ALSA-2025:7422 May 13, 2025
ghostscript-tools-printing · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-tools-printing · ol 10 0:10.02.1-16.el10_0 ELSA-2025-7499 Jun 30, 2025
ghostscript-tools-printing · ol 8 0:9.27-16.el8_10 ELSA-2025-4362 Apr 30, 2025
ghostscript-tools-printing · ol 9 0:9.54.0-18.el9_6 ELSA-2025-7422 May 21, 2025
ghostscript-x · Ubuntu 18.04.6 LTS (bionic) 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 ghostscript-x 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 Oct 29, 2024
ghostscript-x · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.14 ghostscript-x 9.50~dfsg-5ubuntu4.14 Oct 29, 2024
ghostscript-x · Ubuntu 22.04.1 LTS (jammy) 9.55.0~dfsg1-0ubuntu5.10 ghostscript-x 9.55.0~dfsg1-0ubuntu5.10 Oct 29, 2024
ghostscript-x11 · RHEL 8 0:9.27-16.el8_10 RHSA-2025:4362 Apr 30, 2025
ghostscript-x11 · RHEL 9 0:9.54.0-18.el9_6 RHSA-2025:7422 May 13, 2025
ghostscript-x11 · almalinux 8 9.27-16.el8_10 ALSA-2025:4362 Apr 30, 2025
ghostscript-x11 · almalinux 9 9.54.0-18.el9_6 ALSA-2025:7422 May 13, 2025
ghostscript-x11 · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
ghostscript-x11 · ol 8 0:9.27-16.el8_10 ELSA-2025-4362 Apr 30, 2025
ghostscript-x11 · ol 9 0:9.54.0-18.el9_6 ELSA-2025-7422 May 21, 2025
ghostscript-x11-debuginfo · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
libgs · RHEL 8 0:9.27-16.el8_10 RHSA-2025:4362 Apr 30, 2025
libgs · RHEL 9 0:9.54.0-18.el9_6 RHSA-2025:7422 May 13, 2025
libgs · almalinux 8 9.27-16.el8_10 ALSA-2025:4362 Apr 30, 2025
libgs · almalinux 9 9.54.0-18.el9_6 ALSA-2025:7422 May 13, 2025
libgs · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
libgs · ol 10 0:10.02.1-16.el10_0 ELSA-2025-7499 Jun 30, 2025
libgs · ol 8 0:9.27-16.el8_10 ELSA-2025-4362 Apr 30, 2025
libgs · ol 9 0:9.54.0-18.el9_6 ELSA-2025-7422 May 21, 2025
libgs-common · Ubuntu 24.04.5 LTS (noble) 10.02.1~dfsg1-0ubuntu7.4 libgs-common 10.02.1~dfsg1-0ubuntu7.4 Oct 29, 2024
libgs-common · Ubuntu 24.10 (oracular) 10.03.1~dfsg1-0ubuntu2.1 libgs-common 10.03.1~dfsg1-0ubuntu2.1 Oct 30, 2024
libgs-debuginfo · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
libgs-devel · RHEL 8 0:9.27-16.el8_10 RHSA-2025:4362 Apr 30, 2025
libgs-devel · RHEL 9 0:9.54.0-18.el9_6 RHSA-2025:7422 May 13, 2025
libgs-devel · almalinux 8 9.27-16.el8_10 ALSA-2025:4362 Apr 30, 2025
libgs-devel · almalinux 9 9.54.0-18.el9_6 ALSA-2025:7422 May 13, 2025
libgs-devel · amzn 2023 9.56.1-7.amzn2023.0.11 ALAS2023-2024-774 Dec 5, 2024
libgs-devel · ol 10 0:10.02.1-16.el10_0 ELSA-2025-7499 Jun 30, 2025
libgs-devel · ol 8 0:9.27-16.el8_10 ELSA-2025-4362 Apr 30, 2025
libgs-devel · ol 9 0:9.54.0-18.el9_6 ELSA-2025-7422 May 21, 2025
libgs10 · Ubuntu 24.04.5 LTS (noble) 10.02.1~dfsg1-0ubuntu7.4 libgs10 10.02.1~dfsg1-0ubuntu7.4 Oct 29, 2024
libgs10 · Ubuntu 24.10 (oracular) 10.03.1~dfsg1-0ubuntu2.1 libgs10 10.03.1~dfsg1-0ubuntu2.1 Oct 30, 2024
libgs10-common · Ubuntu 24.04.5 LTS (noble) 10.02.1~dfsg1-0ubuntu7.4 libgs10-common 10.02.1~dfsg1-0ubuntu7.4 Oct 29, 2024
libgs10-common · Ubuntu 24.10 (oracular) 10.03.1~dfsg1-0ubuntu2.1 libgs10-common 10.03.1~dfsg1-0ubuntu2.1 Oct 30, 2024
libgs9 · Ubuntu 18.04.6 LTS (bionic) 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 libgs9 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 Oct 29, 2024
libgs9 · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.14 libgs9 9.50~dfsg-5ubuntu4.14 Oct 29, 2024
libgs9 · Ubuntu 22.04.1 LTS (jammy) 9.55.0~dfsg1-0ubuntu5.10 libgs9 9.55.0~dfsg1-0ubuntu5.10 Oct 29, 2024
libgs9-common · Ubuntu 18.04.6 LTS (bionic) 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 libgs9-common 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 Oct 29, 2024
libgs9-common · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.14 libgs9-common 9.50~dfsg-5ubuntu4.14 Oct 29, 2024
libgs9-common · Ubuntu 22.04.1 LTS (jammy) 9.55.0~dfsg1-0ubuntu5.10 libgs9-common 9.55.0~dfsg1-0ubuntu5.10 Oct 29, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.