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

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[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)
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