Bugzilla – Bug 1048936
VUL-0: CVE-2017-11352: GraphicsMagick,ImageMagick: A crafted RLE image can trigger a crash because of incorrect EOF handling in coders/rle.c
Last modified: 2018-07-04 14:37:49 UTC
CVE-2017-11352 In ImageMagick before 7.0.5-10, a crafted RLE image can trigger a crash because of incorrect EOF handling in coders/rle.c. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-9144. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-11352 http://seclists.org/oss-sec/2017/q3/172 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11352 https://github.com/ImageMagick/ImageMagick/commit/7f1f01b695e869c410ee10e2176f8fd764f09373 https://github.com/ImageMagick/ImageMagick/commit/86cb33143c5b21912187403860a7c26761a3cd23
hm. the operand=EOF (-1) can be misused later to a integer overflow, and EOF(-1) is even casted to size_t.
https://github.com/ImageMagick/ImageMagick/issues/502
This is my upstream report and I am almost sure I ported it correctly. See CVE-2017-9144, bug 1040332.