{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-20224","id":"CVE-2021-20224","title":"ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c: values outside the range of representable…","description":"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.","descriptionLong":"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.","published":"2022-08-25T00:00:00.000Z","updated":"2026-10-24T14:24:40.870770506Z","reserved":"2020-12-17T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["ImageMagick"],"affectedProducts":[{"vendor":"n/a","product":"ImageMagick","defaultStatus":null,"versions":[{"version":"Fixed in ImageMagick-7.0.10-57, ImageMagick6-6.9.11-57","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-190"],"aliases":[],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/pull/3083","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","tags":["mailing-list","x_transferred","web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00389,"epssPercentile":0.33726,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-20224","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20224","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-20224","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-20224","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}