coders/mat.c in ImageMagick 7.0.8-43 Q16 allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by crafting a Matlab image file that is mishandled in ReadImage in MagickCore/constitute.c.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://github.com/ImageMagick/ImageMagick/issues/1554 | patch third party advisory exploit |
https://github.com/ImageMagick/ImageMagick/commit/f7206618d27c2e69d977abf40e3035a33e5f6be0 | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2019/10/msg00028.html | mailing list |
https://usn.ubuntu.com/4192-1/ | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00040.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00042.html | vendor advisory |
https://www.debian.org/security/2020/dsa-4712 | vendor advisory |
https://www.debian.org/security/2020/dsa-4715 | vendor advisory |