
CVE catalog
CVE-2024-29510
Ghostscript vulnerabilities
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 27.97% · Oct 25, 2026
A flaw in Ghostscript has been identified where the uniprint device allows users to pass various string fragments as device options. These strings, particularly upWriteComponentCommands and upYMoveCommand, are treated as format strings for gp_fprintf and gs_snprintf. This lack of restriction permits arbitrary format strings with multiple specifiers, potentially leading to data leakage from the stack and memory corruption. In RHEL 9 or newer, an attacker could exploit this vulnerability to temporarily disable Ghostscript’s SAFER mode, which prevents Postscript code from executing commands or opening arbitrary files during the current invocation. ghostscript: format string injection leads to shell command execution (SAFER bypass) The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ghostscript | sid | 10.08.0~dfsg-2 | fixed |
| Debian | ghostscript | forky | 10.08.0~dfsg-2 | fixed |
| Debian | ghostscript | trixie | 10.05.1~dfsg-1+deb13u1 | fixed |
| Debian | ghostscript | trixie-security | 10.05.1~dfsg-1+deb13u3 | fixed |
| Debian | ghostscript | bookworm | 10.0.0~dfsg-11+deb12u8 | fixed |
| Debian | ghostscript | bookworm-security | 10.0.0~dfsg-11+deb12u8 | fixed |
| Ubuntu | ghostscript | noble | 10.0.0~dfsg-11+deb12u4 | fixed |
| Ubuntu | ghostscript | noble | 10.02.1~dfsg1-0ubuntu7.1 | fixed |
| Ubuntu | ghostscript-doc | noble | 10.02.1~dfsg1-0ubuntu7.1 | fixed |
| Ubuntu | libgs-common | noble | 10.02.1~dfsg1-0ubuntu7.1 | fixed |
| Ubuntu | libgs-dev | noble | 10.02.1~dfsg1-0ubuntu7.1 | fixed |
| Ubuntu | libgs10 | noble | 10.02.1~dfsg1-0ubuntu7.1 | fixed |
| Ubuntu | libgs10-common | noble | 10.02.1~dfsg1-0ubuntu7.1 | fixed |
| Alpine | ghostscript | 3.18 | 10.04.0-r0 | fixed |
| Alpine | ghostscript | 3.19 | 10.03.1-r0 | fixed |
| Alpine | ghostscript | 3.20 | 10.03.1-r0 | fixed |
| Alpine | ghostscript | 3.21 | 10.03.1-r0 | fixed |
| Alpine | ghostscript | 3.22 | 10.03.1-r0 | fixed |
| Alpine | ghostscript | 3.23 | 10.03.1-r0 | fixed |
| Ubuntu | ghostscript | 20.04 | 9.27~dfsg+0-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.27~dfsg+0-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu1 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.1 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.2 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.5 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.6 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.7 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.8 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.9 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.10 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.11 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.12 | fixed |
| Ubuntu | ghostscript | 22.04 | 9.54.0~dfsg1-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.1 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.2 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.3 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.4 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.5 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.6 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.7 | fixed |
| Ubuntu | ghostscript | 24.04 | 10.01.2~dfsg1-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 24.04 | 10.01.2~dfsg1-0ubuntu2.1 | vulnerable |
| Ubuntu | ghostscript | 24.04 | 10.02.1~dfsg1-0ubuntu1 | vulnerable |
| Ubuntu | ghostscript | 24.04 | 10.02.1~dfsg1-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 24.04 | 10.02.1~dfsg1-0ubuntu5 | vulnerable |
| Ubuntu | ghostscript | 24.04 | 10.02.1~dfsg1-0ubuntu6 | vulnerable |
| Ubuntu | ghostscript | 24.04 | 10.02.1~dfsg1-0ubuntu7 | vulnerable |
| Ubuntu | ghostscript | 24.04 | 10.02.1~dfsg1-0ubuntu7.1 | fixed |
| Suse | ghostscript | linux enterprise software development kit 12 sp5 | 9.52-23.80.1 | fixed |
| Suse | ghostscript | linux enterprise server 12 sp5 | 9.52-23.80.1 | fixed |
| Suse | ghostscript | linux enterprise server for sap applications 12 sp5 | 9.52-23.80.1 | fixed |
| Suse | ghostscript | linux enterprise module for basesystem 15 sp5 | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise module for basesystem 15 sp6 | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise high performance computing 15 sp2-ltss | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise high performance computing 15 sp3-ltss | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise high performance computing 15 sp4-espos | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise high performance computing 15 sp4-ltss | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise server 15 sp2-ltss | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise server 15 sp3-ltss | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise server 15 sp4-ltss | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise server for sap applications 15 sp2 | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise server for sap applications 15 sp3 | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | linux enterprise server for sap applications 15 sp4 | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | manager proxy 4.3 | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | manager server 4.3 | 9.52-150000.194.1 | fixed |
| Suse | ghostscript | enterprise storage 7.1 | 9.52-150000.194.1 | fixed |
| Opensuse | ghostscript | leap 15.5 | 9.52-150000.194.1 | fixed |
| Opensuse | ghostscript | leap 15.6 | 9.52-150000.194.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ghostscript | source | sid | 10.03.1~dfsg~git20240518-1 | not yet assigned | Not reported | Not reported |
| Debian | ghostscript | source | forky | 10.03.1~dfsg~git20240518-1 | not yet assigned | Not reported | Not reported |
| Debian | ghostscript | source | trixie | 10.03.1~dfsg~git20240518-1 | not yet assigned | Not reported | Not reported |
| Debian | ghostscript | source | bookworm | 10.0.0~dfsg-11+deb12u4 | not yet assigned | Not reported | Not reported |
| Ubuntu | ghostscript | deb | noble | 10.0.0~dfsg-11+deb12u4 | Not reported | Not reported | Not reported |
| Ubuntu | ghostscript | deb | noble | 10.02.1~dfsg1-0ubuntu7.1 | Not reported | Not reported | Not reported |
| Ubuntu | ghostscript-doc | deb | noble | 10.02.1~dfsg1-0ubuntu7.1 | Not reported | Not reported | Not reported |
| Ubuntu | libgs-common | deb | noble | 10.02.1~dfsg1-0ubuntu7.1 | Not reported | Not reported | Not reported |
| Ubuntu | libgs-dev | deb | noble | 10.02.1~dfsg1-0ubuntu7.1 | Not reported | Not reported | Not reported |
| Ubuntu | libgs10 | deb | noble | 10.02.1~dfsg1-0ubuntu7.1 | Not reported | Not reported | Not reported |
| Ubuntu | libgs10-common | deb | noble | 10.02.1~dfsg1-0ubuntu7.1 | Not reported | Not reported | Not reported |
| Alpine | ghostscript | apk | 3.18 | 10.04.0-r0 | Not reported | ALPINE-CVE-2024-29510 | Not reported |
| Alpine | ghostscript | apk | 3.19 | 10.03.1-r0 | Not reported | ALPINE-CVE-2024-29510 | Not reported |
| Alpine | ghostscript | apk | 3.20 | 10.03.1-r0 | Not reported | ALPINE-CVE-2024-29510 | Not reported |
| Alpine | ghostscript | apk | 3.21 | 10.03.1-r0 | Not reported | ALPINE-CVE-2024-29510 | Not reported |
| Alpine | ghostscript | apk | 3.22 | 10.03.1-r0 | Not reported | ALPINE-CVE-2024-29510 | Not reported |
| Alpine | ghostscript | apk | 3.23 | 10.03.1-r0 | Not reported | ALPINE-CVE-2024-29510 | Not reported |
| Ubuntu | ghostscript | deb | 20.04 | 9.50~dfsg-5ubuntu4.12 | Not reported | UBUNTU-CVE-2024-29510 | Not reported |
| Ubuntu | ghostscript | deb | 22.04 | 9.55.0~dfsg1-0ubuntu5.7 | Not reported | UBUNTU-CVE-2024-29510 | Not reported |
| Ubuntu | ghostscript | deb | 24.04 | 10.02.1~dfsg1-0ubuntu7.1 | Not reported | UBUNTU-CVE-2024-29510 | Not reported |
| Suse | ghostscript | rpm | linux enterprise software development kit 12 sp5 | 9.52-23.80.1 | Not reported | SUSE-SU-2024:2276-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server 12 sp5 | 9.52-23.80.1 | Not reported | SUSE-SU-2024:2276-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server for sap applications 12 sp5 | 9.52-23.80.1 | Not reported | SUSE-SU-2024:2276-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise module for basesystem 15 sp5 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise module for basesystem 15 sp6 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise high performance computing 15 sp2-ltss | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise high performance computing 15 sp3-ltss | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise high performance computing 15 sp4-espos | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise high performance computing 15 sp4-ltss | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server 15 sp2-ltss | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server 15 sp3-ltss | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server 15 sp4-ltss | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server for sap applications 15 sp2 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server for sap applications 15 sp3 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server for sap applications 15 sp4 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | manager proxy 4.3 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | manager server 4.3 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Suse | ghostscript | rpm | enterprise storage 7.1 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Opensuse | ghostscript | rpm | leap 15.5 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
| Opensuse | ghostscript | rpm | leap 15.6 | 9.52-150000.194.1 | Not reported | SUSE-SU-2024:2292-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2024:6197]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_2276-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-29510]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-29510]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2276-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2292-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-29510]
- [https://security-tracker.debian.org/tracker/CVE-2024-29510]
- [https://ubuntu.com/security/notices/USN-6835-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1444.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]