CVE-2018-16643

NameCVE-2018-16643
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1530-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)jessie8:6.8.9.9-5+deb8u12vulnerable
jessie (security)8:6.8.9.9-5+deb8u17fixed
stretch8:6.9.7.4+dfsg-11+deb9u6vulnerable
stretch (security)8:6.9.7.4+dfsg-11+deb9u7vulnerable
buster, bullseye, sid8:6.9.10.23+dfsg-2.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksource(unstable)8:6.9.10.8+dfsg-1low
imagemagicksourcejessie8:6.8.9.9-5+deb8u14mediumDLA-1530-1

Notes

[stretch] - imagemagick <ignored> (Minor issue)
https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c
ImageMagick6: https://github.com/ImageMagick/ImageMagick6/commit/11d9dac3d991c62289d1ef7a097670166480e76c
https://github.com/ImageMagick/ImageMagick/issues/1199

Search for package or bug name: Reporting problems