Out-of-Bounds Affecting imagemagick package, versions <8:6.9.7.4+dfsg-16ubuntu6.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.61% (91st percentile)

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 IDSNYK-UBUNTU1804-IMAGEMAGICK-400533
  • published5 Nov 2017
  • disclosed5 Nov 2017

Introduced: 5 Nov 2017

CVE-2017-16546  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 imagemagick to version 8:6.9.7.4+dfsg-16ubuntu6.2 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 Ubuntu. See How to fix? for Ubuntu:18.04 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.

CVSS Scores

version 3.1