CVE-2018-8960
The ReadTIFFImage function in coders/tiff.c in ImageMagick 7.0.7-26 Q16 does not properly...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
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.
- Record
CVE-2018-8960- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-8960- Updated
- 2026-11-02
EUVDEUVD-2018-20567 No score
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.
- Record
EUVD-2018-20567- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hpp2-pf7f-vv96
8.8
The ReadTIFFImage function in coders/tiff.c in ImageMagick 7.0.7-26 Q16 does not properly...
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.
- Record
GHSA-hpp2-pf7f-vv96- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-8960
8.8
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.
- Record
ALPINE-CVE-2018-8960- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
8.8
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.
- Record
CVE-2018-8960- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2018-8960
8.8
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.
- Record
DEBIAN-CVE-2018-8960- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-8960
8.8
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.
- Record
UBUNTU-CVE-2018-8960- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2018:1129-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
-
security update (png.c)
- CVE-2018-9018: divide-by-zero in the ReadMNGImage function of coders/png.c. Attackers could leverage this vulnerability to cause a crash and denial of service via a crafted mng file. [bsc#1086773]
- CVE-2018-10177: there is an infinite loop in the ReadOneMNGImagefunction of the coders/png.c file. Remote attackers could leverage thisvulnerability to cause a denial of service (bsc#1089781)
-
security update (wand)
- CVE-2017-18252: The MogrifyImageList function in MagickWand/mogrify.c could allow attackers to cause a denial of service via a crafted file. [bsc#1087033]
-
security update (gif.c)
- CVE-2017-18254: A memory leak vulnerability was found in the function WriteGIFImage in coders/gif.c, which could lead to denial of service via a crafted file. [bsc#1087027]
-
security update (core)
- CVE-2017-10928: a heap-based buffer over-read in the GetNextToken function in token.c could allow attackers to obtain sensitive information from process memory or possibly have unspecified other impact via a crafted SVG document that is mishandled in the GetUserSpaceCoordinateValue function in coders/svg.c. [bsc#1047356]
-
security update (pcd.c)
- CVE-2017-18251: A memory leak vulnerability was found in the function ReadPCDImage in coders/pcd.c, which could lead to a denial of service via a crafted file. [bsc#1087037]
-
security update (gif.c)
- CVE-2017-18254: A memory leak vulnerability was found in the function WriteGIFImage in coders/gif.c, which could lead to denial of service via a crafted file. [bsc#1087027]
-
security update (tiff.c)
- CVE-2018-8960: The ReadTIFFImage function in coders/tiff.c in ImageMagick memory allocation issue could lead to denial of service (bsc#1086782)
- Record
SUSE-SU-2018:1129-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1178-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2017-14325: In ImageMagick, a memory leak vulnerability was found in the function PersistPixelCache in magick/cache.c, which allowed attackers to cause a denial of service (memory consumption in ReadMPCImage in coders/mpc.c) via a crafted file. [bsc#1058635]
- CVE-2017-17887: In ImageMagick, a memory leak vulnerability was found in the function GetImagePixelCache in magick/cache.c, which allowed attackers to cause a denial of service via a crafted MNG image file that is processed by ReadOneMNGImage. [bsc#1074117]
- CVE-2017-18250: A NULL pointer dereference vulnerability was found in the function LogOpenCLBuildFailure in MagickCore/opencl.c, which could lead to a denial of service via a crafted file. [bsc#1087039]
- CVE-2017-18251: A memory leak vulnerability was found in the function ReadPCDImage in coders/pcd.c, which could lead to a denial of service via a crafted file. [bsc#1087037]
- CVE-2017-18252: The MogrifyImageList function in MagickWand/mogrify.c could allow attackers to cause a denial of service via a crafted file. [bsc#1087033]
- CVE-2017-18254: A memory leak vulnerability was found in the function WriteGIFImage in coders/gif.c, which could lead to denial of service via a crafted file. [bsc#1087027]
- CVE-2018-8960: The ReadTIFFImage function in coders/tiff.c in ImageMagick did not properly restrict memory allocation, leading to a heap-based buffer over-read. [bsc#1086782]
- CVE-2018-9018: divide-by-zero in the ReadMNGImage function of coders/png.c. Attackers could leverage this vulnerability to cause a crash and denial of service via a crafted mng file. [bsc#1086773]
- CVE-2018-9135: heap-based buffer over-read in IsWEBPImageLossless in coders/webp.c could lead to denial of service. [bsc#1087825]
- CVE-2018-10177: In ImageMagick, there was an infinite loop in the ReadOneMNGImage function of the coders/png.c file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted mng file. [bsc#1089781]
- CVE-2017-10928: a heap-based buffer over-read in the GetNextToken function in token.c could allow attackers to obtain sensitive information from process memory or possibly have unspecified other impact via a crafted SVG document that is mishandled in the GetUserSpaceCoordinateValue function in coders/svg.c. [bsc#1047356]
- Record
SUSE-SU-2018:1178-1- Updated
- 2026-11-02
OSVUSN-3681-1 No score
imagemagick vulnerabilities
It was discovered that ImageMagick incorrectly handled certain malformed image files. If a user or automated system using ImageMagick were tricked into opening a specially crafted image, an attacker could exploit this to cause a denial of service or possibly execute code with the privileges of the user invoking the program.
- Record
USN-3681-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagick6Alpine:v3.10 |
before 6.9.10.37-r0 | 6.9.10.37-r0 |
imagemagick6Alpine:v3.11 |
before 6.9.10.37-r0 | 6.9.10.37-r0 |
imagemagick6Alpine:v3.12 |
before 6.9.10.37-r0 | 6.9.10.37-r0 |
imagemagick6Alpine:v3.13 |
before 6.9.10.37-r0 | 6.9.10.37-r0 |
imagemagick6Alpine:v3.14 |
before 6.9.10.37-r0 | 6.9.10.37-r0 |
imagemagick6Alpine:v3.15 |
before 6.9.10.37-r0 | 6.9.10.37-r0 |
imagemagick6Alpine:v3.16 |
before 6.9.10.37-r0 | 6.9.10.37-r0 |
imagemagick6Alpine:v3.7 |
before 6.9.10.39-r0 | 6.9.10.39-r0 |
imagemagick6Alpine:v3.8 |
before 6.9.10.39-r0 | 6.9.10.39-r0 |
imagemagick6Alpine:v3.9 |
before 6.9.10.39-r0 | 6.9.10.39-r0 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.9.39+dfsg-1 | 8:6.9.9.39+dfsg-1 |
imagemagickDebian:13 |
before 8:6.9.9.39+dfsg-1 | 8:6.9.9.39+dfsg-1 |
imagemagickDebian:14 |
before 8:6.9.9.39+dfsg-1 | 8:6.9.9.39+dfsg-1 |
imagemagickDebian:9 |
before 8:6.9.7.4+dfsg-11+deb9u9, plus listed versions 8:6.9.7.4+dfsg-118:6.9.7.4+dfsg-11+deb9u18:6.9.7.4+dfsg-11+deb9u28:6.9.7.4+dfsg-11+deb9u38:6.9.7.4+dfsg-11+deb9u4 Show 4 moreShow less8:6.9.7.4+dfsg-11+deb9u58:6.9.7.4+dfsg-11+deb9u68:6.9.7.4+dfsg-11+deb9u78:6.9.7.4+dfsg-11+deb9u8 |
8:6.9.7.4+dfsg-11+deb9u9 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 6.4.3.6-78.45.1 | 6.4.3.6-78.45.1 |
ImageMagickSUSE:Linux Enterprise Server 11 SP4 |
before 6.4.3.6-78.45.1 | 6.4.3.6-78.45.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 6.4.3.6-78.45.1 | 6.4.3.6-78.45.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP3 |
before 6.8.8.1-71.54.5 | 6.8.8.1-71.54.5 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 6.8.8.1-71.54.5 | 6.8.8.1-71.54.5 |
ImageMagickSUSE:Linux Enterprise Server 12 SP3 |
before 6.8.8.1-71.54.5 | 6.8.8.1-71.54.5 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 6.8.8.1-71.54.5 | 6.8.8.1-71.54.5 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP3 |
before 6.8.8.1-71.54.5 | 6.8.8.1-71.54.5 |
imagemagickUbuntu:14.04:LTS |
before 8:6.7.7.10-6ubuntu3.11, plus listed versions 8:6.7.7.10-5ubuntu38:6.7.7.10-5ubuntu48:6.7.7.10-6ubuntu18:6.7.7.10-6ubuntu28:6.7.7.10-6ubuntu3 Show 9 moreShow less8:6.7.7.10-6ubuntu3.18:6.7.7.10-6ubuntu3.28:6.7.7.10-6ubuntu3.38:6.7.7.10-6ubuntu3.48:6.7.7.10-6ubuntu3.58:6.7.7.10-6ubuntu3.68:6.7.7.10-6ubuntu3.78:6.7.7.10-6ubuntu3.88:6.7.7.10-6ubuntu3.9 |
8:6.7.7.10-6ubuntu3.11 |
imagemagickUbuntu:16.04:LTS |
before 8:6.8.9.9-7ubuntu5.11, plus listed versions 8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1 Show 13 moreShow less8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu58:6.8.9.9-7ubuntu5.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.48:6.8.9.9-7ubuntu5.58:6.8.9.9-7ubuntu5.68:6.8.9.9-7ubuntu5.78:6.8.9.9-7ubuntu5.88:6.8.9.9-7ubuntu5.9 |
8:6.8.9.9-7ubuntu5.11 |
imagemagickUbuntu:18.04:LTS |
before 8:6.9.7.4+dfsg-16ubuntu6.2, plus listed versions 8:6.9.7.4+dfsg-16ubuntu28:6.9.7.4+dfsg-16ubuntu38:6.9.7.4+dfsg-16ubuntu48:6.9.7.4+dfsg-16ubuntu58:6.9.7.4+dfsg-16ubuntu6 |
8:6.9.7.4+dfsg-16ubuntu6.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-8960 is a high vulnerability (CVSS 8.8) in Imagemagick, published March 23, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.25%, the 91st percentile. Fixed in imagemagick6 6.9.10.37-r0.
References
github.com/ImageMagick/ImageMagick/issues/1020
usn.ubuntu.com/3681-1
securityfocus.com/bid/103523
lists.debian.org/debian-lts-announce/2020/08/msg00030.html
nvd.nist.gov/vuln/detail/CVE-2018-8960
github.com/advisories/GHSA-hpp2-pf7f-vv96
Show 154 moreShow less
security.alpinelinux.org/vuln/CVE-2018-8960
security-tracker.debian.org/tracker/CVE-2018-8960
suse.com/support/update/announcement/2018/suse-su-20181129-1
bugzilla.suse.com/1047356
bugzilla.suse.com/1086773
bugzilla.suse.com/1086782
bugzilla.suse.com/1087027
bugzilla.suse.com/1087033
bugzilla.suse.com/1087037
bugzilla.suse.com/1089781
suse.com/security/cve/CVE-2017-1000476
suse.com/security/cve/CVE-2017-10928
suse.com/security/cve/CVE-2017-18251
suse.com/security/cve/CVE-2017-18252
suse.com/security/cve/CVE-2017-18254
suse.com/security/cve/CVE-2018-10177
suse.com/security/cve/CVE-2018-8960
suse.com/security/cve/CVE-2018-9018
suse.com/support/update/announcement/2018/suse-su-20181178-1
bugzilla.suse.com/1058635
bugzilla.suse.com/1074117
bugzilla.suse.com/1087039
bugzilla.suse.com/1087825
suse.com/security/cve/CVE-2017-11450
suse.com/security/cve/CVE-2017-14325
suse.com/security/cve/CVE-2017-17887
suse.com/security/cve/CVE-2017-18250
suse.com/security/cve/CVE-2018-9135
ubuntu.com/security/CVE-2018-8960
ubuntu.com/security/notices/USN-3681-1
cve.org/CVERecord?id=CVE-2018-8960
ubuntu.com/security/CVE-2017-10995
ubuntu.com/security/CVE-2017-11352
ubuntu.com/security/CVE-2017-11533
ubuntu.com/security/CVE-2017-11535
ubuntu.com/security/CVE-2017-11537
ubuntu.com/security/CVE-2017-11639
ubuntu.com/security/CVE-2017-11640
ubuntu.com/security/CVE-2017-12140
ubuntu.com/security/CVE-2017-12418
ubuntu.com/security/CVE-2017-12429
ubuntu.com/security/CVE-2017-12430
ubuntu.com/security/CVE-2017-12431
ubuntu.com/security/CVE-2017-12432
ubuntu.com/security/CVE-2017-12433
ubuntu.com/security/CVE-2017-12435
ubuntu.com/security/CVE-2017-12563
ubuntu.com/security/CVE-2017-12587
ubuntu.com/security/CVE-2017-12640
ubuntu.com/security/CVE-2017-12643
ubuntu.com/security/CVE-2017-12644
ubuntu.com/security/CVE-2017-12670
ubuntu.com/security/CVE-2017-12674
ubuntu.com/security/CVE-2017-12691
ubuntu.com/security/CVE-2017-12692
ubuntu.com/security/CVE-2017-12693
ubuntu.com/security/CVE-2017-12875
ubuntu.com/security/CVE-2017-12877
ubuntu.com/security/CVE-2017-12983
ubuntu.com/security/CVE-2017-13058
ubuntu.com/security/CVE-2017-13059
ubuntu.com/security/CVE-2017-13060
ubuntu.com/security/CVE-2017-13061
ubuntu.com/security/CVE-2017-13062
ubuntu.com/security/CVE-2017-13131
ubuntu.com/security/CVE-2017-13134
ubuntu.com/security/CVE-2017-13139
ubuntu.com/security/CVE-2017-13142
ubuntu.com/security/CVE-2017-13143
ubuntu.com/security/CVE-2017-13144
ubuntu.com/security/CVE-2017-13145
ubuntu.com/security/CVE-2017-13758
ubuntu.com/security/CVE-2017-13768
ubuntu.com/security/CVE-2017-13769
ubuntu.com/security/CVE-2017-14060
ubuntu.com/security/CVE-2017-14172
ubuntu.com/security/CVE-2017-14173
ubuntu.com/security/CVE-2017-14174
ubuntu.com/security/CVE-2017-14175
ubuntu.com/security/CVE-2017-14224
ubuntu.com/security/CVE-2017-14249
ubuntu.com/security/CVE-2017-14325
ubuntu.com/security/CVE-2017-14326
ubuntu.com/security/CVE-2017-14341
ubuntu.com/security/CVE-2017-14342
ubuntu.com/security/CVE-2017-14343
ubuntu.com/security/CVE-2017-14400
ubuntu.com/security/CVE-2017-14505
ubuntu.com/security/CVE-2017-14531
ubuntu.com/security/CVE-2017-14532
ubuntu.com/security/CVE-2017-14533
ubuntu.com/security/CVE-2017-14607
ubuntu.com/security/CVE-2017-14624
ubuntu.com/security/CVE-2017-14625
ubuntu.com/security/CVE-2017-14626
ubuntu.com/security/CVE-2017-14682
ubuntu.com/security/CVE-2017-14684
ubuntu.com/security/CVE-2017-14739
ubuntu.com/security/CVE-2017-14741
ubuntu.com/security/CVE-2017-14989
ubuntu.com/security/CVE-2017-15015
ubuntu.com/security/CVE-2017-15016
ubuntu.com/security/CVE-2017-15017
ubuntu.com/security/CVE-2017-15032
ubuntu.com/security/CVE-2017-15033
ubuntu.com/security/CVE-2017-15217
ubuntu.com/security/CVE-2017-15218
ubuntu.com/security/CVE-2017-15277
ubuntu.com/security/CVE-2017-15281
ubuntu.com/security/CVE-2017-16546
ubuntu.com/security/CVE-2017-17499
ubuntu.com/security/CVE-2017-17504
ubuntu.com/security/CVE-2017-17680
ubuntu.com/security/CVE-2017-17681
ubuntu.com/security/CVE-2017-17682
ubuntu.com/security/CVE-2017-17879
ubuntu.com/security/CVE-2017-17881
ubuntu.com/security/CVE-2017-17882
ubuntu.com/security/CVE-2017-17884
ubuntu.com/security/CVE-2017-17885
ubuntu.com/security/CVE-2017-17886
ubuntu.com/security/CVE-2017-17887
ubuntu.com/security/CVE-2017-17914
ubuntu.com/security/CVE-2017-17934
ubuntu.com/security/CVE-2017-18008
ubuntu.com/security/CVE-2017-18022
ubuntu.com/security/CVE-2017-18027
ubuntu.com/security/CVE-2017-18028
ubuntu.com/security/CVE-2017-18029
ubuntu.com/security/CVE-2017-18209
ubuntu.com/security/CVE-2017-18211
ubuntu.com/security/CVE-2017-18251
ubuntu.com/security/CVE-2017-18252
ubuntu.com/security/CVE-2017-18254
ubuntu.com/security/CVE-2017-18271
ubuntu.com/security/CVE-2017-18273
ubuntu.com/security/CVE-2017-1000445
ubuntu.com/security/CVE-2017-1000476
ubuntu.com/security/CVE-2018-5246
ubuntu.com/security/CVE-2018-5247
ubuntu.com/security/CVE-2018-5248
ubuntu.com/security/CVE-2018-5357
ubuntu.com/security/CVE-2018-5358
ubuntu.com/security/CVE-2018-6405
ubuntu.com/security/CVE-2018-7443
ubuntu.com/security/CVE-2018-8804
ubuntu.com/security/CVE-2018-9133
ubuntu.com/security/CVE-2018-10177
ubuntu.com/security/CVE-2018-10804
ubuntu.com/security/CVE-2018-10805
ubuntu.com/security/CVE-2018-11251
ubuntu.com/security/CVE-2018-11625
ubuntu.com/security/CVE-2018-11655
ubuntu.com/security/CVE-2018-11656