CVE-2018-14551
published 2018-07-23CVE-2018-14551: The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory corruption.
PriorityP344critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
4.03%
89.5th percentile
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory corruption.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.10.8+dfsg-1 (bookworm) | imagemagick 8:6.9.10.8+dfsg-1 (bookworm) |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.8+dfsg-1 | 8:6.9.10.8+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.8+dfsg-1 | 8:6.9.10.8+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.8+dfsg-1 | 8:6.9.10.8+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.8+dfsg-1 | 8:6.9.10.8+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.7.7.10-6ubuntu3.13 | 8:6.7.7.10-6ubuntu3.13 |
| imagemagick | imagemagick | >= 0 < 8:6.8.9.9-7ubuntu5.13 | 8:6.8.9.9-7ubuntu5.13 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.4+dfsg-16ubuntu6.4 | 8:6.9.7.4+dfsg-16ubuntu6.4 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu6.5MEDIUM
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.
GHSA
GHSA-mj65-pp9c-4mx4: The ReadMATImageV4 function in coders/mat
ghsa_unreviewed·2022-05-13
CVE-2018-14551 [CRITICAL] CWE-787 GHSA-mj65-pp9c-4mx4: The ReadMATImageV4 function in coders/mat
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory corruption.
OSV
imagemagick vulnerabilities
osv·2018-10-04·CVSS 6.5
[MEDIUM] imagemagick vulnerabilities
imagemagick vulnerabilities
Due to a large number of issues discovered in GhostScript that prevent
it from being used by ImageMagick safely, this update includes a
default policy change that disables support for the Postscript and
PDF formats in ImageMagick. This policy can be overridden if necessary
by using an alternate ImageMagick policy configuration.
It was discovered that several memory leaks existed when handling
certain images in ImageMagick. An attacker could use this to cause a
denial of service. (CVE-2018-14434, CVE-2018-14435, CVE-2018-14436,
CVE-2018-14437, CVE-2018-16640, CVE-2018-16750)
It was discovered that ImageMagick did not properly initialize a
variable before using it when processing MAT images. An attacker could
use this to cause a denial of service or possibly ex
OSV
CVE-2018-14551: The ReadMATImageV4 function in coders/mat
osv·2018-07-23·CVSS 9.8
CVE-2018-14551 [CRITICAL] CVE-2018-14551: The ReadMATImageV4 function in coders/mat
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory corruption.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2018-10-04·CVSS 6.5
CVE-2018-14434 [MEDIUM] ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
Due to a large number of issues discovered in GhostScript that prevent
it from being used by ImageMagick safely, this update includes a
default policy change that disables support for the Postscript and
PDF formats in ImageMagick. This policy can be overridden if necessary
by using an alternate ImageMagick policy configuration.
It was discovered that several memory leaks existed when handling
certain images in ImageMagick. An attacker could use this to cause a
denial of service. (CVE-2018-14434, CVE-2018-14435, CVE-2018-14436,
CVE-2018-14437, CVE-2018-16640, CVE-2018-16750)
It was discovered that ImageMagick did not properly initialize a
variable before using it when processing MAT images. An
Red Hat
ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption
vendor_redhat·2018-07-20·CVSS 9.8
CVE-2018-14551 [CRITICAL] CWE-456 ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption
ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory corruption.
Statement: This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 6) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 7) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 8) - Will not fix
Debian
CVE-2018-14551: imagemagick - The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an unini...
vendor_debian·2018·CVSS 9.8
CVE-2018-14551 [CRITICAL] CVE-2018-14551: imagemagick - The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an unini...
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory corruption.
Scope: local
bookworm: resolved (fixed in 8:6.9.10.8+dfsg-1)
bullseye: resolved (fixed in 8:6.9.10.8+dfsg-1)
forky: resolved (fixed in 8:6.9.10.8+dfsg-1)
sid: resolved (fixed in 8:6.9.10.8+dfsg-1)
trixie: resolved (fixed in 8:6.9.10.8+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-14551 ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption
bugzilla·2018-08-01·CVSS 9.8
CVE-2018-14551 [CRITICAL] CVE-2018-14551 ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption
CVE-2018-14551 ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption
The ReadMATImageV4 function in coders/mat.c in ImageMagick before versions 6.9.10-8 and 7.0.8-8 uses an uninitialized variable, leading to memory corruption.
Upstream Issue:
https://github.com/ImageMagick/ImageMagick/issues/1221
Upstream Patches:
https://github.com/ImageMagick/ImageMagick6/commit/db7a4be592328af06d776ce3bab24b8c6de5be20
https://github.com/ImageMagick/ImageMagick/commit/389ecc365a7c61404ba078a72c3fa5a3cf1b4101
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1610622]
---
RHEL does not have this function. Upstream has it since https://github.com/ImageMagick/ImageMagick6/commit/e806bc5559474b19114faf235266dbb8f6b206
Bugzilla
CVE-2018-14551 ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption [fedora-all]
bugzilla·2018-08-01·CVSS 9.8
CVE-2018-14551 [CRITICAL] CVE-2018-14551 ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption [fedora-all]
CVE-2018-14551 ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption [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 and the
fedpkg commit message.
NOTE
https://github.com/ImageMagick/ImageMagick/issues/1221https://lists.debian.org/debian-lts-announce/2020/08/msg00030.htmlhttps://usn.ubuntu.com/3785-1/https://github.com/ImageMagick/ImageMagick/issues/1221https://lists.debian.org/debian-lts-announce/2020/08/msg00030.htmlhttps://usn.ubuntu.com/3785-1/
2018-07-23
Published