In coders/psd.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSDLayersInternal() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted PSD file, which claims a large "length" field in the header but does not contain sufficient backing data, is provided, the loop over "length" would consume huge CPU resources, since there is no EOF check inside the loop.
The product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.
Link | Tags |
---|---|
https://usn.ubuntu.com/3681-1/ | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201711-07 | third party advisory vendor advisory |
https://github.com/ImageMagick/ImageMagick/commit/f68a98a9d385838a1c73ec960a14102949940a64 | issue tracking third party advisory |
https://github.com/ImageMagick/ImageMagick/commit/04a567494786d5bb50894fc8bb8fea0cf496bea8 | issue tracking third party advisory patch |
https://github.com/ImageMagick/ImageMagick/issues/714 | issue tracking patch exploit third party advisory |
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html | third party advisory mailing list |