# CVE-2018-16749

- 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-09 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-16749, DEBIAN-CVE-2018-16749, ALPINE-CVE-2018-16749
- Record: https://cvemate.com/vulnerability/CVE-2018-16749 · JSON: https://cvemate.com/vulnerability/CVE-2018-16749/json

## Description

```text
In ImageMagick 7.0.7-29 and earlier, a missing NULL check in ReadOneJNGImage in coders/png.c allows an attacker to cause a denial of service (WriteBlob assertion failure and application exit) via a crafted file.
```

## Signals

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

## 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.2+dfsg-2
- 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 \| 9.0
- imagemagick imagemagick: \< 6.9.9-42 \| ≥ 7.0.0-0, ≤ 7.0.7-29

## References

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

---

Data as of 2026-12-05T05:27:15.667Z. 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
