A flaw was found in ImageMagick in versions before 7.0.11 and before 6.9.12, where a division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via a crafted image file submitted to an application using ImageMagick. The highest threat from this vulnerability is to system availability.
{
"license": "CC-BY-4.0",
"sources": [
{
"modified": "2026-06-17T03:33:38.900Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-20309",
"published": "2021-05-11T23:15:08.720Z",
"id": "CVE-2021-20309",
"imported": "2026-07-30T14:08:42.935Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20309",
"database_specific": {
"status": "Modified"
}
}
]
}