CVE-2017-13143 json
In ImageMagick before 6.9.7-6 and 7.x before 7.0.4-6, the ReadMATImage function in coders/mat.c uses uninitialized data, which might allow…
published 2017-08-23 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4660
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
In ImageMagick before 6.9.7-6 and 7.x before 7.0.4-6, the ReadMATImage function in coders/mat.c uses uninitialized data, which might allow remote attackers to obtain sensitive information from process memory.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.7.4+dfsg-14
debian advisories DEBIAN-CVE-2017-13143
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.11
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.11
ubuntu advisories UBUNTU-CVE-2017-13143
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-13143 updated cvss 3.3
ImageMagick: Initialized data use in ReadMATImage function in coders/mat.c
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat OpenShift Enterprise 2 ImageMagickaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.90% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/ImageMagick/ImageMagick/commit/51b0ae01709adc1e4a9245e158ef17b85a110960
issue-tracking, patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/issues/362
issue-tracking, patch, third-party-advisory
-
usn.ubuntu.com
/3681-1/
vendor-advisory
-
security.gentoo.org
/glsa/201711-07
vendor-advisory
-
debian.org
/security/2017/dsa-4019
vendor-advisory
-
debian.org
/security/2018/dsa-4204
vendor-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=870012
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2017-13143
- NVD CVE-2017-13143
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.