ImageMagick
At a glance
- Source
- NVD
- EPSS
- EPSS 0.84 % Β· percentile 59 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- Affected products
- ImageMagick
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-369 β Divide By Zero
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD Β· nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2020-20260
- GCVE Β· GCVE-0-2020-27756
Affected configurations (NVD CPE)
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*β₯ 6.9.9-34 < 6.9.10-69cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*β₯ 7.0.0-0 < 7.0.9-0
Affected products
| Product | Affected versions |
|---|---|
| ImageMagick | affected : prior to 7.0.9-0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |