Bug 1487277 (CVE-2017-13658) - CVE-2017-13658 ImageMagick: Missing NULL check in the ReadMATImage function
Summary: CVE-2017-13658 ImageMagick: Missing NULL check in the ReadMATImage function
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-13658
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-31 14:24 UTC by Andrej Nemec
Modified: 2019-09-29 14:19 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-31 14:25:12 UTC


Attachments (Terms of Use)

Description Andrej Nemec 2017-08-31 14:24:44 UTC
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.

Upstream issue:

https://github.com/ImageMagick/ImageMagick/issues/598

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/e5c063a1007506ba69e97a35effcdef944421c89


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