CVE catalog

CVE-2018-16585

ghostscript: CVE-2018-16585

[CVE catalog]

Severity
Low · CVSS 3.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
1.72% · Oct 25, 2026

An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)

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
Ubuntughostscript14.049.10~dfsg-0ubuntu2vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu3vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu4vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu5vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu6vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu7vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu8vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu9vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.1vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.2vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.3vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.4vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.5vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.6vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.7vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.9vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.10vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.12vulnerable
Ubuntughostscript14.049.10~dfsg-0ubuntu10.13fixed
Ubuntughostscript16.049.16~dfsg~0-0ubuntu3vulnerable
Ubuntughostscript16.049.16~dfsg~0-0ubuntu4vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu1vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu2vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu2.2vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu2.3vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu2.4vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu2.6vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu2.7vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu2.8vulnerable
Ubuntughostscript16.049.18~dfsg~0-0ubuntu2.9fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianghostscriptsourcesid9.25~dfsg-1not yet assignedNot reported[908305]
Debianghostscriptsourceforky9.25~dfsg-1not yet assignedNot reported[908305]
Debianghostscriptsourcetrixie9.25~dfsg-1not yet assignedNot reported[908305]
Debianghostscriptsourcebookworm9.25~dfsg-1not yet assignedNot reported[908305]
Ubuntughostscriptdeb14.049.10~dfsg-0ubuntu10.13Not reportedUBUNTU-CVE-2018-16585Not reported
Ubuntughostscriptdeb16.049.18~dfsg~0-0ubuntu2.9Not reportedUBUNTU-CVE-2018-16585Not reported

[Debian bug #908305]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [ghostscript]Unknown
    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

  • Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

  • [ghostscript-x]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

  • [libgs10]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

  • Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

  • [libgs9-common]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

  • [libgs-common]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

  • [libgs-dev]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12

[Debian 13 (Trixie)]

  • [ghostscript]Unknown
    Details (6)
    • 10.05.1~dfsg-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

  • Source package: [ghostscript]

    Details (6)
    • 10.05.1~dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

  • [libgs10]Unknown

    Source package: [ghostscript]

    Details (6)
    • 10.05.1~dfsg-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

  • Source package: [ghostscript]

    Details (6)
    • 10.05.1~dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

  • [libgs-common]Unknown

    Source package: [ghostscript]

    Details (6)
    • 10.05.1~dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

  • [libgs-dev]Unknown

    Source package: [ghostscript]

    Details (6)
    • 10.05.1~dfsg-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

    • 10.05.1~dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 9.25~dfsg-1

      dsa · ghostscript · debian · 13

Observed:

References