CVE-2020-27560 json
ImageMagick 7.0.10-34 allows Division by Zero in OptimizeLayerFrames in MagickCore/layer.c, which may cause a denial of service.
published 2020-10-22 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-20068
- cvss
- 3.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
ImageMagick 7.0.10-34 allows Division by Zero in OptimizeLayerFrames in MagickCore/layer.c, which may cause a denial of service.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.11.57+dfsg-1
debian advisories DEBIAN-CVE-2020-27560
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.16
- imagemagick Ubuntu 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.9
- imagemagick Ubuntu 20.04 LTS 8:6.9.10.23+dfsg-2.1ubuntu11.2
ubuntu advisories UBUNTU-CVE-2020-27560
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 SLE Module for Development Tools 15 SP2, SLE Module for Desktop Applications 15 SP2 7.0.7.34-10.3.1
- ImageMagick SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 6.8.8.1-71.147.1
- ImageMagick SLE Module for Development Tools 15 SP1, SLE Module for Desktop Applications 15 SP1 7.0.7.34-3.85.1
suse advisories SUSE-SU-2020:3164-1SUSE-SU-2020:3163-1SUSE-SU-2020:3162-1
- ImageMagick openSUSE Leap 15.1 7.0.7.34-lp151.7.22.1
- ImageMagick openSUSE Leap 15.2 7.0.7.34-lp152.12.6.1
opensuse advisories openSUSE-SU-2020:1927-1openSUSE-SU-2020:1884-1
- imagemagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 7.0.10.35-r0
- imagemagick6 Alpine 3.16, Alpine 3.15, Alpine 3.14 +2 more 6.9.11.35-r0
alpine advisories ALPINE-CVE-2020-27560
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor 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-27560 updated cvss 3.3
ImageMagick: division by zero in OptimizeLayerFrames function in MagickCore/layer.c
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 ImageMagickaffected: no fix available
-
Red Hat Enterprise Linux 8 inkscape, inkscape-viewnot affected: vulnerable code not present
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.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-369 Divide By Zero
References
-
github.com
/ImageMagick/ImageMagick/commit/ef59bd764f88d893f1219fee8ba696a5d3f8c1c4
patch, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-11/msg00037.html
vendor-advisory, mailing-list, 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-27560
- NVD CVE-2020-27560
Fencer Vulns 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.