CVE-2019-17540
ImageMagick before 7.0.8-54 has a heap-based buffer overflow in ReadPSInfo in coders/ps.c.
What to do
Fixed builds are available from Alpine, Red Hat: see the table below for the fixed version per release.
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 16.04 | imagemagick | Not affected vulnerable_code_not_present | ||
| 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 Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.23 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.22 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.21 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.20 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.19 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.18 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.17 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.16 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.15 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.14 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.13 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.12 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
| Alpine Linux 3.11 | imagemagick | Fixed | 7.0.8.56-r0 | ALPINE-CVE-2019-17540 |
References
- https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15826
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942578
- https://security-tracker.debian.org/tracker/CVE-2019-17540
- https://github.com/ImageMagick/ImageMagick/compare/master%40%7B2019-07-15%7D...master%40%7B2019-07-17%7D
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.