Unchecked Return Value Affecting imagemagick package, versions <8:6.8.9.9-5+deb8u14


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.99% (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-DEBIAN8-IMAGEMAGICK-400984
  • published25 Sept 2018
  • disclosed6 Sept 2018

Introduced: 6 Sep 2018

CVE-2018-16643  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Debian:8 imagemagick to version 8:6.8.9.9-5+deb8u14 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 Debian. See How to fix? for Debian:8 relevant fixed versions and status.

The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCALSImage in coders/cals.c, and ReadPICTImage in coders/pict.c in ImageMagick 7.0.8-4 do not check the return value of the fputc function, which allows remote attackers to cause a denial of service via a crafted image file.