CVE-2024-46951
An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. An unchecked Implementation pointer in Pattern color space could lead to arbitrary code execution.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | ghostscript | Fixed | 10.02.1~dfsg1-0ubuntu7.4 | UBUNTU-CVE-2024-46951 |
| Ubuntu 22.04 | ghostscript | Fixed | 9.55.0~dfsg1-0ubuntu5.10 | UBUNTU-CVE-2024-46951 |
| Ubuntu 20.04 | ghostscript | Fixed | 9.50~dfsg-5ubuntu4.14 | UBUNTU-CVE-2024-46951 |
| Ubuntu 18.04 | ghostscript | Fix pending | 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 (Ubuntu Pro) | UBUNTU-CVE-2024-46951 |
| Ubuntu 16.04 | ghostscript | Fix pending | 9.26~dfsg+0-0ubuntu0.16.04.14+esm8 (Ubuntu Pro) | UBUNTU-CVE-2024-46951 |
| Debian 14 | ghostscript | Fixed | 10.04.0~dfsg-1 | DEBIAN-CVE-2024-46951 |
| Debian 13 | ghostscript | Fixed | 10.04.0~dfsg-1 | DEBIAN-CVE-2024-46951 |
| Debian 12 | ghostscript | Fixed | 10.0.0~dfsg-11+deb12u6 | DEBIAN-CVE-2024-46951 |
| Red Hat Enterprise Linux 10 | ghostscript | Fixed | 0:10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux 10 | ghostscript-doc | Fixed | 0:10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux 10 | ghostscript-tools-dvipdf | Fixed | 0:10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux 10 | ghostscript-tools-fonts | Fixed | 0:10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux 10 | ghostscript-tools-printing | Fixed | 0:10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux 10 | libgs | Fixed | 0:10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux 10 | libgs-devel | Fixed | 0:10.02.1-15.el10_0 | RHSA-2025:7499 |
| Red Hat Enterprise Linux 9 | ghostscript | Fixed | 0:9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux 9 | ghostscript-doc | Fixed | 0:9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-dvipdf | Fixed | 0:9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-fonts | Fixed | 0:9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-printing | Fixed | 0:9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux 9 | ghostscript-x11 | Fixed | 0:9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux 9 | libgs | Fixed | 0:9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux 9 | libgs-devel | Fixed | 0:9.54.0-18.el9_6 | RHSA-2025:7422 |
| Red Hat Enterprise Linux 8 | ghostscript | Fixed Will not fix | 0:9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux 8 | ghostscript-doc | Fixed Will not fix | 0:9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-dvipdf | Fixed Will not fix | 0:9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-fonts | Fixed Will not fix | 0:9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-printing | Fixed Will not fix | 0:9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux 8 | ghostscript-x11 | Fixed Will not fix | 0:9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux 8 | libgs | Fixed Will not fix | 0:9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux 8 | libgs-devel | Fixed Will not fix | 0:9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux 7 | ghostscript | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ghostscript-cups | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ghostscript-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ghostscript-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ghostscript-gtk | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libgs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libgs-devel | Will not fix Out of support scope | ||
| AlmaLinux 9 | ghostscript | Fixed | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 9 | ghostscript-doc | Fixed | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 9 | ghostscript-tools-dvipdf | Fixed | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 9 | ghostscript-tools-fonts | Fixed | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 9 | ghostscript-tools-printing | Fixed | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 9 | ghostscript-x11 | Fixed | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 9 | libgs | Fixed | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 9 | libgs-devel | Fixed | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 8 | ghostscript | Fixed | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux 8 | ghostscript-doc | Fixed | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux 8 | ghostscript-tools-dvipdf | Fixed | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux 8 | ghostscript-tools-fonts | Fixed | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux 8 | ghostscript-tools-printing | Fixed | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux 8 | ghostscript-x11 | Fixed | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux 8 | libgs | Fixed | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux 8 | libgs-devel | Fixed | 9.27-16.el8_10 | ALSA-2025:4362 |
| Rocky Linux 8 | ghostscript | Fixed | 0:9.27-16.el8_10 | RLSA-2025:4362 |
| Alpine Linux 3.24 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46951 |
| Alpine Linux 3.23 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46951 |
| Alpine Linux 3.22 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46951 |
| Alpine Linux 3.21 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46951 |
| Alpine Linux 3.20 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46951 |
| Alpine Linux 3.19 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46951 |
| Alpine Linux 3.18 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46951 |
References
- https://bugs.ghostscript.com/show_bug.cgi?id=707991
- https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=f49812186baa7d1362880673408a6fbe8719b4f8
- https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/
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.