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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-942-1, DSA-3855-1
Debian Bugs860788

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jbig2dec (PTS)bullseye0.19-2fixed
bookworm0.19-3fixed
sid, trixie0.20-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jbig2decsourcewheezy0.13-4~deb7u2DLA-942-1
jbig2decsourcejessie0.13-4~deb8u2DSA-3855-1
jbig2decsource(unstable)0.13-4.1860788

Notes

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

Search for package or bug name: Reporting problems