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.
{
"license": "CC-BY-4.0",
"sources": [
{
"imported": "2026-07-30T14:08:41.585Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27760",
"modified": "2026-06-17T03:09:35.567Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-27760",
"database_specific": {
"status": "Modified"
},
"id": "CVE-2020-27760",
"published": "2020-12-03T17:15:12.770Z"
}
]
}