Skip to content
OpenAdvisories
Unscored CVE-2017-16546 EUVD-2017-7739GHSA-8r2v-x2w3-6hv7

The ReadWPGImage function in coders/wpg.c in ImageMagick 7.0.7-9 does not properly validate the colormap index in a WPG palette, which allo…

Published Nov 5, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

The ReadWPGImage function in coders/wpg.c in ImageMagick 7.0.7-9 does not properly validate the colormap index in a WPG palette, which allows remote attackers to cause a denial of service (use of uninitialized data or invalid memory allocation) or possibly have unspecified other impact via a malformed WPG file.

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 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 13 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 12 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 9 imagemagick 8:6.9.7.4+dfsg-11+deb9u4 DSA-4074-1
Debian 8 imagemagick 8:6.8.9.9-5+deb8u11 DSA-4040-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS imagemagick 8:6.9.7.4+dfsg-16ubuntu6.2 USN-3681-1
Ubuntu 16.04 LTS imagemagick 8:6.8.9.9-7ubuntu5.11 USN-3681-1
Ubuntu 14.04 LTS imagemagick 8:6.7.7.10-6ubuntu3.11 USN-3681-1
ReleasePackageFixed inAdvisory
SLES 12 SP3 ImageMagick 6.8.8.1-71.17.1 SUSE-SU-2017:3388-1
SLES 12 SP2 ImageMagick 6.8.8.1-71.17.1 SUSE-SU-2017:3388-1
SLES 11 SP4 GraphicsMagick 1.2.5-4.78.19.1 SUSE-SU-2017:3435-1
SLES 11 SP4 ImageMagick 6.4.3.6-7.78.14.1 SUSE-SU-2017:3378-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Studio Onsite 1.3 GraphicsMagick 1.2.5-4.78.19.1 SUSE-SU-2017:3435-1
SLES for SAP 12 SP3 ImageMagick 6.8.8.1-71.17.1 SUSE-SU-2017:3388-1
SLES for SAP 12 SP2 ImageMagick 6.8.8.1-71.17.1 SUSE-SU-2017:3388-1
SLES for SAP 11 SP4 ImageMagick 6.4.3.6-7.78.14.1 SUSE-SU-2017:3378-1

Advisories 6

References