# CVE-2018-8960

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-03-23 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-8960, DEBIAN-CVE-2018-8960, ALPINE-CVE-2018-8960
- Record: https://cvemate.com/vulnerability/CVE-2018-8960 · JSON: https://cvemate.com/vulnerability/CVE-2018-8960/json

## Description

```text
The ReadTIFFImage function in coders/tiff.c in ImageMagick 7.0.7-26 Q16 does not properly restrict memory allocation, leading to a heap-based buffer over-read.
```

## Signals

- CVSS: 8.8 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 4.246%, percentile 91.319%, 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 \| 17.10 \| 18.04
- debian imagemagick (Debian): \< 8:6.9.9.39+dfsg-1
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.11 \| \< 8:6.8.9.9-7ubuntu5.11 \| \< 8:6.9.7.4+dfsg-16ubuntu6.2
- imagemagick imagemagick: 7.0.7-26:q16

## References

- <https://github.com/ImageMagick/ImageMagick/issues/1020>
- <https://usn.ubuntu.com/3681-1/>
- <http://www.securityfocus.com/bid/103523>
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00030.html>
- <https://ubuntu.com/security/CVE-2018-8960>
- <https://ubuntu.com/security/notices/USN-3681-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-8960>
- <https://security-tracker.debian.org/tracker/CVE-2018-8960>
- <https://security.alpinelinux.org/vuln/CVE-2018-8960>

---

Data as of 2026-12-05T06:10:44.880Z. 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
