CVE catalog

CVE-2024-29510

Ghostscript vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianghostscriptsid10.08.0~dfsg-2fixed
Debianghostscriptforky10.08.0~dfsg-2fixed
Debianghostscripttrixie10.05.1~dfsg-1+deb13u1fixed
Debianghostscripttrixie-security10.05.1~dfsg-1+deb13u3fixed
Debianghostscriptbookworm10.0.0~dfsg-11+deb12u8fixed
Debianghostscriptbookworm-security10.0.0~dfsg-11+deb12u8fixed
Ubuntughostscriptnoble10.0.0~dfsg-11+deb12u4fixed
Ubuntughostscriptnoble10.02.1~dfsg1-0ubuntu7.1fixed
Ubuntughostscript-docnoble10.02.1~dfsg1-0ubuntu7.1fixed
Ubuntulibgs-commonnoble10.02.1~dfsg1-0ubuntu7.1fixed
Ubuntulibgs-devnoble10.02.1~dfsg1-0ubuntu7.1fixed
Ubuntulibgs10noble10.02.1~dfsg1-0ubuntu7.1fixed
Ubuntulibgs10-commonnoble10.02.1~dfsg1-0ubuntu7.1fixed
Alpineghostscript3.1810.04.0-r0fixed
Alpineghostscript3.1910.03.1-r0fixed
Alpineghostscript3.2010.03.1-r0fixed
Alpineghostscript3.2110.03.1-r0fixed
Alpineghostscript3.2210.03.1-r0fixed
Alpineghostscript3.2310.03.1-r0fixed
Ubuntughostscript20.049.27~dfsg+0-0ubuntu3vulnerable
Ubuntughostscript20.049.27~dfsg+0-0ubuntu4vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu1vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu2vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu3vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.1vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.2vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.3vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.4vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.5vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.6vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.7vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.8vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.9vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.10vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.11vulnerable
Ubuntughostscript20.049.50~dfsg-5ubuntu4.12fixed
Ubuntughostscript22.049.54.0~dfsg1-0ubuntu2vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu4vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu5vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu5.1vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu5.2vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu5.3vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu5.4vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu5.5vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu5.6vulnerable
Ubuntughostscript22.049.55.0~dfsg1-0ubuntu5.7fixed
Ubuntughostscript24.0410.01.2~dfsg1-0ubuntu2vulnerable
Ubuntughostscript24.0410.01.2~dfsg1-0ubuntu2.1vulnerable
Ubuntughostscript24.0410.02.1~dfsg1-0ubuntu1vulnerable
Ubuntughostscript24.0410.02.1~dfsg1-0ubuntu2vulnerable
Ubuntughostscript24.0410.02.1~dfsg1-0ubuntu5vulnerable
Ubuntughostscript24.0410.02.1~dfsg1-0ubuntu6vulnerable
Ubuntughostscript24.0410.02.1~dfsg1-0ubuntu7vulnerable
Ubuntughostscript24.0410.02.1~dfsg1-0ubuntu7.1fixed
Suseghostscriptlinux enterprise software development kit 12 sp59.52-23.80.1fixed
Suseghostscriptlinux enterprise server 12 sp59.52-23.80.1fixed
Suseghostscriptlinux enterprise server for sap applications 12 sp59.52-23.80.1fixed
Suseghostscriptlinux enterprise module for basesystem 15 sp59.52-150000.194.1fixed
Suseghostscriptlinux enterprise module for basesystem 15 sp69.52-150000.194.1fixed
Suseghostscriptlinux enterprise high performance computing 15 sp2-ltss9.52-150000.194.1fixed
Suseghostscriptlinux enterprise high performance computing 15 sp3-ltss9.52-150000.194.1fixed
Suseghostscriptlinux enterprise high performance computing 15 sp4-espos9.52-150000.194.1fixed
Suseghostscriptlinux enterprise high performance computing 15 sp4-ltss9.52-150000.194.1fixed
Suseghostscriptlinux enterprise server 15 sp2-ltss9.52-150000.194.1fixed
Suseghostscriptlinux enterprise server 15 sp3-ltss9.52-150000.194.1fixed
Suseghostscriptlinux enterprise server 15 sp4-ltss9.52-150000.194.1fixed
Suseghostscriptlinux enterprise server for sap applications 15 sp29.52-150000.194.1fixed
Suseghostscriptlinux enterprise server for sap applications 15 sp39.52-150000.194.1fixed
Suseghostscriptlinux enterprise server for sap applications 15 sp49.52-150000.194.1fixed
Suseghostscriptmanager proxy 4.39.52-150000.194.1fixed
Suseghostscriptmanager server 4.39.52-150000.194.1fixed
Suseghostscriptenterprise storage 7.19.52-150000.194.1fixed
Opensuseghostscriptleap 15.59.52-150000.194.1fixed
Opensuseghostscriptleap 15.69.52-150000.194.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianghostscriptsourcesid10.03.1~dfsg~git20240518-1not yet assignedNot reportedNot reported
Debianghostscriptsourceforky10.03.1~dfsg~git20240518-1not yet assignedNot reportedNot reported
Debianghostscriptsourcetrixie10.03.1~dfsg~git20240518-1not yet assignedNot reportedNot reported
Debianghostscriptsourcebookworm10.0.0~dfsg-11+deb12u4not yet assignedNot reportedNot reported
Ubuntughostscriptdebnoble10.0.0~dfsg-11+deb12u4Not reportedNot reportedNot reported
Ubuntughostscriptdebnoble10.02.1~dfsg1-0ubuntu7.1Not reportedNot reportedNot reported
Ubuntughostscript-docdebnoble10.02.1~dfsg1-0ubuntu7.1Not reportedNot reportedNot reported
Ubuntulibgs-commondebnoble10.02.1~dfsg1-0ubuntu7.1Not reportedNot reportedNot reported
Ubuntulibgs-devdebnoble10.02.1~dfsg1-0ubuntu7.1Not reportedNot reportedNot reported
Ubuntulibgs10debnoble10.02.1~dfsg1-0ubuntu7.1Not reportedNot reportedNot reported
Ubuntulibgs10-commondebnoble10.02.1~dfsg1-0ubuntu7.1Not reportedNot reportedNot reported
Alpineghostscriptapk3.1810.04.0-r0Not reportedALPINE-CVE-2024-29510Not reported
Alpineghostscriptapk3.1910.03.1-r0Not reportedALPINE-CVE-2024-29510Not reported
Alpineghostscriptapk3.2010.03.1-r0Not reportedALPINE-CVE-2024-29510Not reported
Alpineghostscriptapk3.2110.03.1-r0Not reportedALPINE-CVE-2024-29510Not reported
Alpineghostscriptapk3.2210.03.1-r0Not reportedALPINE-CVE-2024-29510Not reported
Alpineghostscriptapk3.2310.03.1-r0Not reportedALPINE-CVE-2024-29510Not reported
Ubuntughostscriptdeb20.049.50~dfsg-5ubuntu4.12Not reportedUBUNTU-CVE-2024-29510Not reported
Ubuntughostscriptdeb22.049.55.0~dfsg1-0ubuntu5.7Not reportedUBUNTU-CVE-2024-29510Not reported
Ubuntughostscriptdeb24.0410.02.1~dfsg1-0ubuntu7.1Not reportedUBUNTU-CVE-2024-29510Not reported
Suseghostscriptrpmlinux enterprise software development kit 12 sp59.52-23.80.1Not reportedSUSE-SU-2024:2276-1Not reported
Suseghostscriptrpmlinux enterprise server 12 sp59.52-23.80.1Not reportedSUSE-SU-2024:2276-1Not reported
Suseghostscriptrpmlinux enterprise server for sap applications 12 sp59.52-23.80.1Not reportedSUSE-SU-2024:2276-1Not reported
Suseghostscriptrpmlinux enterprise module for basesystem 15 sp59.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise module for basesystem 15 sp69.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise high performance computing 15 sp2-ltss9.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise high performance computing 15 sp3-ltss9.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise high performance computing 15 sp4-espos9.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise high performance computing 15 sp4-ltss9.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise server 15 sp2-ltss9.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise server 15 sp3-ltss9.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise server 15 sp4-ltss9.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise server for sap applications 15 sp29.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise server for sap applications 15 sp39.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmlinux enterprise server for sap applications 15 sp49.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmmanager proxy 4.39.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmmanager server 4.39.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Suseghostscriptrpmenterprise storage 7.19.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Opensuseghostscriptrpmleap 15.59.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported
Opensuseghostscriptrpmleap 15.69.52-150000.194.1Not reportedSUSE-SU-2024:2292-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References