Bug 1624957 (CVE-2018-16329) - CVE-2018-16329 ImageMagick: NULL pointer dereference in GetMagickProperty function in MagickCore/property.c
Summary: CVE-2018-16329 ImageMagick: NULL pointer dereference in GetMagickProperty fu...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-16329
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: 1624958 1630392
Blocks: 1624959
TreeView+ depends on / blocked
 
Reported: 2018-09-03 17:04 UTC by Laura Pardo
Modified: 2021-10-25 22:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-25 22:17:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-09-03 17:04:14 UTC
A flaw was found in ImageMagick before 7.0.8-8, a NULL pointer dereference exists in the GetMagickProperty function in MagickCore/property.c.


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

Comment 1 Laura Pardo 2018-09-03 17:04:35 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1624958]

Comment 4 Riccardo Schirone 2018-09-18 13:50:59 UTC
GetMagickProperty function in MagickCore/property.c only checks whether `image` or `image_info` are not NULL, but when later it uses the `image` pointer it doesn't check if it is actually accessible or not.

Comment 6 Riccardo Schirone 2018-09-18 13:55:33 UTC
Statement:

This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5 as they did not include the vulnerable code.

Comment 8 Riccardo Schirone 2020-04-15 10:30:47 UTC
Upstream patch ImageMagick6:
https://github.com/ImageMagick/ImageMagick6/commit/5bf7ff59c8ada957d6a681a0a2cc29f3813ad4bc


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