{"id":"CVE-2020-27756","published":"2020-12-08T00:00:00Z","modified":"2024-08-04T16:18:45Z","title":"In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00843,"percentile":0.5871,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1894233","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","tags":["mailing-list"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":11.74}]},"affectedVersions":[{"vendor":"n/a","product":"ImageMagick","versions":["prior to 7.0.9-0"]}],"euvd":{"id":"EUVD-2020-20260","exploited":false,"provenance":"source"}}