| Name | CVE-2019-15140 | 
| Description | 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-1968-1, DSA-4712-1, DSA-4715-1 | 
| Debian Bugs | 941671 | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| imagemagick (PTS) | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | fixed | 
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u7 | fixed | |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u3 | fixed | |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u4 | fixed | |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u1 | fixed | |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u2 | fixed | |
| forky | 8:7.1.2.3+dfsg1-1 | fixed | |
| sid | 8:7.1.2.8+dfsg1-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| imagemagick | source | jessie | 8:6.8.9.9-5+deb8u18 | DLA-1968-1 | ||
| imagemagick | source | stretch | 8:6.9.7.4+dfsg-11+deb9u8 | DSA-4715-1 | ||
| imagemagick | source | buster | 8:6.9.10.23+dfsg-2.1+deb10u1 | DSA-4712-1 | ||
| imagemagick | source | (unstable) | 8:6.9.11.24+dfsg-1 | 941671 | 
https://github.com/ImageMagick/ImageMagick/commit/f7206618d27c2e69d977abf40e3035a33e5f6be0
ImageMagick6: https://github.com/ImageMagick/ImageMagick6/commit/5caef6e97f3f575cf7bea497865a4c1e624b8010
followup, previous patch introduced compiler warnings
https://github.com/ImageMagick/ImageMagick6/commit/5caef6e97f3f575cf7bea497865a4c1e624b8010
https://github.com/ImageMagick/ImageMagick/issues/1554