CVE-2017-13146
published 2017-08-23CVE-2017-13146: In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in the ReadMATImage function in coders/mat.c.
PriorityP429high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
1.27%
66.7th percentile
In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in the ReadMATImage function in coders/mat.c.
Affected
54 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:6.9.7.4+dfsg-14 (bookworm) | imagemagick 8:6.9.7.4+dfsg-14 (bookworm) |
| imagemagick | imagemagick | <= 6.9.8-4 | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8LOW
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
ImageMagick: Memory leak in the ReadMATImage function in coders/mat.c.
vendor_redhat·2017-08-23·CVSS 8.8
CVE-2017-13146 [HIGH] CWE-400 ImageMagick: Memory leak in the ReadMATImage function in coders/mat.c.
ImageMagick: Memory leak in the ReadMATImage function in coders/mat.c.
In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in the ReadMATImage function in coders/mat.c.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2017-13146: imagemagick - In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in ...
vendor_debian·2017·CVSS 8.8
CVE-2017-13146 [HIGH] CVE-2017-13146: imagemagick - In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in ...
In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in the ReadMATImage function in coders/mat.c.
Scope: local
bookworm: resolved (fixed in 8:6.9.7.4+dfsg-14)
bullseye: resolved (fixed in 8:6.9.7.4+dfsg-14)
forky: resolved (fixed in 8:6.9.7.4+dfsg-14)
sid: resolved (fixed in 8:6.9.7.4+dfsg-14)
trixie: resolved (fixed in 8:6.9.7.4+dfsg-14)
GHSA
GHSA-4pcj-vr36-r5w4: In ImageMagick before 6
ghsa_unreviewed·2022-05-13
CVE-2017-13146 [HIGH] CWE-772 GHSA-4pcj-vr36-r5w4: In ImageMagick before 6
In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in the ReadMATImage function in coders/mat.c.
OSV
CVE-2017-13146: In ImageMagick before 6
osv·2017-08-23·CVSS 8.8
CVE-2017-13146 [HIGH] CVE-2017-13146: In ImageMagick before 6
In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in the ReadMATImage function in coders/mat.c.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-13146 ImageMagick: Memory leak in the ReadMATImage function in coders/mat.c.
bugzilla·2017-08-30·CVSS 8.8
CVE-2017-13146 [HIGH] CVE-2017-13146 ImageMagick: Memory leak in the ReadMATImage function in coders/mat.c.
CVE-2017-13146 ImageMagick: Memory leak in the ReadMATImage function in coders/mat.c.
In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory
leak in the ReadMATImage function in coders/mat.c.
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/437a35e57db5ec078f4a3ccbf71f941276e88430
References:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870013
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1486807]
---
Please fix your scripts.
ImageMagick 6.9.9-9 is in Fedora 25 and Fedora 26 updates-testing.
ImageMagick 7.0.6-9 is in Fedora 27 and Fedora Rawhide.
Bugzilla
CVE-2017-13139 CVE-2017-13140 CVE-2017-13141 CVE-2017-13142 CVE-2017-13143 CVE-2017-13144 CVE-2017-13145 CVE-2017-13146 ImageMagick: various flaws [fedora-all]
bugzilla·2017-08-30·CVSS 9.8
CVE-2017-13139 [CRITICAL] CVE-2017-13139 CVE-2017-13140 CVE-2017-13141 CVE-2017-13142 CVE-2017-13143 CVE-2017-13144 CVE-2017-13145 CVE-2017-13146 ImageMagick: various flaws [fedora-all]
CVE-2017-13139 CVE-2017-13140 CVE-2017-13141 CVE-2017-13142 CVE-2017-13143 CVE-2017-13144 CVE-2017-13145 CVE-2017-13146 ImageMagick: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog an
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870013https://github.com/ImageMagick/ImageMagick/commit/79e5dbcdd1fc2f714f9bae548bc55d5073f3ed20https://security.gentoo.org/glsa/201711-07https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870013https://github.com/ImageMagick/ImageMagick/commit/79e5dbcdd1fc2f714f9bae548bc55d5073f3ed20https://security.gentoo.org/glsa/201711-07
2017-08-23
Published