{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-20224","published":"2022-08-25T20:15:08.873000Z","last_modified":"2026-06-17T03:33:30Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*","part":"a","vendor":"imagemagick","product":"imagemagick","version_end_excluding":"6.9.11-57"},{"criteria":"cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*","part":"a","vendor":"imagemagick","product":"imagemagick","version_start_including":"7.0.0-0","version_end_excluding":"7.0.10-57"}],"cpes_truncated":false,"vendors":["imagemagick"],"products":["imagemagick/imagemagick"],"epss":{"score":0.00389,"percentile":0.3512,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2021-20224/","html_en":"/en/cve/CVE-2021-20224/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20224","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20224"},"untrusted":{"vendor_name":"Imagemagick","product_name":"Imagemagick","desc_en":"An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash.","affected":[],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick/pull/3083","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","tags":[]}]}}