Due to a missing check for 0 value of replace_extent, it is possible for offset p to overflow in SubstituteString(), causing potential impact to application availability. This could be triggered by a crafted input file that is processed by ImageMagick. This flaw affects ImageMagick versions prior to 7.0.8-68.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27770",
"id": "CVE-2020-27770",
"imported": "2026-07-30T14:08:41.853Z",
"modified": "2026-06-17T03:09:36.677Z",
"published": "2020-12-04T15:15:10.707Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-27770"
}
]
}