CVE-2024-46952
An issue was discovered in pdf/pdf_xref.c in Artifex Ghostscript before 10.04.0. There is a buffer overflow during handling of a PDF XRef stream (related to W array values).
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.
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-46952 |
| Ubuntu 22.04 | ghostscript | Fixed | 9.55.0~dfsg1-0ubuntu5.10 | UBUNTU-CVE-2024-46952 |
| Debian 14 | ghostscript | Fixed | 10.04.0~dfsg-1 | DEBIAN-CVE-2024-46952 |
| Debian 13 | ghostscript | Fixed | 10.04.0~dfsg-1 | DEBIAN-CVE-2024-46952 |
| Debian 12 | ghostscript | Fixed | 10.0.0~dfsg-11+deb12u6 | DEBIAN-CVE-2024-46952 |
| 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-46952 |
| Alpine Linux 3.23 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46952 |
| Alpine Linux 3.22 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46952 |
| Alpine Linux 3.21 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46952 |
| Alpine Linux 3.20 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46952 |
| Alpine Linux 3.19 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46952 |
| Alpine Linux 3.18 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-46952 |
References
- https://bugs.ghostscript.com/show_bug.cgi?id=708001
- https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=b1f0827c30f59a2dcbc8a39e42cace7a1de35f7f
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.