Skip to main content
Public proof of conceptFix available

CVE-2024-29510

A public proof of concept exists; no exploitation attested.

  • Published2024-07-03
  • Fixed in10.03.0
  • WeaknessCWE-693

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2024-07-0319:15CVE publishedNVD
  2. 2026-12-0204:55EPSS crossed 10 %FIRST EPSS

Versions per branch

CISA-ADP · NVD
Ghostscript
BranchAffectedFixed in
10.3< 10.03.010.03.0
Artifex ghostscript
BranchAffectedFixed in
10.3< 10.03.110.03.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ghostscriptWolfiall versions · fixed in 10.03.1-r0
  • ghostscriptUbuntu:24.04:LTSall versions · fixed in 10.02.1~dfsg1-0ubuntu7.1
  • ghostscriptUbuntu:22.04:LTSall versions · fixed in 9.55.0~dfsg1-0ubuntu5.7
  • ghostscriptUbuntu:20.04:LTSall versions · fixed in 9.50~dfsg-5ubuntu4.12
  • ghostscriptTuxCare:Debian:10all versions · fixed in 9.27~dfsg-2+deb10u9+tuxcare.els1and 5 other packages
  • ghostscriptTuxCare:AlmaLinux:9.2all versions · fixed in 9.54.0-11.el9_2.tuxcare.els2and 8 other packages
  • ghostscriptSUSE:Manager Server 4.3all versions · fixed in 9.52-150000.194.1
  • ghostscriptSUSE:Manager Proxy 4.3all versions · fixed in 9.52-150000.194.1

45 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-29510 Red Hat Product Security170 products fixed · 22 known affected

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

    ghostscript as a component of Red Hat Enterprise Linux 6 · ghostscript-devel as a component of Red Hat Enterprise Linux 6 · ghostscript-doc as a component of Red Hat Enterprise Linux 6 · +19 more

  • RHSA-2024:6466 Red Hat Product Security85 products fixed

    Red Hat Security Advisory: ghostscript security update

  • RHSA-2024:6197 Red Hat Product Security85 products fixed

    Red Hat Security Advisory: ghostscript security update

Full record on NVD

Fix

  1. Update Ghostscript to 10.03.0
  2. Vendor fix Red Hat Product Security RHSA-2024:6466 · 85 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHSA-2024:6466 · 85 productsPassing the -dSAFER safety argument on the command line prevents the issue by locking security-related variables after Ghostscript's initialization. In RHEL 9, -dSAFER is enabled by default, ensuring that insecure commands are rejected in a safer environment. The versions of Ghostscript in RHEL 7 a…
  4. No fix planned, says the vendor Red Hat Product Security CVE-2024-29510 · 13 productsOut of support scope
  5. No fix planned, says the vendor Red Hat Product Security CVE-2024-29510 · 9 productsWill not fix

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
1 moduleexploit/multi/fileformat/ghostscript_format_string_cve_2024_29510rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Published
2024-07-03
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-r824-gq56-gjgx

Frequently asked questions

What is CVE-2024-29510?

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

Is CVE-2024-29510 actively exploited?

A proof-of-concept exploit exists for CVE-2024-29510, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-29510?

CVE-2024-29510 has a CVSS v3 base score of 6.3 (Medium severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.

Running ghostscript? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record