# CVE-2018-16643

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-09-06 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-16643, DEBIAN-CVE-2018-16643, ALPINE-CVE-2018-16643
- Record: https://cvemate.com/vulnerability/CVE-2018-16643 · JSON: https://cvemate.com/vulnerability/CVE-2018-16643/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 3.08%, percentile 88.094%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine imagemagick6 (Alpine Linux): \< 6.9.10.37-r0 \| \< 6.9.10.39-r0
- canonical ubuntu\_linux: 14.04 \| 16.04 \| 18.04
- debian imagemagick (Debian): \< 8:6.9.10.8+dfsg-1
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.13 \| \< 8:6.8.9.9-7ubuntu5.13 \| \< 8:6.9.7.4+dfsg-16ubuntu6.4
- debian debian\_linux: 8.0
- imagemagick imagemagick: 7.0.8-4

## References

- <https://github.com/ImageMagick/ImageMagick/issues/1199>
- <https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c>
- <https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html>
- <https://usn.ubuntu.com/3785-1/>
- <https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html>
- <https://ubuntu.com/security/CVE-2018-16643>
- <https://ubuntu.com/security/notices/USN-3785-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-16643>
- <https://security-tracker.debian.org/tracker/CVE-2018-16643>
- <https://security.alpinelinux.org/vuln/CVE-2018-16643>

---

Data as of 2026-12-05T05:27:16.696Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
