Skip to content
OpenAdvisories
Medium · 5.3 CVE-2016-9601 EUVD-2016-10405GHSA-vf87-jj8q-h556

ghostscript before version 9.21 is vulnerable to a heap based buffer overflow that was found in the ghostscript jbig2_decode_gray_scale_ima…

Published Apr 23, 2018 · Updated Aug 6, 2024 · Assigned by redhat

Description

ghostscript before version 9.21 is vulnerable to a heap based buffer overflow that was found in the ghostscript jbig2_decode_gray_scale_image function which is used to decode halftone segments in a JBIG2 image. A document (PostScript or PDF) with an embedded, specially crafted, jbig2 image could trigger a segmentation fault in ghostscript.

Affected products

VendorProductAffectedFixed
— ghostscript ghostscript 0.14 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jbig2dec 0.13-4 —
Debian 13 jbig2dec 0.13-4 —
Debian 12 jbig2dec 0.13-4 —
Debian 8 jbig2dec 0.13-4~deb8u1 DSA-3817-1
Debian 7 jbig2dec 0.13-4~deb7u1 DLA-874-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS jbig2dec 0.12+20150918-1ubuntu0.1 USN-3297-1
Ubuntu 14.04 LTS jbig2dec 0.11+20120125-1ubuntu1.1 USN-3297-1
ReleasePackageFixed inAdvisory
SLES 12 SP2 ghostscript 9.15-20.1 SUSE-SU-2017:1404-1, SUSE-SU-2017:1138-1
SLES 12 SP1 ghostscript 9.15-20.1 SUSE-SU-2017:1404-1, SUSE-SU-2017:1138-1
SLES 12 ghostscript 9.15-22.1 SUSE-SU-2017:1404-1
SLES 11 SP4 ghostscript-library 8.62-32.47.7.1 SUSE-SU-2018:1369-1, SUSE-SU-2018:1140-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 ghostscript 9.15-20.1 SUSE-SU-2017:1404-1, SUSE-SU-2017:1138-1
SLES for SAP 12 SP1 ghostscript 9.15-20.1 SUSE-SU-2017:1404-1, SUSE-SU-2017:1138-1
SLES for SAP 12 ghostscript 9.15-22.1 SUSE-SU-2017:1404-1
SLES for SAP 11 SP4 ghostscript-library 8.62-32.47.7.1 SUSE-SU-2018:1369-1, SUSE-SU-2018:1140-1

Advisories 7

References