Buffer overflow in Imagemagick
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 possibly have unspecified other impact via a malformed WPG file.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.022 (81.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 81.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.022 · change: 0.000
Affected products
- Imagemagick — versions 7.0.7-9
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
References
- www.debian.org/security/2017/dsa-4040 (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3681-1/ (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2017/dsa-4074 (vendor-advisory, Third Party Advisory)
- github.com/ImageMagick/ImageMagick/issues/851 (Patch, Third Party Advisory, Issue Tracking)
- github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b… (Third Party Advisory, Issue Tracking)
- github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566… (Patch, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2017-16546?
- CVE-2017-16546 is a high-severity vulnerability in Imagemagick, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 8.8/10. Published 2017-11-05.
- How severe is CVE-2017-16546?
- High severity. CVSS v3 base score is 8.8 out of 10.