Bug 1767828 (CVE-2019-15140) - CVE-2019-15140 ImageMagick: Use after free in ReadMATImage in coders/mat.c
Summary: CVE-2019-15140 ImageMagick: Use after free in ReadMATImage in coders/mat.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-15140
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1767829 1767830 1770511
Blocks: 1767832
TreeView+ depends on / blocked
 
Reported: 2019-11-01 13:45 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-03-31 22:35 UTC (History)
7 users (show)

Fixed In Version: ImageMagick 6.9.10-43, ImageMagick 7.0.8-43, GraphicsMagick 1.3.31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 22:35:50 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1180 0 None None None 2020-03-31 19:33:06 UTC

Description Guilherme de Almeida Suckevicz 2019-11-01 13:45:14 UTC
coders/mat.c in ImageMagick 7.0.8-43 Q16 allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by crafting a Matlab image file that is mishandled in ReadImage in MagickCore/constitute.c.

Reference:
https://github.com/ImageMagick/ImageMagick/issues/1554

Upstream commit:
https://github.com/ImageMagick/ImageMagick/commit/f7206618d27c2e69d977abf40e3035a33e5f6be0

Comment 1 Guilherme de Almeida Suckevicz 2019-11-01 13:45:37 UTC
Created ImageMagick tracking bugs for this issue:

Affects: epel-8 [bug 1767830]
Affects: fedora-all [bug 1767829]

Comment 3 Huzaifa S. Sidhpurwala 2019-11-10 05:32:30 UTC
Note about GraphicsMagick:

This issue was fixed in GraphicsMagick via: http://hg.code.sf.net/p/graphicsmagick/code/rev/233618f8fe82
The fix is available in GraphicsMagick-1.3.31

Comment 7 errata-xmlrpc 2020-03-31 19:33:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1180 https://access.redhat.com/errata/RHSA-2020:1180

Comment 8 Product Security DevOps Team 2020-03-31 22:35:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-15140


Note You need to log in before you can comment on or make changes to this bug.