Out-of-bounds Write Affecting imagemagick package, versions <8:6.8.9.9-7ubuntu5.14


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.16% (85th 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-UBUNTU1604-IMAGEMAGICK-342017
  • published24 Mar 2019
  • disclosed24 Mar 2019

Introduced: 24 Mar 2019

CVE-2019-9956  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 imagemagick to version 8:6.8.9.9-7ubuntu5.14 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:16.04 relevant fixed versions and status.

In ImageMagick 7.0.8-35 Q16, there is a stack-based buffer overflow in the function PopHexPixel of coders/ps.c, which allows an attacker to cause a denial of service or code execution via a crafted image file.