An out-of heap-based buffer read flaw was found in the way ImageMagick, an image display and manipulation tool for the X Window System, retrieved Exchangeable image file format (Exif) header tag information from certain JPEG files. A remote attacker could provide a JPEG image file, with EXIF header containing specially-crafted tag values, which once opened in some ImageMagick tool would lead to the crash of that tool (denial of service).
Red Hat would like to thank CERT-FI for reporting this issue. CERT-FI acknowledges Aleksis Kauppinen, Joonas Kuorilehto, Tuomas Parttimaa and Lasse Ylivainio of Codenomicon's CROSS project as the original reporters.
This issue affects the versions of the ImageMagick package, as shipped with Fedora release of 15 and 16.
Public now via:
Created ImageMagick tracking bugs for this issue
Affects: fedora-all [bug 808159]
This issue affects the versions of the ImageMagick package, as shipped with Red Hat Enterprise Linux 6.
Created attachment 574539 [details]
Updated patch, this one also adds a test to avoid an overflow of the "number_bytes" value when the "components" field is too large.
Created attachment 574809 [details]
Updated (clean up) patch
Same proposed patch, without the traces.
The original patch for CVE-2012-0259 is insufficient. Upstream was notified and a new patch was published on . As announced in , CVE-2012-1610 has been assigned to the insufficient fix of CVE-2012-0259.
Not vulnerable. This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 6 as it did not backport the insufficient patch for CVE-2012-0259.
Rawhide build which should fix it http://koji.fedoraproject.org/koji/taskinfo?taskID=3977291.
This issue has been addressed in following products:
Red Hat Enterprise Linux 6
Via RHSA-2012:0544 https://rhn.redhat.com/errata/RHSA-2012-0544.html
ImageMagick-184.108.40.206-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.