CVE-2020-27756
publishedImageMagick: division by zero at MagickCore/geometry.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | ImageMagickprior to 7.0.9-0 | Affected | Not stated | redhat |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagickaarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| Debian | buster | imagemagick | Advisory build | 8:6.9.10.23+dfsg-2.1+deb10u2 | DLA-3357-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagickppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagicks390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagickx86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagickaarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagickppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP2 | ImageMagicks390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagickx86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagicki586 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagickx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | ImageMagicki586 | Advisory build | 7.0.7.34-lp152.12.9.1 | OPENSUSE-SU-2021:0136-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | ImageMagickx86_64 | Advisory build | 7.0.7.34-lp152.12.9.1 | OPENSUSE-SU-2021:0136-1 |
| SUSE / openSUSE | SLE-15 | perl-PerlMagickaarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15 | perl-PerlMagickppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15 | perl-PerlMagicks390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15 | perl-PerlMagickx86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-config-7-SUSEs390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-config-7-upstreamaarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-config-7-upstreamppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-config-7-upstreams390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-config-7-upstreamx86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-develaarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-develppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-devels390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | ImageMagick-develx86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagick++-7_Q16HDRI4aarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagick++-7_Q16HDRI4ppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagick++-7_Q16HDRI4s390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagick++-7_Q16HDRI4x86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagick++-develaarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagick++-develppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagick++-devels390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagick++-develx86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagickCore-7_Q16HDRI6aarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagickCore-7_Q16HDRI6ppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagickCore-7_Q16HDRI6s390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagickCore-7_Q16HDRI6x86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagickWand-7_Q16HDRI6aarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagickWand-7_Q16HDRI6ppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagickWand-7_Q16HDRI6s390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | libMagickWand-7_Q16HDRI6x86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | perl-PerlMagickaarch64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | perl-PerlMagickppc64le | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | perl-PerlMagicks390x | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP1 | perl-PerlMagickx86_64 | Advisory build | 7.0.7.34-3.90.1 | SUSE-SU-2021:0156-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-config-7-SUSEs390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-config-7-upstreamaarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-config-7-upstreamppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-config-7-upstreams390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-config-7-upstreamx86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-develaarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-develppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-devels390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | ImageMagick-develx86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagick++-7_Q16HDRI4aarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagick++-7_Q16HDRI4ppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagick++-7_Q16HDRI4s390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagick++-7_Q16HDRI4x86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagick++-develaarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagick++-develppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagick++-devels390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagick++-develx86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagickCore-7_Q16HDRI6aarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagickCore-7_Q16HDRI6ppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagickCore-7_Q16HDRI6s390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagickCore-7_Q16HDRI6x86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagickWand-7_Q16HDRI6aarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagickWand-7_Q16HDRI6ppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagickWand-7_Q16HDRI6s390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | libMagickWand-7_Q16HDRI6x86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | perl-PerlMagickaarch64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | perl-PerlMagickppc64le | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | perl-PerlMagicks390x | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | SLE-15-SP2 | perl-PerlMagickx86_64 | Advisory build | 7.0.7.34-10.9.1 | SUSE-SU-2021:0153-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-config-7-SUSEi586 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-config-7-upstreami586 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-config-7-upstreamx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-develi586 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-develx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-devel-32bitx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-docnoarch | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-extrai586 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ImageMagick-extrax86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagick++-7_Q16HDRI4i586 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagick++-7_Q16HDRI4x86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagick++-7_Q16HDRI4-32bitx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagick++-develi586 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagick++-develx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagick++-devel-32bitx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagickCore-7_Q16HDRI6i586 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagickCore-7_Q16HDRI6x86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libMagickCore-7_Q16HDRI6-32bitx86_64 | Advisory build | 7.0.7.34-lp151.7.26.1 | OPENSUSE-SU-2021:0148-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | ImageMagick | prior to 7.0.9-0 (affected) | redhat · cna |
Weaknesses
1- CWE-369 CWE-369->CWE-190
References
2- https://bugzilla.redhat.com/show_bug.cgi?id=1894233
- [debian-lts-announce] 20230311 [SECURITY] [DLA 3357-1] imagemagick security update https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fd65bd0c82c35ca1ed1114309773aec47e77ad228b874d193eb3456866ccdfaa
- Ingested
- 23 Sep 2026, 07:49:56 UTC
- Source record
- Official CVE record