Skip to content
Fencer Vulns
medium 6.3

CVE-2024-29510 json

Artifex Ghostscript before 10.03.1 allows memory corruption, and SAFER sandbox bypass, via format string injection with a uniprint device.

published 2024-07-03 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-26513

cvss
6.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
28.0%
EPSS 28.0% chance of exploitation in 30 days, percentile 98%
public exploits
1
Metasploit

Summary

Artifex Ghostscript before 10.03.1 allows memory corruption, and SAFER sandbox bypass, via format string injection with a uniprint device.

Patch / fix

  • ghostscript ghostscript 10.03.0
  • ghostscript Debian 12 10.0.0~dfsg-11+deb12u4
  • ghostscript Debian 14, Debian 13 10.03.1~dfsg~git20240518-1

debian advisories DEBIAN-CVE-2024-29510

  • ghostscript Ubuntu 20.04 LTS 9.50~dfsg-5ubuntu4.12
  • ghostscript Ubuntu 22.04 LTS 9.55.0~dfsg1-0ubuntu5.7
  • ghostscript Ubuntu 24.04 LTS 10.02.1~dfsg1-0ubuntu7.1

ubuntu advisories UBUNTU-CVE-2024-29510

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ghostscript RHEL 9 9.54.0-17.el9_4
  • libgs RHEL 9 9.54.0-17.el9_4
  • ghostscript-x11 RHEL 9 9.54.0-17.el9_4
  • ghostscript-tools-fonts RHEL 9 9.54.0-17.el9_4
  • ghostscript-tools-dvipdf RHEL 9 9.54.0-17.el9_4
  • ghostscript-tools-printing RHEL 9 9.54.0-17.el9_4
  • ghostscript RHEL 9.2 EUS 9.54.0-12.el9_2.2
  • libgs RHEL 9.2 EUS 9.54.0-12.el9_2.2

red hat advisories RHSA-2024:6466RHSA-2024:6197

  • ghostscript SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +14 more 9.52-150000.194.1
  • ghostscript SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 9.52-23.80.1

suse advisories SUSE-SU-2024:2292-1SUSE-SU-2024:2276-1

  • ghostscript openSUSE Tumbleweed 10.03.1-1.1

opensuse advisories openSUSE-SU-2024:14090-1

  • ghostscript AlmaLinux 9 9.54.0-17.el9_4
  • libgs AlmaLinux 9 9.54.0-17.el9_4
  • ghostscript-x11 AlmaLinux 9 9.54.0-17.el9_4
  • ghostscript-tools-fonts AlmaLinux 9 9.54.0-17.el9_4
  • ghostscript-tools-dvipdf AlmaLinux 9 9.54.0-17.el9_4
  • ghostscript-tools-printing AlmaLinux 9 9.54.0-17.el9_4

almalinux advisories ALSA-2024:6197

  • ghostscript Rocky Linux 9 9.54.0-17.el9_4

rocky linux advisories RLSA-2024:6197

  • ghostscript Alpine 3.18 10.04.0-r0
  • ghostscript Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 10.03.1-r0

alpine advisories ALPINE-CVE-2024-29510

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-29510 updated cvss 5.5

ghostscript: format string injection leads to shell command execution (SAFER bypass)

  • Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cups
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing
    affected: workaround, no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder EUS (v.9.2) ghostscript 9.54.0-12.el9_2.2, ghostscript-tools-fonts 9.54.0-12.el9_2.2, ghostscript-tools-printing 9.54.0-12.el9_2.2
    fixed: vendor fix RHSA-2024:6466
  • Red Hat Enterprise Linux AppStream (v. 9) libgs 9.54.0-17.el9_4, ghostscript 9.54.0-17.el9_4, ghostscript-x11 9.54.0-17.el9_4, ghostscript-tools-fonts 9.54.0-17.el9_4, ghostscript-tools-dvipdf 9.54.0-17.el9_4, ghostscript-tools-printing 9.54.0-17.el9_4
    fixed: vendor fix RHSA-2024:6197
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) libgs 9.54.0-12.el9_2.2, ghostscript 9.54.0-12.el9_2.2, ghostscript-x11 9.54.0-12.el9_2.2, ghostscript-tools-fonts 9.54.0-12.el9_2.2, ghostscript-tools-dvipdf 9.54.0-12.el9_2.2, ghostscript-tools-printing 9.54.0-12.el9_2.2
    fixed: vendor fix RHSA-2024:6466
  • Red Hat Enterprise Linux CRB (v. 9) ghostscript 9.54.0-17.el9_4, ghostscript-tools-fonts 9.54.0-17.el9_4, ghostscript-tools-printing 9.54.0-17.el9_4
    fixed: vendor fix RHSA-2024:6197
  • Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing Red Hat Enterprise Linux 10 ghostscript
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/multi/fileformat/ghostscript_format_string_cve_2024_29510)
  2. Published

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

27.97% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CNA 3.1 6.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected products

  • ghostscript ghostscript

Classification

Weakness
  • CWE-693 Protection Mechanism Failure

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.