A flaw was found in ImageMagick 7.0.8-4. A memory leak in DecodeImage in coders/pcd.c. References: https://github.com/ImageMagick/ImageMagick/issues/1193 Upstream Patch: https://github.com/ImageMagick/ImageMagick6/commit/e8f4f5e776002aa6ed490d7c6f65e10fa67359dd https://github.com/ImageMagick/ImageMagick/commit/957b6397b958a5881005df27eb97319b3175a3c9
Created ImageMagick tracking bugs for this issue: Affects: fedora-all [bug 1609937]
Flaw is a failure to free memory before an exception is thrown. It looks like the exception macro just returns false and logs, thus, memory leak. (I don't believe the ImageMagick exception terminates immediately, but I did not test it.) ``` default: { ThrowBinaryException(CorruptImageError,"CorruptImage", image->filename); } ``` All Red Hat Enterprise Linux versions look impacted by this minor memory leak.
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
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-14435