ImageMagick: Missing NULL check in the ReadMATImage function
Published Aug 24, 2017
6.5
MEDIUMCVSS 3.0
EPSS 1.33%
Description
In ImageMagick before 6.9.9-3 and 7.x before 7.0.6-3, there is a missing NULL check in the ReadMATImage function in coders/mat.c, leading to a denial of service (assertion failure and application exit) in the DestroyImageInfo function in MagickCore/image.c.
Affected products
No data.
- ≤ 6.9.9-2
- 7.0.1-0
- 7.0.1-1
- 7.0.1-2
- 7.0.1-3
- 7.0.1-4
- 7.0.1-5
- 7.0.1-6
- 7.0.1-7
- 7.0.1-8
- 7.0.1-9
- 7.0.1-10
- 7.0.2-0
- 7.0.2-1
- 7.0.2-2
- 7.0.2-3
- 7.0.2-4
- 7.0.2-5
- 7.0.2-6
- 7.0.2-7
- 7.0.2-8
- 7.0.2-9
- 7.0.2-10
- 7.0.3-0
- 7.0.3-1
- 7.0.3-2
- 7.0.3-3
- 7.0.3-4
- 7.0.3-5
- 7.0.3-6
- 7.0.3-7
- 7.0.3-8
- 7.0.3-9
- 7.0.3-10
- 7.0.4-0
- 7.0.4-1
- 7.0.4-2
- 7.0.4-3
- 7.0.4-4
- 7.0.4-5
- 7.0.4-6
- 7.0.4-7
- 7.0.4-8
- 7.0.4-9
- 7.0.4-10
- 7.0.5-0
- 7.0.5-1
- 7.0.5-4
- 7.0.5-5
- 7.0.5-6
- 7.0.5-7
- 7.0.5-8
- 7.0.5-9
- 7.0.5-10
- 7.0.6-0
- 7.0.6-1
- 7.0.6-2
No data.
Red Hat Enterprise Linux 5
ImageMagick
Will not fix
Red Hat Enterprise Linux 6
ImageMagick
Will not fix
Red Hat Enterprise Linux 7
ImageMagick
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.33% (0.01327) | 69.96th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.33% (0.01327) | 67.19th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.36% (0.00365) | 56.36th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.28% (0.00280) | 69.30th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.28% (0.00280) | 67.54th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.28% (0.00280) | 64.43th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.24% (0.00236) | 59.83th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.55% (0.01550) | 33.66th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.55% (0.01550) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2017-13658 Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870019 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1487277 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/commit/e5c063a1007506ba69e97a35effcdef944421c89 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/598 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html mailing-listx_refsource_MLIST
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-13658
- https://www.cve.org/CVERecord?id=CVE-2017-13658
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-13658 | Vendor Advisory | |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870019 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1487277 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/commit/e5c063a1007506ba69e97a35effcdef944421c89 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://github.com/ImageMagick/ImageMagick/issues/598 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html | mailing-listx_refsource_MLIST | |
| https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-13658 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-13658 |
Change history (0)
No recorded changes yet.