CVE-2016-10317

NameCVE-2016-10317
DescriptionThe fill_threshhold_buffer function in base/gxht_thresh.c in Artifex Software, Inc. Ghostscript 9.20 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs860869

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)jessie9.06~dfsg-2+deb8u7fixed
jessie (security)9.06~dfsg-2+deb8u8fixed
stretch9.20~dfsg-3.2+deb9u2fixed
stretch (security)9.20~dfsg-3.2+deb9u5fixed
buster, sid9.25~dfsg-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsource(unstable)9.22~dfsg-2.1medium860869
ghostscriptsourcejessie9.06~dfsg-2+deb8u7medium
ghostscriptsourcestretch9.20~dfsg-3.2+deb9u2medium

Notes

[wheezy] - ghostscript <no-dsa> (Not directly reproducible, to re-evaluate once the upstream fix is known)
https://bugs.ghostscript.com/show_bug.cgi?id=697459
http://git.ghostscript.com/?p=ghostpdl.git;h=362ec9daadb9992b0def3520cd1dc6fa52edd1c4
I got the reproducer file from the bug submitter and tried to reproduce it.
Results are the following: sid/stretch with 9.20~dfsg-3 are
affected, it even segfaults. But with wheezy 9.05~dfsg-6.3+deb7u2
and jessie 9.06~dfsg-2+deb8u4, we have no segfault and valgrind
reports no buffer overrun. -- Raphael Hertzog

Search for package or bug name: Reporting problems