{"id":"JLSEC-2026-854","details":"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.","modified":"2026-07-30T18:23:46.104155186Z","published":"2026-07-30T16:02:27.435Z","upstream":["CVE-2020-27756"],"database_specific":{"license":"CC-BY-4.0","sources":[{"database_specific":{"status":"Modified"},"id":"CVE-2020-27756","imported":"2026-07-30T14:08:42.622Z","modified":"2026-06-17T03:09:35.123Z","published":"2020-12-08T22:15:18.383Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-27756","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27756"}]},"references":[{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1894233"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1894233"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html"}],"affected":[{"package":{"name":"ImageMagick_jll","ecosystem":"Julia","purl":"pkg:julia/ImageMagick_jll?uuid=c73af94c-d91f-53ed-93a7-00f77d67a9d7"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.9.12+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-854.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V2","score":"AV:N/AC:M/Au:N/C:N/I:N/A:P"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}