CVE catalog

CVE-2017-5951

ghostscript: CVE-2017-5951

[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.94% · Oct 25, 2026

The mem_get_bits_rectangle function in base/gdevmem.c in Artifex Software, Inc. Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file.

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
Alpineghostscript3.109.21-r3fixed
Alpineghostscript3.119.21-r3fixed
Alpineghostscript3.129.21-r3fixed
Alpineghostscript3.139.21-r3fixed
Alpineghostscript3.149.21-r3fixed
Alpineghostscript3.159.21-r3fixed
Alpineghostscript3.169.21-r3fixed
Alpineghostscript3.179.21-r3fixed
Alpineghostscript3.189.21-r3fixed
Alpineghostscript3.199.21-r3fixed
Alpineghostscript3.29.21-r0fixed
Alpineghostscript3.209.21-r3fixed
Alpineghostscript3.219.21-r3fixed
Alpineghostscript3.229.21-r3fixed
Alpineghostscript3.239.21-r3fixed
Alpineghostscript3.39.21-r0fixed
Alpineghostscript3.49.21-r0fixed
Alpineghostscript3.59.21-r0fixed
Alpineghostscript3.79.21-r3fixed
Alpineghostscript3.89.21-r3fixed
Alpineghostscript3.99.21-r3fixed
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.7fixed
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.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianghostscriptsourcesid9.20~dfsg-3.1not yet assignedNot reported[859696]
Debianghostscriptsourceforky9.20~dfsg-3.1not yet assignedNot reported[859696]
Debianghostscriptsourcetrixie9.20~dfsg-3.1not yet assignedNot reported[859696]
Debianghostscriptsourcebookworm9.20~dfsg-3.1not yet assignedNot reported[859696]
Alpineghostscriptapk3.109.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.119.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.129.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.139.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.149.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.159.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.169.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.179.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.189.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.199.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.29.21-r0Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.209.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.219.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.229.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.239.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.39.21-r0Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.49.21-r0Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.59.21-r0Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.79.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.89.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Alpineghostscriptapk3.99.21-r3Not reportedALPINE-CVE-2017-5951Not reported
Ubuntughostscriptdeb14.049.10~dfsg-0ubuntu10.7Not reportedUBUNTU-CVE-2017-5951Not reported
Ubuntughostscriptdeb16.049.18~dfsg~0-0ubuntu2.4Not reportedUBUNTU-CVE-2017-5951Not reported

[Debian bug #859696]

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.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.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.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.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.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.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.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.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.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.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.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.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.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.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.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.1

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

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

      Fixed · Fixed: 9.20~dfsg-3.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.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

  • Source package: [ghostscript]

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

  • [libgs10]Unknown

    Source package: [ghostscript]

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

  • Source package: [ghostscript]

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

  • [libgs-common]Unknown

    Source package: [ghostscript]

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

  • [libgs-dev]Unknown

    Source package: [ghostscript]

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

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

      Fixed · Fixed: 9.20~dfsg-3.1

      dsa · ghostscript · debian · 13

Observed:

References