CVE-2020-19667 json
Stack-based buffer overflow and unconditional jump in ReadXPMImage in coders/xpm.c in ImageMagick 7.0.10-7.
published 5y ago modified 4mo ago also EUVD-2020-11570
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
Stack-based buffer overflow and unconditional jump in ReadXPMImage in coders/xpm.c in ImageMagick 7.0.10-7.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.11.24+dfsg-1
debian advisories DEBIAN-CVE-2020-19667
- imagemagick Ubuntu 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.11
- imagemagick Ubuntu 20.04 LTS 8:6.9.10.23+dfsg-2.1ubuntu11.4
- imagemagick Ubuntu Pro 16.04 LTS 8:6.8.9.9-7ubuntu5.16+esm2
ubuntu advisories UBUNTU-CVE-2020-19667
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +16 more 6.8.8.1-71.154.1
- ImageMagick SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +12 more 7.0.7.34-3.90.1
- ImageMagick SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 6.4.3.6-78.135.1
- ImageMagick SLE Module for Development Tools 15 SP2, SLE Module for Desktop Applications 15 SP2 7.0.7.34-10.6.13
suse advisories SUSE-SU-2021:0199-1SUSE-SU-2021:0156-1SUSE-SU-2021:14598-1SUSE-SU-2021:0081-1
- ImageMagick openSUSE Leap 15.1 7.0.7.34-lp151.7.26.1
- ImageMagick openSUSE Leap 15.2 7.0.7.34-lp152.12.9.1
opensuse advisories openSUSE-SU-2021:0148-1openSUSE-SU-2021:0136-1
- imagemagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 7.0.10.8-r0
- imagemagick6 Alpine 3.16, Alpine 3.15, Alpine 3.14 +2 more 6.9.11.9-r0
alpine advisories ALPINE-CVE-2020-19667
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2020-19667 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-19667 updated cvss 7.8
ImageMagick: Stack buffer overflow in XPM coder could result in a crash
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.65% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/ImageMagick/ImageMagick/issues/1895 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/ImageMagick/ImageMagick/issues/1895
exploit, issue-tracking, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/01/msg00010.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/03/msg00008.html
mailing-list
Sources
- CVE List CVE-2020-19667
- NVD CVE-2020-19667
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.