Bug 1772643 (CVE-2017-11166) - CVE-2017-11166 ImageMagick: memory leak vulnerability in ReadXWDImage function in coders/xwd.c
Summary: CVE-2017-11166 ImageMagick: memory leak vulnerability in ReadXWDImage functio...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-11166
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: 1772644 1772645 1780465
Blocks: 1772646
TreeView+ depends on / blocked
 
Reported: 2019-11-14 19:42 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-03-31 22:35 UTC (History)
4 users (show)

Fixed In Version: ImageMagick 7.0.5-6, ImageMagick 6.9.8-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 22:35:54 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:33:07 UTC

Description Guilherme de Almeida Suckevicz 2019-11-14 19:42:04 UTC
The ReadXWDImage function in coders\xwd.c in ImageMagick 7.0.5-6 has a memory leak vulnerability that can cause memory exhaustion via a crafted length (number of color-map entries) field in the header of an XWD file.

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

Comment 1 Guilherme de Almeida Suckevicz 2019-11-14 19:42:23 UTC
Created ImageMagick tracking bugs for this issue:

Affects: epel-8 [bug 1772645]
Affects: fedora-all [bug 1772644]

Comment 2 Huzaifa S. Sidhpurwala 2019-12-04 05:44:28 UTC
Analysis:

This is essentially memory leak, resulting in memory exhaustion and maybe crash.

Upstream commit: https://github.com/ImageMagick/ImageMagick/commit/5964475e21e7e3bdd27835b71aa17d1678c21d7c

Comment 3 Michael Cronenworth 2019-12-04 13:47:14 UTC
This is an issue from 2017. Please read that again - the year 2017. This issue is 2 years old.

Why was this issue opened?

Fedora ships up to date copies of ImageMagick 6, which means this CVE is fixed.

Please fix your scripts that create these bugs. This is not the first very old bug to be opened. I am no longer going to reply as they are spam to my inbox.

Comment 6 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 7 Product Security DevOps Team 2020-03-31 22:35:54 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-2017-11166


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