{"id":"CVE-2021-20224","aliases":["CVE-2021-20224"],"related":[],"kind":"vulnerability","state":"published","title":"An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema de desbordamiento de enteros en la función ExportIndexQuantum() de ImageMagick en el archivo MagickCore/quantum-export.c. Las llamadas a la función GetPixelIndex() podrían resultar en valores fuera del rango representable para el \"unsigned char\". Cuando ImageMagick procesa un archivo pdf diseñado, esto podría conllevar a un comportamiento no definido o un bloqueo.","source":"nvd"}],"published":"2022-08-25T00:00:00.000Z","modified":"2026-06-17T03:33:30.000Z","severity":{"scorer":"NVD","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":"NVD","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":["CWE-190"],"affected":[{"ranges":[{"version":"Fixed in ImageMagick-7.0.10-57, ImageMagick6-6.9.11-57","status":"affected"}],"product":"ImageMagick","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.9.11-57"},{"status":"affected","introduced":"7.0.0-0","fixed":"7.0.10-57"}],"vendor":"imagemagick","product":"imagemagick","cpe":"cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/pull/3083","tags":["issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-20224","url":"https://www.cve.org/CVERecord?id=CVE-2021-20224","licence":"CVE Terms of Use","modified":"2024-08-03T17:30:07.484Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-20224","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20224","licence":"Public domain","modified":"2026-06-17T03:33:30.000Z"}],"updatedAt":"2026-11-25T22:58:07.789Z","epss":{"score":0.00389,"percentile":0.3512,"date":"2026-12-01T12:00:22.000Z"}}