What’s Vulnerable › Vulnerabilities
CVE-2018-16643
- Severity: medium (CVSS 6.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-09-06 · updated 2026-06-17
- Weakness: CWE-252
Description
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.
Affected products
- Canonical Ubuntu Linux: 14.04, 16.04, 18.04
- Debian Linux: 8.0
- ImageMagick: 7.0.8-4
References
- https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c
- https://github.com/ImageMagick/ImageMagick/issues/1199
- https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
- https://usn.ubuntu.com/3785-1/
- https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c
- https://github.com/ImageMagick/ImageMagick/issues/1199
- https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
- https://usn.ubuntu.com/3785-1/
Get alerted when CVE-2018-16643 or the next vulnerability affects your stack