Bug 1594339 (CVE-2018-12600) - CVE-2018-12600 ImageMagick: out of bounds write ReadDIBImage and WriteDIBImage in coders/dib.c
Summary: CVE-2018-12600 ImageMagick: out of bounds write ReadDIBImage and WriteDIBImag...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-12600
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: 1594421 1594423 1611557
Blocks: 1594340
TreeView+ depends on / blocked
 
Reported: 2018-06-22 16:38 UTC by Laura Pardo
Modified: 2020-03-31 22:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-31 22:32:36 UTC
Embargoed:


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:31:48 UTC

Description Laura Pardo 2018-06-22 16:38:52 UTC
A flaw was found in ImageMagick 7.0.8-3 Q16, ReadDIBImage and WriteDIBImage in coders/dib.c allow attackers to cause an out of bounds write via a crafted file.


References:
https://github.com/ImageMagick/ImageMagick/issues/1178

Patch:
https://github.com/ImageMagick/ImageMagick6/commit/ae71c12bbaa34d942e036824ff389c22b7dacade
https://github.com/ImageMagick/ImageMagick/commit/921f208c2ea3cc45847f380257f270ff424adfff

Comment 1 Laura Pardo 2018-06-22 21:34:59 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1594421]

Comment 4 Riccardo Schirone 2018-08-02 11:03:07 UTC
When writing a DIB file, ImageMagick incorrectly allocates the pixels array on the heap, using the wrong size. When converting a crafted image file to the DIB format, this flaw could be used to write beyond the limits, overwriting other data on the heap and causing a Denial of Service or other unspecified effects.

Comment 6 errata-xmlrpc 2020-03-31 19:31:46 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 7 Product Security DevOps Team 2020-03-31 22:32:36 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-2018-12600


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