Every CVE Search/ Get API key

CVE-2019-12977

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image...

7.8 HighFix available

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image function in coders/jp2.c.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.88%Up 0.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image function in coders/jp2.c.

Record
CVE-2019-12977
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/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-665
Updated
2026-11-02
CVE List No score

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image function in coders/jp2.c.

Record
CVE-2019-12977
Updated
2026-11-02
EUVDEUVD-2019-4552 No score

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image function in coders/jp2.c.

Record
EUVD-2019-4552
Updated
2026-11-03
GitHub AdvisoriesGHSA-c95q-hjp6-cfq4 No score

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image...

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image function in coders/jp2.c.

Record
GHSA-c95q-hjp6-cfq4
Updated
2026-11-02
OSV 7.8

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image function in coders/jp2.c.

Record
CVE-2019-12977
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-12977 7.8

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image function in coders/jp2.c.

Record
DEBIAN-CVE-2019-12977
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2019-12977 7.8

ImageMagick 7.0.8-34 has a "use of uninitialized value" vulnerability in the WriteJP2Image function in coders/jp2.c.

Record
UBUNTU-CVE-2019-12977
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2019:1983-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

  • CVE-2019-13301: Fixed a memory leak in AcquireMagickMemory() (bsc#1140554).
  • CVE-2019-13309: Fixed a memory leak at AcquireMagickMemory due to mishandling the NoSuchImage error in CLIListOperatorImages (bsc#1140520).
  • CVE-2019-13310: Fixed a memory leak at AcquireMagickMemory because of an error in MagickWand/mogrify.c (bsc#1140501).
  • CVE-2019-13311: Fixed a memory leak at AcquireMagickMemory because of a wand/mogrify.c error (bsc#1140513).
  • CVE-2019-13303: Fixed a heap-based buffer over-read in MagickCore/composite.c in CompositeImage (bsc#1140549).
  • CVE-2019-13296: Fixed a memory leak in AcquireMagickMemory because of an error in CLIListOperatorImages in MagickWand/operation.c (bsc#1140665).
  • CVE-2019-13299: Fixed a heap-based buffer over-read at MagickCore/pixel-accessor.h in GetPixelChannel (bsc#1140668).
  • CVE-2019-13454: Fixed a division by zero in RemoveDuplicateLayers in MagickCore/layer.c (bsc#1141171).
  • CVE-2019-13295: Fixed a heap-based buffer over-read at MagickCore/threshold.c in AdaptiveThresholdImage (bsc#1140664).
  • CVE-2019-13297: Fixed a heap-based buffer over-read at MagickCore/threshold.c in AdaptiveThresholdImage (bsc#1140666).
  • CVE-2019-12979: Fixed the use of uninitialized values in SyncImageSettings() (bsc#1139886).
  • CVE-2019-13391: Fixed a heap-based buffer over-read in MagickCore/fourier.c (bsc#1140673).
  • CVE-2019-13308: Fixed a heap-based buffer overflow in MagickCore/fourier.c (bsc#1140534).
  • CVE-2019-13302: Fixed a heap-based buffer over-read in MagickCore/fourier.c in ComplexImages (bsc#1140552).
  • CVE-2019-13298: Fixed a heap-based buffer overflow at MagickCore/pixel-accessor.h in SetPixelViaPixelInfo (bsc#1140667).
  • CVE-2019-13300: Fixed a heap-based buffer overflow at MagickCore/statistic.c in EvaluateImages (bsc#1140669).
  • CVE-2019-13307: Fixed a heap-based buffer overflow at MagickCore/statistic.c (bsc#1140538).
  • CVE-2019-12977: Fixed the use of uninitialized values in WriteJP2Imag() (bsc#1139884).
  • CVE-2019-12975: Fixed a memory leak in the WriteDPXImage() in coders/dpx.c (bsc#1140106).
  • CVE-2019-13135: Fixed the use of uninitialized values in ReadCUTImage() (bsc#1140103).
  • CVE-2019-12978: Fixed the use of uninitialized values in ReadPANGOImage() (bsc#1139885).
  • CVE-2019-12974: Fixed a NULL pointer dereference in the ReadPANGOImage() (bsc#1140111).
  • CVE-2019-13304: Fixed a stack-based buffer overflow at coders/pnm.c in WritePNMImage (bsc#1140547).
  • CVE-2019-13305: Fixed one more stack-based buffer overflow at coders/pnm.c in WritePNMImage (bsc#1140545).
  • CVE-2019-13306: Fixed an additional stack-based buffer overflow at coders/pnm.c in WritePNMImage (bsc#1140543).
  • CVE-2019-13133: Fixed a memory leak in the ReadBMPImage() (bsc#1140100).
  • CVE-2019-13134: Fixed a memory leak in the ReadVIFFImage() (bsc#1140102).
  • CVE-2019-13137: Fixed a memory leak in the ReadPSImage() (bsc#1140105).
  • CVE-2019-13136: Fixed a integer overflow vulnerability in the TIFFSeekCustomStream() (bsc#1140104).
  • CVE-2019-12976: Fixed a memory leak in the ReadPCLImage() in coders/pcl.c(bsc#1140110).

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

Record
openSUSE-SU-2019:1983-1
Updated
2026-11-02
OSVSUSE-SU-2019:2106-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

  • CVE-2019-13301: Fixed a memory leak in AcquireMagickMemory() (bsc#1140554).
  • CVE-2019-13309: Fixed a memory leak at AcquireMagickMemory due to mishandling the NoSuchImage error in CLIListOperatorImages (bsc#1140520).
  • CVE-2019-13310: Fixed a memory leak at AcquireMagickMemory because of an error in MagickWand/mogrify.c (bsc#1140501).
  • CVE-2019-13311: Fixed a memory leak at AcquireMagickMemory because of a wand/mogrify.c error (bsc#1140513).
  • CVE-2019-13303: Fixed a heap-based buffer over-read in MagickCore/composite.c in CompositeImage (bsc#1140549).
  • CVE-2019-13296: Fixed a memory leak in AcquireMagickMemory because of an error in CLIListOperatorImages in MagickWand/operation.c (bsc#1140665).
  • CVE-2019-13299: Fixed a heap-based buffer over-read at MagickCore/pixel-accessor.h in GetPixelChannel (bsc#1140668).
  • CVE-2019-13454: Fixed a division by zero in RemoveDuplicateLayers in MagickCore/layer.c (bsc#1141171).
  • CVE-2019-13295: Fixed a heap-based buffer over-read at MagickCore/threshold.c in AdaptiveThresholdImage (bsc#1140664).
  • CVE-2019-13297: Fixed a heap-based buffer over-read at MagickCore/threshold.c in AdaptiveThresholdImage (bsc#1140666).
  • CVE-2019-12979: Fixed the use of uninitialized values in SyncImageSettings() (bsc#1139886).
  • CVE-2019-13391: Fixed a heap-based buffer over-read in MagickCore/fourier.c (bsc#1140673).
  • CVE-2019-13308: Fixed a heap-based buffer overflow in MagickCore/fourier.c (bsc#1140534).
  • CVE-2019-13302: Fixed a heap-based buffer over-read in MagickCore/fourier.c in ComplexImages (bsc#1140552).
  • CVE-2019-13298: Fixed a heap-based buffer overflow at MagickCore/pixel-accessor.h in SetPixelViaPixelInfo (bsc#1140667).
  • CVE-2019-13300: Fixed a heap-based buffer overflow at MagickCore/statistic.c in EvaluateImages (bsc#1140669).
  • CVE-2019-13307: Fixed a heap-based buffer overflow at MagickCore/statistic.c (bsc#1140538).
  • CVE-2019-12977: Fixed the use of uninitialized values in WriteJP2Imag() (bsc#1139884).
  • CVE-2019-12975: Fixed a memory leak in the WriteDPXImage() in coders/dpx.c (bsc#1140106).
  • CVE-2019-13135: Fixed the use of uninitialized values in ReadCUTImage() (bsc#1140103).
  • CVE-2019-12978: Fixed the use of uninitialized values in ReadPANGOImage() (bsc#1139885).
  • CVE-2019-12974: Fixed a NULL pointer dereference in the ReadPANGOImage() (bsc#1140111).
  • CVE-2019-13304: Fixed a stack-based buffer overflow at coders/pnm.c in WritePNMImage (bsc#1140547).
  • CVE-2019-13305: Fixed one more stack-based buffer overflow at coders/pnm.c in WritePNMImage (bsc#1140545).
  • CVE-2019-13306: Fixed an additional stack-based buffer overflow at coders/pnm.c in WritePNMImage (bsc#1140543).
  • CVE-2019-13133: Fixed a memory leak in the ReadBMPImage() (bsc#1140100).
  • CVE-2019-13134: Fixed a memory leak in the ReadVIFFImage() (bsc#1140102).
  • CVE-2019-13137: Fixed a memory leak in the ReadPSImage() (bsc#1140105).
  • CVE-2019-13136: Fixed a integer overflow vulnerability in the TIFFSeekCustomStream() (bsc#1140104).
  • CVE-2019-12976: Fixed a memory leak in the ReadPCLImage() in coders/pcl.c(bsc#1140110).
Record
SUSE-SU-2019:2106-1
Updated
2026-11-02
OSVUSN-4192-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-4192-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
imagemagick
Debian:12
before 8:6.9.11.24+dfsg-1
8:6.9.11.24+dfsg-1
imagemagick
Debian:13
before 8:6.9.11.24+dfsg-1
8:6.9.11.24+dfsg-1
imagemagick
Debian:14
before 8:6.9.11.24+dfsg-1
8:6.9.11.24+dfsg-1
imagemagick
Debian:9
From an advisory covering 24 CVEs
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
Debian:10
From an advisory covering 41 CVEs
before 8:6.9.10.23+dfsg-2.1+deb10u1, plus listed versions
8:6.9.10.23+dfsg-2.1
8:6.9.10.23+dfsg-2.1+deb10u1
ImageMagick
SUSE:Linux Enterprise Module for Desktop Applications 15
From an advisory covering 30 CVEs
before 7.0.7.34-3.67.1
7.0.7.34-3.67.1
ImageMagick
SUSE:Linux Enterprise Module for Desktop Applications 15 SP1
From an advisory covering 30 CVEs
before 7.0.7.34-3.67.1
7.0.7.34-3.67.1
ImageMagick
SUSE:Linux Enterprise Module for Development Tools 15
From an advisory covering 30 CVEs
before 7.0.7.34-3.67.1
7.0.7.34-3.67.1
ImageMagick
SUSE:Linux Enterprise Module for Development Tools 15 SP1
From an advisory covering 30 CVEs
before 7.0.7.34-3.67.1
7.0.7.34-3.67.1
imagemagick
Ubuntu:16.04:LTS
before 8:6.8.9.9-7ubuntu5.15, 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 17 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.138:6.8.9.9-7ubuntu5.14
8:6.8.9.9-7ubuntu5.15
Show 6 moreShow less
Affected packages
PackageAffectedFixed
imagemagick
Ubuntu:18.04:LTS
before 8:6.9.7.4+dfsg-16ubuntu6.8, 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
Show 4 moreShow less
8:6.9.7.4+dfsg-16ubuntu6.28:6.9.7.4+dfsg-16ubuntu6.38:6.9.7.4+dfsg-16ubuntu6.48:6.9.7.4+dfsg-16ubuntu6.7
8:6.9.7.4+dfsg-16ubuntu6.8
imagemagick
Ubuntu:20.04:LTS
before 8:6.9.10.23+dfsg-2.1ubuntu9, plus listed versions
8:6.9.10.23+dfsg-2.1ubuntu38:6.9.10.23+dfsg-2.1ubuntu8
8:6.9.10.23+dfsg-2.1ubuntu9
imagemagick
Ubuntu:16.04:LTS
From an advisory covering 30 CVEs
before 8:6.8.9.9-7ubuntu5.15, 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 17 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.138:6.8.9.9-7ubuntu5.14
8:6.8.9.9-7ubuntu5.15
imagemagick
Ubuntu:18.04:LTS
From an advisory covering 30 CVEs
before 8:6.9.7.4+dfsg-16ubuntu6.8, 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
Show 4 moreShow less
8:6.9.7.4+dfsg-16ubuntu6.28:6.9.7.4+dfsg-16ubuntu6.38:6.9.7.4+dfsg-16ubuntu6.48:6.9.7.4+dfsg-16ubuntu6.7
8:6.9.7.4+dfsg-16ubuntu6.8
ImageMagick
openSUSE:Leap 15.0
From an advisory covering 30 CVEs
before 7.0.7.34-lp151.7.9.1
7.0.7.34-lp151.7.9.1
ImageMagick
openSUSE:Leap 15.1
From an advisory covering 30 CVEs
before 7.0.7.34-lp151.7.9.1
7.0.7.34-lp151.7.9.1

History

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

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

In short

CVE-2019-12977 is a high vulnerability (CVSS 7.8) in Imagemagick, published June 26, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.88%, the 79th percentile. Fixed in imagemagick 8:6.9.11.24+dfsg-1.

References

Show 97 moreShow less
MoveEnter Open