CVE-2017-5951

NameCVE-2017-5951
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-905-1, DSA-3838-1
Debian Bugs859696

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)jessie, jessie (lts)9.26a~dfsg-0+deb8u12fixed
stretch (security)9.26a~dfsg-0+deb9u9fixed
stretch (lts), stretch9.26a~dfsg-0+deb9u12fixed
buster (security), buster, buster (lts)9.27~dfsg-2+deb10u9fixed
bullseye (security), bullseye9.53.3~dfsg-7+deb11u7fixed
bookworm10.0.0~dfsg-11+deb12u4fixed
bookworm (security)10.0.0~dfsg-11+deb12u5fixed
sid, trixie10.04.0~dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsourcewheezy9.05~dfsg-6.3+deb7u5DLA-905-1
ghostscriptsourcejessie9.06~dfsg-2+deb8u5DSA-3838-1
ghostscriptsource(unstable)9.20~dfsg-3.1859696

Notes

https://bugs.ghostscript.com/show_bug.cgi?id=697548
Fixed by: https://git.ghostscript.com/?p=user/chrisl/ghostpdl.git;a=commitdiff;h=bfa6b2ecbe48edc69a7d9d22a12419aed25960b8

Search for package or bug name: Reporting problems