# CVE-2019-13454

- 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: 2019-07-09 · Modified: 2025-03-04
- Aliases: ALPINE-CVE-2019-13454, UBUNTU-CVE-2019-13454, DEBIAN-CVE-2019-13454
- Record: https://cvemate.com/vulnerability/CVE-2019-13454 · JSON: https://cvemate.com/vulnerability/CVE-2019-13454/json

## Description

```text
ImageMagick 7.0.1-0 to 7.0.8-54 Q16 allows Division by Zero in RemoveDuplicateLayers in MagickCore/layer.c.
```

## 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: 4.352%, percentile 91.497%, 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 imagemagick (Alpine Linux): ≥ 7.0.1-0, \< 6.9.10.56-r0 \| ≥ 7.0.1-0, \< 7.0.8.56-r0 \| \< 6.9.10.56-r0 \| \< 7.0.8.56-r0
- alpine imagemagick6 (Alpine Linux): \< 6.9.10.55-r0
- canonical ubuntu\_linux: 16.04 \| 18.04 \| 19.04 \| 19.10
- debian imagemagick (Debian): \< 8:6.9.11.24+dfsg-1
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.13+esm10 \| \< 8:6.8.9.9-7ubuntu5.15 \| \< 8:6.9.7.4+dfsg-16ubuntu6.8 \| \< 8:6.9.10.23+dfsg-2.1ubuntu9
- debian debian\_linux: 9.0 \| 10.0
- imagemagick imagemagick: ≥ 7.0.1-0, ≤ 7.0.8-54 \| 7.0.8-54:q16
- opensuse leap: 15.0 \| 15.1

## References

- <https://github.com/ImageMagick/ImageMagick/issues/1629>
- <https://github.com/ImageMagick/ImageMagick/commit/1ddcf2e4f28029a888cadef2e757509ef5047ad8>
- <https://github.com/ImageMagick/ImageMagick6/commit/4f31d78716ac94c85c244efcea368fea202e2ed4>
- <http://www.securityfocus.com/bid/109099>
- <http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html>
- <https://usn.ubuntu.com/4192-1/>
- <https://www.debian.org/security/2020/dsa-4712>
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00030.html>
- <https://github.com/ImageMagick/ImageMagick/blob/7.0.1-0/MagickCore/layer.c#L1618>
- <https://security.alpinelinux.org/vuln/CVE-2019-13454>
- <https://ubuntu.com/security/CVE-2019-13454>
- <https://ubuntu.com/security/notices/USN-4192-1>
- <https://www.cve.org/CVERecord?id=CVE-2019-13454>
- <https://ubuntu.com/security/notices/USN-7053-1>
- <https://security-tracker.debian.org/tracker/CVE-2019-13454>

---

Data as of 2026-12-05T04:59:02.402Z. 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
