Every CVE Search/ Get API key

CVE-2018-8960

The ReadTIFFImage function in coders/tiff.c in ImageMagick 7.0.7-26 Q16 does not properly...

8.8 HighFix available

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

4.25%Up 3.2 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
imagemagick6
Alpine:v3.10
before 6.9.10.37-r0
6.9.10.37-r0
imagemagick6
Alpine:v3.11
before 6.9.10.37-r0
6.9.10.37-r0
imagemagick6
Alpine:v3.12
before 6.9.10.37-r0
6.9.10.37-r0
imagemagick6
Alpine:v3.13
before 6.9.10.37-r0
6.9.10.37-r0
imagemagick6
Alpine:v3.14
before 6.9.10.37-r0
6.9.10.37-r0
imagemagick6
Alpine:v3.15
before 6.9.10.37-r0
6.9.10.37-r0
imagemagick6
Alpine:v3.16
before 6.9.10.37-r0
6.9.10.37-r0
imagemagick6
Alpine:v3.7
before 6.9.10.39-r0
6.9.10.39-r0
imagemagick6
Alpine:v3.8
before 6.9.10.39-r0
6.9.10.39-r0
imagemagick6
Alpine:v3.9
before 6.9.10.39-r0
6.9.10.39-r0
Show 15 moreShow less
Affected packages
PackageAffectedFixed
imagemagick
Debian:12
before 8:6.9.9.39+dfsg-1
8:6.9.9.39+dfsg-1
imagemagick
Debian:13
before 8:6.9.9.39+dfsg-1
8:6.9.9.39+dfsg-1
imagemagick
Debian:14
before 8:6.9.9.39+dfsg-1
8:6.9.9.39+dfsg-1
imagemagick
Debian: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 less
8: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
ImageMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 6.4.3.6-78.45.1
6.4.3.6-78.45.1
ImageMagick
SUSE:Linux Enterprise Server 11 SP4
before 6.4.3.6-78.45.1
6.4.3.6-78.45.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 6.4.3.6-78.45.1
6.4.3.6-78.45.1
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP3
before 6.8.8.1-71.54.5
6.8.8.1-71.54.5
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 6.8.8.1-71.54.5
6.8.8.1-71.54.5
ImageMagick
SUSE:Linux Enterprise Server 12 SP3
before 6.8.8.1-71.54.5
6.8.8.1-71.54.5
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 6.8.8.1-71.54.5
6.8.8.1-71.54.5
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP3
before 6.8.8.1-71.54.5
6.8.8.1-71.54.5
imagemagick
Ubuntu: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 less
8: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
imagemagick
Ubuntu: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 less
8: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
imagemagick
Ubuntu: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

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE 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

Show 154 moreShow less
MoveEnter Open