Every CVE Search/ Get API key

CVE-2018-16412

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c...

8.8 HighFix available

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.

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.48%Up 2.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.

Record
CVE-2018-16412
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

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.

Record
CVE-2018-16412
Updated
2026-11-02
EUVDEUVD-2018-8252 No score

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.

Record
EUVD-2018-8252
Updated
2026-11-03
GitHub AdvisoriesGHSA-qhmx-5r65-gg8m 8.8

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c...

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.

Record
GHSA-qhmx-5r65-gg8m
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
OSV 8.8

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.

Record
CVE-2018-16412
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
OSVDEBIAN-CVE-2018-16412 8.8

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.

Record
DEBIAN-CVE-2018-16412
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 8 moreShow less
OSVUBUNTU-CVE-2018-16412 8.8

ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.

Record
UBUNTU-CVE-2018-16412
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
OSVopenSUSE-SU-2019:1141-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

Security issues fixed:

  • CVE-2019-7175: Fixed multiple memory leaks in DecodeImage function (bsc#1128649).
  • CVE-2018-18544: Fixed a memory leak in the function WriteMSLImage (bsc#1113064).
  • CVE-2018-20467: Fixed an infinite loop in coders/bmp.c (bsc#1120381).
  • CVE-2019-7398: Fixed a memory leak in the function WriteDIBImage (bsc#1124365).
  • CVE-2019-7396: Fixed a memory leak in the function ReadSIXELImage (bsc#1124367).
  • CVE-2019-7395: Fixed a memory leak in the function WritePSDChannel (bsc#1124368).
  • CVE-2019-7397: Fixed a memory leak in the function WritePDFImage (bsc#1124366).
  • CVE-2018-16412: Prevent heap-based buffer over-read in the ParseImageResourceBlocks function leading to DOS (bsc#1106996).

Non-security issue fixed:

  • Fixed a regression in regards to the 'edge' comand line flag (bsc#1106415)

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:1141-1
Updated
2026-11-02
OSVSUSE-SU-2019:0739-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

Security issues fixed:

  • CVE-2019-7175: Fixed multiple memory leaks in DecodeImage function (bsc#1128649).
  • CVE-2018-18544: Fixed a memory leak in the function WriteMSLImage (bsc#1113064).
  • CVE-2018-20467: Fixed an infinite loop in coders/bmp.c (bsc#1120381).
  • CVE-2019-7398: Fixed a memory leak in the function WriteDIBImage (bsc#1124365).
  • CVE-2019-7396: Fixed a memory leak in the function ReadSIXELImage (bsc#1124367).
  • CVE-2019-7395: Fixed a memory leak in the function WritePSDChannel (bsc#1124368).
  • CVE-2019-7397: Fixed a memory leak in the function WritePDFImage (bsc#1124366).
  • CVE-2018-16412: Prevent heap-based buffer over-read in the ParseImageResourceBlocks function leading to DOS (bsc#1106996).

Non-security issue fixed:

  • Fixed a regression in regards to the 'edge' comand line flag (bsc#1106415)
Record
SUSE-SU-2019:0739-1
Updated
2026-11-02
OSVSUSE-SU-2019:1033-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

Security issues fixed:

  • CVE-2019-9956: Fixed a stack-based buffer overflow in PopHexPixel() (bsc#1130330).

  • CVE-2019-10650: Fixed a heap-based buffer over-read in WriteTIFFImage() (bsc#1131317).

  • CVE-2019-7175: Fixed multiple memory leaks in DecodeImage function (bsc#1128649).

  • CVE-2018-20467: Fixed infinite loop in coders/bmp.c (bsc#1120381).

  • CVE-2019-7398: Fixed a memory leak in the function WriteDIBImage (bsc#1124365).

  • CVE-2019-7397: Fixed a memory leak in the function WritePDFImage (bsc#1124366).

  • CVE-2019-7395: Fixed a memory leak in the function WritePSDChannel (bsc#1124368).

  • CVE-2018-16413: Fixed a heap-based buffer over-read in PushShortPixel() (bsc#1106989).

  • CVE-2018-16412: Fixed a heap-based buffer over-read in ParseImageResourceBlocks() (bsc#1106996).

  • CVE-2018-16644: Fixed a regression in dcm coder (bsc#1107609).

  • CVE-2019-11007: Fixed a heap-based buffer overflow in ReadMNGImage() (bsc#1132060).

  • CVE-2019-11008: Fixed a heap-based buffer overflow in WriteXWDImage() (bsc#1132054).

  • CVE-2019-11009: Fixed a heap-based buffer over-read in ReadXWDImage() (bsc#1132053).

  • Added extra -config- packages with Postscript/EPS/PDF readers still enabled.

    Removing the PS decoders is used to harden ImageMagick against security issues within ghostscript. Enabling them might impact security. (bsc#1122033)

    These are two packages that can be selected:

    • ImageMagick-config-6-SUSE: This has the PS decoders disabled.
    • ImageMagick-config-6-upstream: This has the PS decoders enabled.

    Depending on your local needs install either one of them. The default is the -SUSE configuration.

Record
SUSE-SU-2019:1033-1
Updated
2026-11-02
OSVSUSE-SU-2019:1033-2 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

Security issues fixed:

  • CVE-2019-9956: Fixed a stack-based buffer overflow in PopHexPixel() (bsc#1130330).

  • CVE-2019-10650: Fixed a heap-based buffer over-read in WriteTIFFImage() (bsc#1131317).

  • CVE-2019-7175: Fixed multiple memory leaks in DecodeImage function (bsc#1128649).

  • CVE-2018-20467: Fixed infinite loop in coders/bmp.c (bsc#1120381).

  • CVE-2019-7398: Fixed a memory leak in the function WriteDIBImage (bsc#1124365).

  • CVE-2019-7397: Fixed a memory leak in the function WritePDFImage (bsc#1124366).

  • CVE-2019-7395: Fixed a memory leak in the function WritePSDChannel (bsc#1124368).

  • CVE-2018-16413: Fixed a heap-based buffer over-read in PushShortPixel() (bsc#1106989).

  • CVE-2018-16412: Fixed a heap-based buffer over-read in ParseImageResourceBlocks() (bsc#1106996).

  • CVE-2018-16644: Fixed a regression in dcm coder (bsc#1107609).

  • CVE-2019-11007: Fixed a heap-based buffer overflow in ReadMNGImage() (bsc#1132060).

  • CVE-2019-11008: Fixed a heap-based buffer overflow in WriteXWDImage() (bsc#1132054).

  • CVE-2019-11009: Fixed a heap-based buffer over-read in ReadXWDImage() (bsc#1132053).

  • Added extra -config- packages with Postscript/EPS/PDF readers still enabled.

    Removing the PS decoders is used to harden ImageMagick against security issues within ghostscript. Enabling them might impact security. (bsc#1122033)

    These are two packages that can be selected:

    • ImageMagick-config-6-SUSE: This has the PS decoders disabled.
    • ImageMagick-config-6-upstream: This has the PS decoders enabled.

    Depending on your local needs install either one of them. The default is the -SUSE configuration.

Record
SUSE-SU-2019:1033-2
Updated
2026-11-02
OSVSUSE-SU-2019:13993-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

Security issues fixed:

  • CVE-2019-7175: Fixed multiple memory leaks in DecodeImage function (bsc#1128649).
  • CVE-2018-18544: Fixed memory leak in the function WriteMSLImage (bsc#1113064).
  • CVE-2018-20467: Fixed infinite loop in coders/bmp.c (bsc#1120381).
  • CVE-2019-7397: Fixed a memory leak in the function WritePDFImage (bsc#1124366).
  • CVE-2018-16413: Prevent heap-based buffer over-read in the PushShortPixel function leading to DoS (bsc#1106989).
  • CVE-2018-16412: Prevent heap-based buffer over-read in the ParseImageResourceBlocks function leading to DOS (bsc#1106996).
  • CVE-2019-7398: Fixed a memory leak in the function WriteDIBImage (bsc#1124365).
Record
SUSE-SU-2019:13993-1
Updated
2026-11-02
OSVUSN-4034-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.

Due to a large number of issues discovered in GhostScript that prevent it from being used by ImageMagick safely, the update for Ubuntu 18.10 and Ubuntu 19.04 includes a default policy change that disables support for the Postscript and PDF formats in ImageMagick. This policy can be overridden if necessary by using an alternate ImageMagick policy configuration.

Record
USN-4034-1
Updated
2026-11-02
OSVUSN-6980-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-6980-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
imagemagick
Debian:12
before 8:6.9.10.14+dfsg-1
8:6.9.10.14+dfsg-1
imagemagick
Debian:13
before 8:6.9.10.14+dfsg-1
8:6.9.10.14+dfsg-1
imagemagick
Debian:14
before 8:6.9.10.14+dfsg-1
8:6.9.10.14+dfsg-1
imagemagick
Debian:8
before 8:6.8.9.9-5+deb8u14, plus listed versions
8:6.8.9.9-58:6.8.9.9-5+deb8u18:6.8.9.9-5+deb8u108:6.8.9.9-5+deb8u118:6.8.9.9-5+deb8u12
Show 9 moreShow less
8:6.8.9.9-5+deb8u138:6.8.9.9-5+deb8u28:6.8.9.9-5+deb8u38:6.8.9.9-5+deb8u48:6.8.9.9-5+deb8u58:6.8.9.9-5+deb8u68:6.8.9.9-5+deb8u78:6.8.9.9-5+deb8u88:6.8.9.9-5+deb8u9
8:6.8.9.9-5+deb8u14
imagemagick
Debian:9
before 8:6.9.7.4+dfsg-11+deb9u6, 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+deb9u48:6.9.7.4+dfsg-11+deb9u5
8:6.9.7.4+dfsg-11+deb9u6
ImageMagick
SUSE:Linux Enterprise Module for Desktop Applications 15
before 7.0.7.34-3.49.4
7.0.7.34-3.49.4
ImageMagick
SUSE:Linux Enterprise Module for Development Tools 15
before 7.0.7.34-3.49.4
7.0.7.34-3.49.4
ImageMagick
SUSE:OpenStack Cloud 7
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP3
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP4
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
Show 23 moreShow less
Affected packages
PackageAffectedFixed
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server 12-LTSS
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP2-BCL
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP3
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP4
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP3
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP4
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Enterprise Storage 4
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 6.8.8.1-71.108.1
6.8.8.1-71.108.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 6.4.3.6-78.92.1
6.4.3.6-78.92.1
ImageMagick
SUSE:Linux Enterprise Point of Sale 11 SP3
before 6.4.3.6-78.92.1
6.4.3.6-78.92.1
ImageMagick
SUSE:Linux Enterprise Server 11 SP4
before 6.4.3.6-78.92.1
6.4.3.6-78.92.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 6.4.3.6-78.92.1
6.4.3.6-78.92.1
imagemagick
Ubuntu:Pro:14.04:LTS
before 8:6.7.7.10-6ubuntu3.13+esm8, 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 19 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.98:6.7.7.10-6ubuntu3.118:6.7.7.10-6ubuntu3.128:6.7.7.10-6ubuntu3.138:6.7.7.10-6ubuntu3.13+esm18:6.7.7.10-6ubuntu3.13+esm28:6.7.7.10-6ubuntu3.13+esm38:6.7.7.10-6ubuntu3.13+esm48:6.7.7.10-6ubuntu3.13+esm58:6.7.7.10-6ubuntu3.13+esm68:6.7.7.10-6ubuntu3.13+esm7
8:6.7.7.10-6ubuntu3.13+esm8
imagemagick
Ubuntu:16.04:LTS
before 8:6.8.9.9-7ubuntu5.14, 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 16 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.98:6.8.9.9-7ubuntu5.118:6.8.9.9-7ubuntu5.128:6.8.9.9-7ubuntu5.13
8:6.8.9.9-7ubuntu5.14
imagemagick
Ubuntu:18.04:LTS
before 8:6.9.7.4+dfsg-16ubuntu6.7, 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-16ubuntu68:6.9.7.4+dfsg-16ubuntu6.28:6.9.7.4+dfsg-16ubuntu6.38:6.9.7.4+dfsg-16ubuntu6.4
8:6.9.7.4+dfsg-16ubuntu6.7
ImageMagick
openSUSE:Leap 15.0
before 7.0.7.34-lp150.2.26.1
7.0.7.34-lp150.2.26.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-16412 is a high vulnerability (CVSS 8.8) in Imagemagick, published September 3, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.48%, the 91st percentile. Fixed in imagemagick 8:6.9.10.14+dfsg-1.

References

Show 75 moreShow less
MoveEnter Open