In ImageMagick 7.0.8-40 Q16, there is a heap-based buffer over-read in the function WritePNMImage of coders/pnm.c, which allows an attacker to cause a denial of service or possibly information disclosure via a crafted image file. This is related to SetGrayscaleImage in MagickCore/quantize.c.
The product reads data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://github.com/ImageMagick/ImageMagick/issues/1540 | patch third party advisory exploit |
http://www.securityfocus.com/bid/108102 | third party advisory vdb entry |
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html | mailing list |
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00057.html | vendor advisory |
https://usn.ubuntu.com/4034-1/ | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00001.html | vendor advisory |
https://www.debian.org/security/2020/dsa-4712 | vendor advisory |
https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html | mailing list |