NULL Pointer Dereference Affecting graphicsmagick package, versions <1.3.18-1ubuntu3.1+esm5


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.2% (82nd 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-UBUNTU1404-GRAPHICSMAGICK-352398
  • published5 Nov 2017
  • disclosed5 Nov 2017

Introduced: 5 Nov 2017

CVE-2017-16545  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Ubuntu:14.04 graphicsmagick to version 1.3.18-1ubuntu3.1+esm5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream graphicsmagick package and not the graphicsmagick package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

The ReadWPGImage function in coders/wpg.c in GraphicsMagick 1.3.26 does not properly validate colormapped images, which allows remote attackers to cause a denial of service (ImportIndexQuantumType invalid write and application crash) or possibly have unspecified other impact via a malformed WPG image.