CVE-2017-16546

MEDIUM

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.

References

https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53

https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816

https://github.com/ImageMagick/ImageMagick/issues/851

https://usn.ubuntu.com/3681-1/

https://www.debian.org/security/2017/dsa-4040

https://www.debian.org/security/2017/dsa-4074

Details

Source: MITRE

Published: 2017-11-05

Updated: 2020-10-22

Type: CWE-119

Risk Information

CVSS v2.0

Base Score: 6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3.0

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 2.8

Severity: HIGH

Tenable Plugins

View all (7 total)

IDNameProductFamilySeverity
110516Ubuntu 14.04 LTS / 16.04 LTS / 17.10 / 18.04 LTS : ImageMagick vulnerabilities (USN-3681-1)NessusUbuntu Local Security Checks
high
105489Debian DSA-4074-1 : imagemagick - security updateNessusDebian Local Security Checks
high
105455openSUSE Security Update : ImageMagick (openSUSE-2017-1413)NessusSuSE Local Security Checks
high
105409SUSE SLED12 / SLES12 Security Update : ImageMagick (SUSE-SU-2017:3388-1)NessusSuSE Local Security Checks
high
105408SUSE SLES11 Security Update : ImageMagick (SUSE-SU-2017:3378-1)NessusSuSE Local Security Checks
high
105233openSUSE Security Update : GraphicsMagick (openSUSE-2017-1346)NessusSuSE Local Security Checks
high
104684Debian DSA-4040-1 : imagemagick - security updateNessusDebian Local Security Checks
high