CVE-2019-15140

imagemagick: coders/mat.c in ImageMagick 7.0.8-43 Q16 allows remote attackers to cause adenial of service (use-after-free and appl...

CVE-2019-15140 is fixed in 37 products on 1 platform, first by imagemagick 8:6.9.7.4+dfsg-16ubuntu6.8, released September 23, 2019. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0410
90th percentile

coders/mat.c in ImageMagick 7.0.8-43 Q16 allows remote attackers to cause adenial of service (use-after-free and application crash) or possibly haveunspecified other impact by crafting a Matlab image file that is mishandledin ReadImage in MagickCore/constitute.c.

Where it's fixed

ProductFixed inFixReleased
Linux
imagemagick · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 imagemagick 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
imagemagick · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
imagemagick · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
imagemagick-6-common · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 imagemagick-6-common 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
imagemagick-6-common · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
imagemagick-6-common · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
imagemagick-6.q16 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 imagemagick-6.q16 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
imagemagick-6.q16 · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
imagemagick-6.q16 · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
imagemagick-6.q16hdri · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 imagemagick-6.q16hdri 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
imagemagick-6.q16hdri · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
imagemagick-6.q16hdri · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
imagemagick-common · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 imagemagick-common 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
imagemagick-common · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 imagemagick-common 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libimage-magick-perl · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libimage-magick-perl 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libimage-magick-perl · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libimage-magick-perl · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libimage-magick-q16-perl · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libimage-magick-q16-perl 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libimage-magick-q16-perl · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libimage-magick-q16-perl · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libimage-magick-q16hdri-perl · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libimage-magick-q16hdri-perl 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libimage-magick-q16hdri-perl · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libimage-magick-q16hdri-perl · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagick++-6-headers · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagick++-6-headers 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagick++-6-headers · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagick++-6-headers · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagick++-6.q16-7 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagick++-6.q16-7 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagick++-6.q16-8 · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagick++-6.q16-8 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagick++-6.q16-9t64 · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagick++-6.q16-9t64 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagick++-6.q16hdri-7 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagick++-6.q16hdri-7 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagick++-6.q16hdri-8 · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagick++-6.q16hdri-8 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagick++-6.q16hdri-9t64 · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagick++-6.q16hdri-9t64 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickcore-6-arch-config · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickcore-6-arch-config 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickcore-6-arch-config · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickcore-6-arch-config · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickcore-6-headers · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickcore-6-headers 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickcore-6-headers · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickcore-6-headers · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickcore-6.q16-3 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickcore-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickcore-6.q16-3-extra · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickcore-6.q16-3-extra 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickcore-6.q16-6 · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickcore-6.q16-6-extra · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6.q16-6-extra 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickcore-6.q16-7-extra · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6.q16-7-extra 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickcore-6.q16-7t64 · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6.q16-7t64 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickcore-6.q16hdri-3 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickcore-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickcore-6.q16hdri-3-extra · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickcore-6.q16hdri-3-extra 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickcore-6.q16hdri-6 · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickcore-6.q16hdri-6-extra · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6.q16hdri-6-extra 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickcore-6.q16hdri-7-extra · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6.q16hdri-7-extra 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickcore-6.q16hdri-7t64 · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickcore-6.q16hdri-7t64 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickwand-6-headers · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickwand-6-headers 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickwand-6-headers · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickwand-6-headers · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickwand-6.q16-3 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickwand-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickwand-6.q16-6 · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickwand-6.q16-7t64 · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickwand-6.q16-7t64 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
libmagickwand-6.q16hdri-3 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 libmagickwand-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
libmagickwand-6.q16hdri-6 · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickwand-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
libmagickwand-6.q16hdri-7t64 · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 libmagickwand-6.q16hdri-7t64 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026
perlmagick · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.8 perlmagick 8:6.9.7.4+dfsg-16ubuntu6.8 Sep 23, 2019
perlmagick · Ubuntu 20.04 LTS (focal) 8:6.9.10.23+dfsg-2.1ubuntu9 perlmagick 8:6.9.10.23+dfsg-2.1ubuntu9 Sep 23, 2019
perlmagick · Ubuntu 24.10 (oracular) 8:6.9.10.23+dfsg-2.1ubuntu9 perlmagick 8:6.9.10.23+dfsg-2.1ubuntu9 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.