CVE-2017-16546
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.20%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 2.20% probability · 82th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- imagemagick/imagemagick · canonical/ubuntu linux · debian/debian linux
- Source
- cve@mitre.org
References
- https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53Issue Tracking, Patch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816Issue Tracking, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/851Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3681-1/Third Party Advisory
- https://www.debian.org/security/2017/dsa-4040Third Party Advisory
- https://www.debian.org/security/2017/dsa-4074Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53Issue Tracking, Patch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816Issue Tracking, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/851Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3681-1/Third Party Advisory
- https://www.debian.org/security/2017/dsa-4040Third Party Advisory
- https://www.debian.org/security/2017/dsa-4074Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.