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
Created ImageMagick tracking bugs for this issue: Affects: fedora-all [bug 1624958]
Upstream patch: https://github.com/ImageMagick/ImageMagick/commit/2c75f301d9ac84f91071393b02d8c88c8341c91c
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.
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.
Upstream patch ImageMagick6: https://github.com/ImageMagick/ImageMagick6/commit/5bf7ff59c8ada957d6a681a0a2cc29f3813ad4bc