
CVE catalog
CVE-2017-5951
ghostscript: CVE-2017-5951
- Severity
- Low · CVSS 3.3
CVSS: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.
| 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 |
| Alpine | ghostscript | 3.10 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.11 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.12 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.13 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.14 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.15 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.16 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.17 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.18 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.19 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.2 | 9.21-r0 | fixed |
| Alpine | ghostscript | 3.20 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.21 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.22 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.23 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.3 | 9.21-r0 | fixed |
| Alpine | ghostscript | 3.4 | 9.21-r0 | fixed |
| Alpine | ghostscript | 3.5 | 9.21-r0 | fixed |
| Alpine | ghostscript | 3.7 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.8 | 9.21-r3 | fixed |
| Alpine | ghostscript | 3.9 | 9.21-r3 | fixed |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu5 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu6 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu7 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu8 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu9 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.1 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.2 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.3 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.4 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.5 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.6 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.7 | fixed |
| Ubuntu | ghostscript | 16.04 | 9.16~dfsg~0-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.16~dfsg~0-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu1 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.2 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.3 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ghostscript | source | sid | 9.20~dfsg-3.1 | not yet assigned | Not reported | [859696] |
| Debian | ghostscript | source | forky | 9.20~dfsg-3.1 | not yet assigned | Not reported | [859696] |
| Debian | ghostscript | source | trixie | 9.20~dfsg-3.1 | not yet assigned | Not reported | [859696] |
| Debian | ghostscript | source | bookworm | 9.20~dfsg-3.1 | not yet assigned | Not reported | [859696] |
| Alpine | ghostscript | apk | 3.10 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.11 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.12 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.13 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.14 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.15 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.16 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.17 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.18 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.19 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.2 | 9.21-r0 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.20 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.21 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.22 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.23 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.3 | 9.21-r0 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.4 | 9.21-r0 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.5 | 9.21-r0 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.7 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.8 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Alpine | ghostscript | apk | 3.9 | 9.21-r3 | Not reported | ALPINE-CVE-2017-5951 | Not reported |
| Ubuntu | ghostscript | deb | 14.04 | 9.10~dfsg-0ubuntu10.7 | Not reported | UBUNTU-CVE-2017-5951 | Not reported |
| Ubuntu | ghostscript | deb | 16.04 | 9.18~dfsg~0-0ubuntu2.4 | Not reported | UBUNTU-CVE-2017-5951 | Not reported |
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 · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [ghostscript-doc]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [ghostscript-x]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs10]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs10-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs9-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs-dev]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
[Debian 13 (Trixie)]
- [ghostscript]Unknown
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
- [ghostscript-doc]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
- [libgs10]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
- [libgs10-common]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
- [libgs-common]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
- [libgs-dev]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.20~dfsg-3.1dsa · ghostscript · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2017_1138-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2017-5951]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-5951]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-5951]
- [https://security-tracker.debian.org/tracker/CVE-2017-5951]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-5951.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]