CVE-2024-29510
Artifex Ghostscript before 10.03.1 allows memory corruption, and SAFER sandbox bypass, via format string injection with a uniprint device.
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.1 | UBUNTU-CVE-2024-29510 |
| Ubuntu 22.04 | ghostscript | Fixed | 9.55.0~dfsg1-0ubuntu5.7 | UBUNTU-CVE-2024-29510 |
| Ubuntu 20.04 | ghostscript | Fixed | 9.50~dfsg-5ubuntu4.12 | UBUNTU-CVE-2024-29510 |
| Debian 14 | ghostscript | Fixed | 10.03.1~dfsg~git20240518-1 | DEBIAN-CVE-2024-29510 |
| Debian 13 | ghostscript | Fixed | 10.03.1~dfsg~git20240518-1 | DEBIAN-CVE-2024-29510 |
| Debian 12 | ghostscript | Fixed | 10.0.0~dfsg-11+deb12u4 | DEBIAN-CVE-2024-29510 |
| Red Hat Enterprise Linux 10 | ghostscript | Not affected | ||
| Red Hat Enterprise Linux 10 | ghostscript-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | ghostscript-tools-dvipdf | Not affected | ||
| Red Hat Enterprise Linux 10 | ghostscript-tools-fonts | Not affected | ||
| Red Hat Enterprise Linux 10 | ghostscript-tools-printing | Not affected | ||
| Red Hat Enterprise Linux 10 | libgs | Not affected | ||
| Red Hat Enterprise Linux 10 | libgs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | ghostscript | Fixed | 0:9.54.0-17.el9_4 | RHSA-2024:6197 |
| Red Hat Enterprise Linux 9 | ghostscript-doc | Fixed | 0:9.54.0-17.el9_4 | RHSA-2024:6197 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-dvipdf | Fixed | 0:9.54.0-17.el9_4 | RHSA-2024:6197 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-fonts | Fixed | 0:9.54.0-17.el9_4 | RHSA-2024:6197 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-printing | Fixed | 0:9.54.0-17.el9_4 | RHSA-2024:6197 |
| Red Hat Enterprise Linux 9 | ghostscript-x11 | Fixed | 0:9.54.0-17.el9_4 | RHSA-2024:6197 |
| Red Hat Enterprise Linux 9 | libgs | Fixed | 0:9.54.0-17.el9_4 | RHSA-2024:6197 |
| Red Hat Enterprise Linux 9 | libgs-devel | Fixed | 0:9.54.0-17.el9_4 | RHSA-2024:6197 |
| Red Hat Enterprise Linux 8 | ghostscript | Not affected | ||
| Red Hat Enterprise Linux 8 | ghostscript-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | ghostscript-tools-dvipdf | Not affected | ||
| Red Hat Enterprise Linux 8 | ghostscript-tools-fonts | Not affected | ||
| Red Hat Enterprise Linux 8 | ghostscript-tools-printing | Not affected | ||
| Red Hat Enterprise Linux 8 | ghostscript-x11 | Not affected | ||
| Red Hat Enterprise Linux 8 | libgs | Not affected | ||
| Red Hat Enterprise Linux 8 | libgs-devel | Not affected | ||
| 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 | ||
| Red Hat Enterprise Linux 6 | ghostscript | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ghostscript-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ghostscript-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ghostscript-gtk | Will not fix Out of support scope | ||
| AlmaLinux 9 | ghostscript | Fixed | 9.54.0-17.el9_4 | ALSA-2024:6197 |
| AlmaLinux 9 | ghostscript-doc | Fixed | 9.54.0-17.el9_4 | ALSA-2024:6197 |
| AlmaLinux 9 | ghostscript-tools-dvipdf | Fixed | 9.54.0-17.el9_4 | ALSA-2024:6197 |
| AlmaLinux 9 | ghostscript-tools-fonts | Fixed | 9.54.0-17.el9_4 | ALSA-2024:6197 |
| AlmaLinux 9 | ghostscript-tools-printing | Fixed | 9.54.0-17.el9_4 | ALSA-2024:6197 |
| AlmaLinux 9 | ghostscript-x11 | Fixed | 9.54.0-17.el9_4 | ALSA-2024:6197 |
| AlmaLinux 9 | libgs | Fixed | 9.54.0-17.el9_4 | ALSA-2024:6197 |
| AlmaLinux 9 | libgs-devel | Fixed | 9.54.0-17.el9_4 | ALSA-2024:6197 |
| Rocky Linux 9 | ghostscript | Fixed | 0:9.54.0-17.el9_4 | RLSA-2024:6197 |
| Alpine Linux 3.24 | ghostscript | Fixed | 10.03.1-r0 | ALPINE-CVE-2024-29510 |
| Alpine Linux 3.23 | ghostscript | Fixed | 10.03.1-r0 | ALPINE-CVE-2024-29510 |
| Alpine Linux 3.22 | ghostscript | Fixed | 10.03.1-r0 | ALPINE-CVE-2024-29510 |
| Alpine Linux 3.21 | ghostscript | Fixed | 10.03.1-r0 | ALPINE-CVE-2024-29510 |
| Alpine Linux 3.20 | ghostscript | Fixed | 10.03.1-r0 | ALPINE-CVE-2024-29510 |
| Alpine Linux 3.19 | ghostscript | Fixed | 10.03.1-r0 | ALPINE-CVE-2024-29510 |
| Alpine Linux 3.18 | ghostscript | Fixed | 10.04.0-r0 | ALPINE-CVE-2024-29510 |
References
- https://bugs.ghostscript.com/show_bug.cgi?id=707662
- https://www.openwall.com/lists/oss-security/2024/07/03/7
- https://codeanlabs.com/blog/research/cve-2024-29510-ghostscript-format-string-exploitation/
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.