{"id":"JLSEC-2026-858","aliases":["JLSEC-2026-858"],"related":["CVE-2020-27760"],"kind":"vulnerability","state":"published","title":"In GammaImage() of /MagickCore/enhance.c, depending on the gamma value, it's possible to trigger a divide-by-zero condition when a crafted…","summary":"In `GammaImage()` of `/MagickCore/enhance.c`, depending on the `gamma` value, it's possible to trigger a divide-by-zero condition when a crafted input file is processed by ImageMagick. This could lead to an impact to application availability. The patch uses the `PerceptibleReciprocal()` to prevent the divide-by-zero from occurring. This flaw affects ImageMagick versions prior to ImageMagick 7.0.8-68.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"In `GammaImage()` of `/MagickCore/enhance.c`, depending on the `gamma` value, it's possible to trigger a divide-by-zero condition when a crafted input file is processed by ImageMagick. This could lead to an impact to application availability. The patch uses the `PerceptibleReciprocal()` to prevent the divide-by-zero from occurring. This flaw affects ImageMagick versions prior to ImageMagick 7.0.8-68.","format":"markdown","source":"jlsec"}],"published":"2026-07-30T16:02:27.435Z","modified":"2026-07-30T18:23:46.305Z","severity":{"scorer":"Julia Security Advisories","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":"Julia Security Advisories","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P"},{"scorer":"Julia Security Advisories","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"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.9.12+0"}],"ecosystem":"Julia","package":"ImageMagick_jll","purl":"pkg:julia/ImageMagick_jll?uuid=c73af94c-d91f-53ed-93a7-00f77d67a9d7","source":"jlsec"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1894239","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-858","url":"https://osv.dev/vulnerability/JLSEC-2026-858","licence":"CC-BY-4.0","modified":"2026-07-30T18:23:46.305Z"}],"updatedAt":"2026-11-25T22:56:26.262Z"}