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, 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)wheezy9.05~dfsg-6.3+deb7u2vulnerable
wheezy (security)9.05~dfsg-6.3+deb7u7vulnerable
jessie9.06~dfsg-2+deb8u5vulnerable
jessie (security)9.06~dfsg-2+deb8u6vulnerable
stretch (security), stretch9.20~dfsg-3.2+deb9u1vulnerable
buster, sid9.22~dfsg-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsource(unstable)(unfixed)medium860869

Notes

[stretch] - ghostscript <no-dsa> (Minor issue)
[jessie] - ghostscript <no-dsa> (Minor issue)
[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
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