CVE-2016-7996

NameCVE-2016-7996
DescriptionHeap-based buffer overflow in the WPG format reader in GraphicsMagick 1.3.25 and earlier allows remote attackers to have unspecified impact via a colormap with a large number of entries.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-683-1, DSA-3746-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)buster1.4+really1.3.35-1~deb10u2fixed
buster (security)1.4+really1.3.35-1~deb10u3fixed
bullseye (security), bullseye1.4+really1.3.36+hg16481-2+deb11u1fixed
bookworm1.4+really1.3.40-4fixed
trixie1.4+really1.3.42-1fixed
sid1.4+really1.3.43-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksourcewheezy1.3.16-1.1+deb7u5DLA-683-1
graphicsmagicksourcejessie1.3.20-3+deb8u2DSA-3746-1
graphicsmagicksource(unstable)1.3.21-2

Notes

The patch addressing CVE-2016-7996 applied is in 1.3.25-4, but in
the experimental upload 1.3.20-4 and later uploaded to unstable as
1.3.21-2 the build is done with --with-quantum-depth=16 switching
away from the default with QuantumDepth=8
patch for this and CVE-2016-7997 at: http://openwall.com/lists/oss-security/2016/10/07/4

Search for package or bug name: Reporting problems