Every CVE Search/ Get API key

CVE-2017-12671

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an...

6.5 MediumFix available

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

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
None
Integrity
None
Availability
High

Exploit likelihood

1.11%Up 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Record
CVE-2017-12671
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Record
CVE-2017-12671
Updated
2026-11-02
EUVDEUVD-2017-4210 No score

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Record
EUVD-2017-4210
Updated
2026-11-03
GitHub AdvisoriesGHSA-3g35-2jhp-9xcc 6.5

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an...

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Record
GHSA-3g35-2jhp-9xcc
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-416
Updated
2026-11-02
OSV 6.5

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Record
CVE-2017-12671
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-12671 6.5

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Record
DEBIAN-CVE-2017-12671
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2017-12671 6.5

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Record
UBUNTU-CVE-2017-12671
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2018-0229 No score

Updated imagemagick packages fix security vulnerabilities

The imagemagick package has been updated to version 6.9.9.41 which fixes several unspecified security vulnerabilities. This update fixes several vulnerabilities in imagemagick, including: Various memory handling problems and cases of missing or incomplete input sanitising may result in denial of service, memory disclosure or the execution of arbitrary code if malformed GIF, TTF, SVG, TIFF, PCX, JPG or SFW files are processed.

Several packages have been rebuilt for the updated ImageMagick.

Record
MGASA-2018-0229
Updated
2026-11-02
OSVSUSE-SU-2018:0349-1 No score

Security update for ImageMagick

This update for ImageMagick fixes several issues.

These security issues were fixed:

  • CVE-2017-18027: Prevent memory leak vulnerability in the function ReadMATImage which allowed remote attackers to cause a denial of service via a crafted file (bsc#1076051)
  • CVE-2017-18029: Prevent memory leak in the function ReadMATImage which allowed remote attackers to cause a denial of service via a crafted file (bsc#1076021)
  • CVE-2017-17681: Prevent infinite loop in the function ReadPSDChannelZip in coders/psd.c, which allowed attackers to cause a denial of service (CPU exhaustion) via a crafted psd image file (bsc#1072901).
  • CVE-2017-18008: Prevent memory Leak in ReadPWPImage which allowed attackers to cause a denial of service via a PWP file (bsc#1074309).
  • CVE-2018-5685: Prevent infinite loop and application hang in the ReadBMPImage function. Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value (bsc#1075939)
  • CVE-2017-11639: Prevent heap-based buffer over-read in the WriteCIPImage() function, related to the GetPixelLuma function in MagickCore/pixel-accessor.h (bsc#1050635)
  • CVE-2017-11525: Prevent memory consumption in the ReadCINImage function that allowed remote attackers to cause a denial of service (bsc#1050098)
  • CVE-2017-9262: The ReadJNGImage function in coders/png.c allowed attackers to cause a denial of service (memory leak) via a crafted file (bsc#1043353).
  • CVE-2017-9261: The ReadMNGImage function in coders/png.c allowed attackers to cause a denial of service (memory leak) via a crafted file (bsc#1043354).
  • CVE-2017-10995: The mng_get_long function in coders/png.c allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted MNG image (bsc#1047908).
  • CVE-2017-11539: Prevent memory leak in the ReadOnePNGImage() function in coders/png.c (bsc#1050037).
  • CVE-2017-11505: The ReadOneJNGImage function in coders/png.c allowed remote attackers to cause a denial of service (large loop and CPU consumption) via a crafted file (bsc#1050072).
  • CVE-2017-11526: The ReadOneMNGImage function in coders/png.c allowed remote attackers to cause a denial of service (large loop and CPU consumption) via a crafted file (bsc#1050100).
  • CVE-2017-11750: The ReadOneJNGImage function in coders/png.c allowed remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file (bsc#1051442).
  • CVE-2017-12565: Prevent memory leak in the function ReadOneJNGImage in coders/png.c, which allowed attackers to cause a denial of service (bsc#1052470).
  • CVE-2017-12676: Prevent memory leak in the function ReadOneJNGImage in coders/png.c, which allowed attackers to cause a denial of service (bsc#1052708).
  • CVE-2017-12673: Prevent memory leak in the function ReadOneMNGImage in coders/png.c, which allowed attackers to cause a denial of service (bsc#1052717).
  • CVE-2017-12671: Added NULL assignment in coders/png.c to prevent an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allowed attackers to cause a denial of service (bsc#1052721).
  • CVE-2017-12643: Prevent a memory exhaustion vulnerability in ReadOneJNGImage in coders\png.c (bsc#1052768).
  • CVE-2017-12641: Prevent a memory leak vulnerability in ReadOneJNGImage in coders\png.c (bsc#1052777).
  • CVE-2017-12640: Prevent an out-of-bounds read vulnerability in ReadOneMNGImage in coders/png.c (bsc#1052781).
  • CVE-2017-12935: The ReadMNGImage function in coders/png.c mishandled large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c (bsc#1054600).
  • CVE-2017-13059: Prevent memory leak in the function WriteOneJNGImage in coders/png.c, which allowed attackers to cause a denial of service (WriteJNGImage memory consumption) via a crafted file (bsc#1055068).
  • CVE-2017-13147: Prevent allocation…
Record
SUSE-SU-2018:0349-1
Updated
2026-11-02
OSVSUSE-SU-2018:0350-1 No score

Security update for ImageMagick

This update for ImageMagick fixes several issues.

These security issues were fixed:

  • CVE-2018-5685: Prevent infinite loop and application hang in the ReadBMPImage function. Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value (bsc#1075939)
  • CVE-2017-11639: Prevent heap-based buffer over-read in the WriteCIPImage() function, related to the GetPixelLuma function in MagickCore/pixel-accessor.h (bsc#1050635).
  • CVE-2017-11525: Prevent memory consumption in the ReadCINImage function that allowed remote attackers to cause a denial of service (bsc#1050098).
  • CVE-2017-9262: The ReadJNGImage function in coders/png.c allowed attackers to cause a denial of service (memory leak) via a crafted file (bsc#1043353)
  • CVE-2017-9261: The ReadMNGImage function in coders/png.c allowed attackers to cause a denial of service (memory leak) via a crafted file (bsc#1043354)
  • CVE-2017-10995: The mng_get_long function in coders/png.c allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted MNG image (bsc#1047908)
  • CVE-2017-11539: Prevent memory leak in the ReadOnePNGImage() function in coders/png.c (bsc#1050037)
  • CVE-2017-11505: The ReadOneJNGImage function in coders/png.c allowed remote attackers to cause a denial of service (large loop and CPU consumption) via a crafted file (bsc#1050072)
  • CVE-2017-11526: The ReadOneMNGImage function in coders/png.c allowed remote attackers to cause a denial of service (large loop and CPU consumption) via a crafted file (bsc#1050100)
  • CVE-2017-11750: The ReadOneJNGImage function in coders/png.c allowed remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file (bsc#1051442)
  • CVE-2017-12565: Prevent memory leak in the function ReadOneJNGImage in coders/png.c, which allowed attackers to cause a denial of service (bsc#1052470)
  • CVE-2017-12676: Prevent memory leak in the function ReadOneJNGImage in coders/png.c, which allowed attackers to cause a denial of service (bsc#1052708)
  • CVE-2017-12673: Prevent memory leak in the function ReadOneMNGImage in coders/png.c, which allowed attackers to cause a denial of service (bsc#1052717)
  • CVE-2017-12671: Added NULL assignment in coders/png.c to prevent an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allowed attackers to cause a denial of service (bsc#1052721)
  • CVE-2017-12643: Prevent a memory exhaustion vulnerability in ReadOneJNGImage in coders\png.c (bsc#1052768)
  • CVE-2017-12641: Prevent a memory leak vulnerability in ReadOneJNGImage in coders\png.c (bsc#1052777)
  • CVE-2017-12640: Prevent an out-of-bounds read vulnerability in ReadOneMNGImage in coders/png.c (bsc#1052781)
  • CVE-2017-12935: The ReadMNGImage function in coders/png.c mishandled large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c (bsc#1054600)
  • CVE-2017-13147: Prevent allocation failure in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value (bsc#1055374)
  • CVE-2017-13142: Added additional checks for short files to prevent a crafted PNG file from triggering a crash (bsc#1055455)
  • CVE-2017-13141: Prevent memory leak in ReadOnePNGImage in coders/png.c (bsc#1055456)
  • CVE-2017-14103: The ReadJNGImage and ReadOneJNGImage functions in coders/png.c did not properly manage image pointers after certain error conditions, which allowed remote attackers to conduct use-after-free attacks via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call (bsc#1057000)
  • CVE-2017-14649: ReadOneJNGImage in coders/png.c did not properly validate JNG data, leading to a denial of service (assertion failure in magick/pixel_cache.c, and application crash) (bsc#1060162)
  • CVE-2017-15218: Prevent memory leak in…
Record
SUSE-SU-2018:0350-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
imagemagick
Debian:12
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:13
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:14
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:9
From an advisory covering 22 CVEs
before 8:6.9.7.4+dfsg-11+deb9u2, plus listed versions
8:6.9.7.4+dfsg-118:6.9.7.4+dfsg-11+deb9u1
8:6.9.7.4+dfsg-11+deb9u2
converseen
Mageia:6
From an advisory covering 104 CVEs
before 0.9.6.2-1.3.mga6
0.9.6.2-1.3.mga6
cuneiform-linux
Mageia:6
From an advisory covering 104 CVEs
before 1.1.0-9.2.mga6
1.1.0-9.2.mga6
dvdauthor
Mageia:6
From an advisory covering 104 CVEs
before 0.7.2-2.2.mga6
0.7.2-2.2.mga6
emacs
Mageia:6
From an advisory covering 104 CVEs
before 24.5-8.3.mga6
24.5-8.3.mga6
imagemagick
Mageia:6
From an advisory covering 104 CVEs
before 6.9.9.41-1.mga6
6.9.9.41-1.mga6
inkscape
Mageia:6
From an advisory covering 104 CVEs
before 0.92.1-2.2.mga6
0.92.1-2.2.mga6
Show 28 moreShow less
Affected packages
PackageAffectedFixed
k3d
Mageia:6
From an advisory covering 104 CVEs
before 0.8.0.5-5.2.mga6
0.8.0.5-5.2.mga6
kxstitch
Mageia:6
From an advisory covering 104 CVEs
before 2.0.0-2.2.mga6
2.0.0-2.2.mga6
libopenshot
Mageia:6
From an advisory covering 104 CVEs
before 0.1.8-1.2.mga6
0.1.8-1.2.mga6
ocaml-glmlite
Mageia:6
From an advisory covering 104 CVEs
before 0.03.51-17.2.mga6
0.03.51-17.2.mga6
perl-Image-SubImageFind
Mageia:6
From an advisory covering 104 CVEs
before 0.30.0-6.2.mga6
0.30.0-6.2.mga6
pfstools
Mageia:6
From an advisory covering 104 CVEs
before 2.0.6-3.2.mga6
2.0.6-3.2.mga6
php-imagick
Mageia:6
From an advisory covering 104 CVEs
before 3.4.1-6.2.mga6
3.4.1-6.2.mga6
php-magickwand
Mageia:6
From an advisory covering 104 CVEs
before 1.0.9.2-10.2.mga6
1.0.9.2-10.2.mga6
psiconv
Mageia:6
From an advisory covering 104 CVEs
before 0.9.8-26.2.mga6
0.9.8-26.2.mga6
pythonmagick
Mageia:6
From an advisory covering 104 CVEs
before 0.9.12-7.2.mga6
0.9.12-7.2.mga6
ruby-rmagick
Mageia:6
From an advisory covering 104 CVEs
before 2.15.4-12.2.mga6
2.15.4-12.2.mga6
synfig
Mageia:6
From an advisory covering 104 CVEs
before 1.2.1-2.2.mga6
1.2.1-2.2.mga6
vdr-plugin-skinelchi
Mageia:6
From an advisory covering 104 CVEs
before 0.2.8-8.2.mga6
0.2.8-8.2.mga6
vdr-plugin-skinenigmang
Mageia:6
From an advisory covering 104 CVEs
before 0.1.2-10.2.mga6
0.1.2-10.2.mga6
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP2
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP3
From an advisory covering 34 CVEs
before 6.8.8.1-71.33.1
6.8.8.1-71.33.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 30 CVEs
before 6.4.3.6-7.78.29.2
6.4.3.6-7.78.29.2
ImageMagick
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 30 CVEs
before 6.4.3.6-7.78.29.2
6.4.3.6-7.78.29.2
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 30 CVEs
before 6.4.3.6-7.78.29.2
6.4.3.6-7.78.29.2

History

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

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

In short

CVE-2017-12671 is a medium vulnerability (CVSS 6.5) in Imagemagick, published August 7, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.11%, the 65th percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-15.

References

Show 73 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open