{"id":"CVE-2020-27756","aliases":["CVE-2020-27756"],"related":[],"kind":"vulnerability","state":"published","title":"In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En la función ParseMetaGeometry() del archivo MagickCore/geometry.c, los cálculos de altura y ancho de la imagen pueden conllevar a condiciones de división por cero que también conllevan a un comportamiento indefinido.&#xa0;Este fallo puede ser desencadenado por un archivo de entrada diseñado procesado por ImageMagick y podría impactar la disponibilidad de la aplicación.&#xa0;El parche utiliza la multiplicación aunado a la función \"PerceptibleReciprocal()\" a fin de impedir tales condiciones de división por cero.&#xa0;Este fallo afecta a ImageMagick versiones anteriores a 7.0.9-0","source":"nvd"}],"published":"2020-12-08T00:00:00.000Z","modified":"2026-06-17T03:09:35.123Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-369"],"affected":[{"ranges":[{"version":"prior to 7.0.9-0","status":"affected"}],"product":"ImageMagick","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.9.9-34","fixed":"6.9.10-69"},{"status":"affected","introduced":"7.0.0-0","fixed":"7.0.9-0"}],"vendor":"imagemagick","product":"imagemagick","cpe":"cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1894233","tags":["exploit","issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-27756","url":"https://www.cve.org/CVERecord?id=CVE-2020-27756","licence":"CVE Terms of Use","modified":"2024-08-04T16:18:45.709Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-27756","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27756","licence":"Public domain","modified":"2026-06-17T03:09:35.123Z"}],"updatedAt":"2026-11-25T22:57:56.091Z","epss":{"score":0.00843,"percentile":0.55353,"date":"2026-11-30T12:00:22.000Z"}}