Out-of-Bounds Affecting imagemagick package, versions <8:6.9.7.4+dfsg-11+deb9u4
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-IMAGEMAGICK-400528
- published 5 Nov 2017
- disclosed 5 Nov 2017
Introduced: 5 Nov 2017
CVE-2017-16546 Open this link in a new tabHow to fix?
Upgrade Debian:9
imagemagick
to version 8:6.9.7.4+dfsg-11+deb9u4 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream imagemagick
package and not the imagemagick
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2017-16546
- https://www.debian.org/security/2017/dsa-4040
- https://www.debian.org/security/2017/dsa-4074
- https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53
- https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816
- https://github.com/ImageMagick/ImageMagick/issues/851
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-16546
- https://usn.ubuntu.com/3681-1/