CVE-2019-11598
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.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | imagemagick | Fixed | 8:6.9.7.4+dfsg-16ubuntu6.7 | UBUNTU-CVE-2019-11598 |
| Ubuntu 16.04 | imagemagick | Fixed | 8:6.8.9.9-7ubuntu5.14 | UBUNTU-CVE-2019-11598 |
| Ubuntu 14.04 | imagemagick | Fix pending | 8:6.7.7.10-6ubuntu3.13+esm9 (Ubuntu Pro) | UBUNTU-CVE-2019-11598 |
| Debian 14 | imagemagick | Fixed | 8:6.9.11.24+dfsg-1 | DEBIAN-CVE-2019-11598 |
| Debian 13 | imagemagick | Fixed | 8:6.9.11.24+dfsg-1 | DEBIAN-CVE-2019-11598 |
| Debian 12 | imagemagick | Fixed | 8:6.9.11.24+dfsg-1 | DEBIAN-CVE-2019-11598 |
| Red Hat Enterprise Linux 7 | ImageMagick | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace | Fixed | 0:0.31.1-38.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace-devel | Fixed | 0:0.31.1-38.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-common | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-el | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-filesystem | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-nox | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-terminal | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-docs | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-view | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | ImageMagick | Not affected | ||
| Alpine Linux 3.24 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.23 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.22 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.21 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.20 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.19 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.18 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.17 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.16 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.16 | imagemagick6 | Fixed | 6.9.10.43-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.15 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.15 | imagemagick6 | Fixed | 6.9.10.43-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.14 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.14 | imagemagick6 | Fixed | 6.9.10.43-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.13 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.13 | imagemagick6 | Fixed | 6.9.10.43-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.12 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.12 | imagemagick6 | Fixed | 6.9.10.43-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.11 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.11 | imagemagick6 | Fixed | 6.9.10.43-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.10 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.10 | imagemagick6 | Fixed | 6.9.10.43-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.9 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.9 | imagemagick6 | Fixed | 6.9.10.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.8 | imagemagick | Fixed | 7.0.8.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.8 | imagemagick6 | Fixed | 6.9.10.44-r0 | ALPINE-CVE-2019-11598 |
| Alpine Linux 3.7 | imagemagick6 | Fixed | 6.9.10.44-r0 | ALPINE-CVE-2019-11598 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- 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)
References
- https://github.com/ImageMagick/ImageMagick/issues/1540
- http://www.securityfocus.com/bid/108102
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00057.html
- https://usn.ubuntu.com/4034-1/
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00001.html
- https://www.debian.org/security/2020/dsa-4712
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.