CVE-2017-12675
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c,...
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c, leading to a memory leak in the function ReadImage in MagickCore/constitute.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
What each source reports
NVD Score used
6.5
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c, leading to a memory leak in the function ReadImage in MagickCore/constitute.c, which allows attackers to cause a denial of service.
- Record
CVE-2017-12675- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-772
- Updated
- 2026-11-02
CVE List No score
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c, leading to a memory leak in the function ReadImage in MagickCore/constitute.c, which allows attackers to cause a denial of service.
- Record
CVE-2017-12675- Updated
- 2026-11-02
EUVDEUVD-2017-4214 No score
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c, leading to a memory leak in the function ReadImage in MagickCore/constitute.c, which allows attackers to cause a denial of service.
- Record
EUVD-2017-4214- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8j4f-f64v-4729
6.5
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c,...
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c, leading to a memory leak in the function ReadImage in MagickCore/constitute.c, which allows attackers to cause a denial of service.
- Record
GHSA-8j4f-f64v-4729- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-772
- Updated
- 2026-11-02
OSV
6.5
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c, leading to a memory leak in the function ReadImage in MagickCore/constitute.c, which allows attackers to cause a denial of service.
- Record
CVE-2017-12675- CVSS 3.0
- 6.5 Medium
CVSS: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-12675
6.5
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c, leading to a memory leak in the function ReadImage in MagickCore/constitute.c, which allows attackers to cause a denial of service.
- Record
DEBIAN-CVE-2017-12675- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-12675
6.5
In ImageMagick 7.0.6-3, a missing check for multidimensional data was found in coders/mat.c, leading to a memory leak in the function ReadImage in MagickCore/constitute.c, which allows attackers to cause a denial of service.
- Record
UBUNTU-CVE-2017-12675- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2018:0130-1 No score
Security update for ImageMagick
This update for ImageMagick fixes several issues.
These security issues were fixed:
- CVE-2018-5246: Fixed memory leak vulnerability in ReadPATTERNImage in coders/pattern.c (bsc#1074973)
- CVE-2017-18022: Fixed memory leak vulnerability in MontageImageCommand in MagickWand/montage.c (bsc#1074975)
- CVE-2018-5247: Fixed memory leak vulnerability in ReadRLAImage in coders/rla.c (bsc#1074969)
- CVE-2017-12672: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service (bsc#1052720)
- CVE-2017-13060: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service via a crafted file (bsc#1055065)
- CVE-2017-11724: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c involving the quantum_info and clone_info data structures (bsc#1051446)
- CVE-2017-12670: Added validation in coders/mat.c to prevent an assertion failure in the function DestroyImage in MagickCore/image.c, which allowed attackers to cause a denial of service (bsc#1052731)
- CVE-2017-12667: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c (bsc#1052732)
- CVE-2017-13146: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c (bsc#1055323)
- CVE-2017-10800: Processing MATLAB images in coders/mat.c could have lead to a denial of service (OOM) in ReadMATImage() if the size specified for a MAT Object was larger than the actual amount of data (bsc#1047044)
- CVE-2017-13648: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c (bsc#1055434)
- CVE-2017-11141: Fixed a memory leak vulnerability in the function ReadMATImage in coders\mat.c that could have caused memory exhaustion via a crafted MAT file, related to incorrect ordering of a SetImageExtent call (bsc#1047898)
- CVE-2017-11529: The ReadMATImage function in coders/mat.c allowed remote attackers to cause a denial of service (memory leak) via a crafted file (bsc#1050120)
- CVE-2017-12564: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service (bsc#1052468)
- CVE-2017-12434: Added a missing NULL check in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service (assertion failure) in DestroyImageInfo in image.c (bsc#1052550)
- CVE-2017-12675: Added a missing check for multidimensional data coders/mat.c, that could have lead to a memory leak in the function ReadImage in MagickCore/constitute.c, which allowed attackers to cause a denial of service (bsc#1052710)
- CVE-2017-14326: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service via a crafted file (bsc#1058640)
- CVE-2017-11644: Processesing a crafted file in convert could have lead to a memory leak in the ReadMATImage() function in coders/mat.c (bsc#1050606)
- CVE-2017-13658: Added a missing NULL check in the ReadMATImage function in coders/mat.c, which could have lead to a denial of service (assertion failure and application exit) in the DestroyImageInfo function in MagickCore/image.c (bsc#1055855)
- CVE-2017-14533: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c (bsc#1059751)
- CVE-2017-17881: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service via a crafted MAT image file (bsc#1074123)
- Record
SUSE-SU-2018:0130-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0132-1 No score
Security update for ImageMagick
This update for ImageMagick fixes several issues.
These security issues were fixed:
- CVE-2017-12672: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service (bsc#1052720).
- CVE-2017-13060: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service via a crafted file (bsc#1055065).
- CVE-2017-11724: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c involving the quantum_info and clone_info data structures (bsc#1051446).
- CVE-2017-12670: Added validation in coders/mat.c to prevent an assertion failure in the function DestroyImage in MagickCore/image.c, which allowed attackers to cause a denial of service (bsc#1052731).
- CVE-2017-12667: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c (bsc#1052732).
- CVE-2017-13146: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c (bsc#1055323).
- CVE-2017-10800: Processing MATLAB images in coders/mat.c could have lead to a denial of service (OOM) in ReadMATImage() if the size specified for a MAT Object was larger than the actual amount of data (bsc#1047044)
- CVE-2017-13648: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c (bsc#1055434).
- CVE-2017-11141: Fixed a memory leak vulnerability in the function ReadMATImage in coders\mat.c that could have caused memory exhaustion via a crafted MAT file, related to incorrect ordering of a SetImageExtent call (bsc#1047898).
- CVE-2017-11529: The ReadMATImage function in coders/mat.c allowed remote attackers to cause a denial of service (memory leak) via a crafted file (bsc#1050120).
- CVE-2017-12564: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service (bsc#1052468).
- CVE-2017-12434: Added a missing NULL check in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service (assertion failure) in DestroyImageInfo in image.c (bsc#1052550).
- CVE-2017-12675: Added a missing check for multidimensional data coders/mat.c, that could have lead to a memory leak in the function ReadImage in MagickCore/constitute.c, which allowed attackers to cause a denial of service (bsc#1052710).
- CVE-2017-14326: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service via a crafted file (bsc#1058640).
- CVE-2017-11644: Processesing a crafted file in convert could have lead to a memory leak in the ReadMATImage() function in coders/mat.c (bsc#1050606).
- CVE-2017-13658: Added a missing NULL check in the ReadMATImage function in coders/mat.c, which could have lead to a denial of service (assertion failure and application exit) in the DestroyImageInfo function in MagickCore/image.c (bsc#1055855).
- CVE-2017-14533: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c (bsc#1059751).
- CVE-2017-17881: Fixed a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allowed attackers to cause a denial of service via a crafted MAT image file (bsc#1074123).
- CVE-2017-1000476: Prevent CPU exhaustion in the function ReadDDSInfo in coders/dds.c, which allowed attackers to cause a denial of service (bsc#1074610).
- CVE-2017-9409: Fixed a memory leak vulnerability in the function ReadMPCImage in mpc.c, which allowed attackers to cause a denial of service via a crafted file (bsc#1042948).
- CVE-2017-11449: coders/mpc did not enable seekable streams and thus could not validate blob sizes, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via an image received from stdin (bsc#1049373)
- CVE-2017-12430: A memory exhaustion in the…
- Record
SUSE-SU-2018:0132-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.7.4+dfsg-14 | 8:6.9.7.4+dfsg-14 |
imagemagickDebian:13 |
before 8:6.9.7.4+dfsg-14 | 8:6.9.7.4+dfsg-14 |
imagemagickDebian:14 |
before 8:6.9.7.4+dfsg-14 | 8:6.9.7.4+dfsg-14 |
imagemagickDebian:7 From an advisory covering 74 CVEs |
before 8:6.7.7.10-5+deb7u16, plus listed versions 8:6.7.7.10-58:6.7.7.10-5+deb7u108:6.7.7.10-5+deb7u118:6.7.7.10-5+deb7u128:6.7.7.10-5+deb7u13 Show 10 moreShow less8:6.7.7.10-5+deb7u148:6.7.7.10-5+deb7u158:6.7.7.10-5+deb7u28:6.7.7.10-5+deb7u38:6.7.7.10-5+deb7u48:6.7.7.10-5+deb7u58:6.7.7.10-5+deb7u68:6.7.7.10-5+deb7u78:6.7.7.10-5+deb7u88:6.7.7.10-5+deb7u9 |
8:6.7.7.10-5+deb7u16 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP2 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP3 From an advisory covering 21 CVEs |
before 6.8.8.1-71.26.1 | 6.8.8.1-71.26.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 31 CVEs |
before 6.4.3.6-7.78.22.1 | 6.4.3.6-7.78.22.1 |
ImageMagickSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 31 CVEs |
before 6.4.3.6-7.78.22.1 | 6.4.3.6-7.78.22.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 31 CVEs |
before 6.4.3.6-7.78.22.1 | 6.4.3.6-7.78.22.1 |
imagemagickUbuntu:Pro:14.04:LTS |
All versions, 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 39 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.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+esm78:6.7.7.10-6ubuntu3.13+esm88:6.7.7.10-6ubuntu3.13+esm98:6.7.7.10-6ubuntu3.13+esm108:6.7.7.10-6ubuntu3.13+esm118:6.7.7.10-6ubuntu3.13+esm128:6.7.7.10-6ubuntu3.13+esm138:6.7.7.10-6ubuntu3.13+esm148:6.7.7.10-6ubuntu3.13+esm158:6.7.7.10-6ubuntu3.13+esm168:6.7.7.10-6ubuntu3.13+esm178:6.7.7.10-6ubuntu3.13+esm188:6.7.7.10-6ubuntu3.13+esm198:6.7.7.10-6ubuntu3.13+esm208:6.7.7.10-6ubuntu3.13+esm218:6.7.7.10-6ubuntu3.13+esm228:6.7.7.10-6ubuntu3.13+esm238:6.7.7.10-6ubuntu3.13+esm248:6.7.7.10-6ubuntu3.13+esm258:6.7.7.10-6ubuntu3.13+esm268:6.7.7.10-6ubuntu3.13+esm27 |
None known |
imagemagickUbuntu:Pro:16.04:LTS |
All versions, 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 45 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.98:6.8.9.9-7ubuntu5.118:6.8.9.9-7ubuntu5.128:6.8.9.9-7ubuntu5.138:6.8.9.9-7ubuntu5.148:6.8.9.9-7ubuntu5.158:6.8.9.9-7ubuntu5.168:6.8.9.9-7ubuntu5.16+esm18:6.8.9.9-7ubuntu5.16+esm28:6.8.9.9-7ubuntu5.16+esm38:6.8.9.9-7ubuntu5.16+esm48:6.8.9.9-7ubuntu5.16+esm58:6.8.9.9-7ubuntu5.16+esm68:6.8.9.9-7ubuntu5.16+esm78:6.8.9.9-7ubuntu5.16+esm88:6.8.9.9-7ubuntu5.16+esm98:6.8.9.9-7ubuntu5.16+esm108:6.8.9.9-7ubuntu5.16+esm118:6.8.9.9-7ubuntu5.16+esm128:6.8.9.9-7ubuntu5.16+esm138:6.8.9.9-7ubuntu5.16+esm148:6.8.9.9-7ubuntu5.16+esm158:6.8.9.9-7ubuntu5.16+esm168:6.8.9.9-7ubuntu5.16+esm178:6.8.9.9-7ubuntu5.16+esm188:6.8.9.9-7ubuntu5.16+esm198:6.8.9.9-7ubuntu5.16+esm208:6.8.9.9-7ubuntu5.16+esm218:6.8.9.9-7ubuntu5.16+esm228:6.8.9.9-7ubuntu5.16+esm238:6.8.9.9-7ubuntu5.16+esm248:6.8.9.9-7ubuntu5.16+esm258:6.8.9.9-7ubuntu5.16+esm26 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-2017-12675 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 0.90%, the 59th percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-14.
References
github.com/ImageMagick/ImageMagick/issues/616
nvd.nist.gov/vuln/detail/CVE-2017-12675
github.com/advisories/GHSA-8j4f-f64v-4729
security-tracker.debian.org/tracker/CVE-2017-12675
suse.com/support/update/announcement/2018/suse-su-20180130-1
bugzilla.suse.com/1047044
Show 64 moreShow less
bugzilla.suse.com/1047898
bugzilla.suse.com/1050120
bugzilla.suse.com/1050606
bugzilla.suse.com/1051446
bugzilla.suse.com/1052468
bugzilla.suse.com/1052550
bugzilla.suse.com/1052710
bugzilla.suse.com/1052720
bugzilla.suse.com/1052731
bugzilla.suse.com/1052732
bugzilla.suse.com/1055065
bugzilla.suse.com/1055323
bugzilla.suse.com/1055434
bugzilla.suse.com/1055855
bugzilla.suse.com/1058640
bugzilla.suse.com/1059751
bugzilla.suse.com/1074123
bugzilla.suse.com/1074969
bugzilla.suse.com/1074973
bugzilla.suse.com/1074975
suse.com/security/cve/CVE-2017-10800
suse.com/security/cve/CVE-2017-11141
suse.com/security/cve/CVE-2017-11529
suse.com/security/cve/CVE-2017-11644
suse.com/security/cve/CVE-2017-11724
suse.com/security/cve/CVE-2017-12434
suse.com/security/cve/CVE-2017-12564
suse.com/security/cve/CVE-2017-12667
suse.com/security/cve/CVE-2017-12670
suse.com/security/cve/CVE-2017-12672
suse.com/security/cve/CVE-2017-12675
suse.com/security/cve/CVE-2017-13060
suse.com/security/cve/CVE-2017-13146
suse.com/security/cve/CVE-2017-13648
suse.com/security/cve/CVE-2017-13658
suse.com/security/cve/CVE-2017-14326
suse.com/security/cve/CVE-2017-14533
suse.com/security/cve/CVE-2017-17881
suse.com/security/cve/CVE-2017-18022
suse.com/security/cve/CVE-2018-5246
suse.com/security/cve/CVE-2018-5247
suse.com/support/update/announcement/2018/suse-su-20180132-1
bugzilla.suse.com/1042948
bugzilla.suse.com/1049373
bugzilla.suse.com/1051412
bugzilla.suse.com/1052252
bugzilla.suse.com/1052771
bugzilla.suse.com/1058082
bugzilla.suse.com/1072902
bugzilla.suse.com/1074122
bugzilla.suse.com/1074425
bugzilla.suse.com/1074610
suse.com/security/cve/CVE-2017-1000445
suse.com/security/cve/CVE-2017-1000476
suse.com/security/cve/CVE-2017-11449
suse.com/security/cve/CVE-2017-11751
suse.com/security/cve/CVE-2017-12430
suse.com/security/cve/CVE-2017-12642
suse.com/security/cve/CVE-2017-14249
suse.com/security/cve/CVE-2017-17680
suse.com/security/cve/CVE-2017-17882
suse.com/security/cve/CVE-2017-9409
ubuntu.com/security/CVE-2017-12675
cve.org/CVERecord?id=CVE-2017-12675
Left out here: the rest of 1 source description. The JSON record has them.