CVE-2017-7975

NameCVE-2017-7975
DescriptionArtifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-942-1, DSA-3855-1
NVD severitymedium (attack range: remote)
Debian Bugs860788

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jbig2dec (PTS)wheezy0.11+20120125-1vulnerable
wheezy (security)0.13-4~deb7u2fixed
jessie0.13-4~deb8u1vulnerable
jessie (security)0.13-4~deb8u2fixed
buster, sid, stretch0.13-4.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jbig2decsource(unstable)0.13-4.1medium860788
jbig2decsourcejessie0.13-4~deb8u2mediumDSA-3855-1
jbig2decsourcewheezy0.13-4~deb7u2mediumDLA-942-1

Notes

https://bugs.ghostscript.com/show_bug.cgi?id=697693
Fixed by: http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5e57e483298dae8b

Search for package or bug name: Reporting problems