{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2020-25666","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","dateUpdated":"2024-08-04T15:40:36.313Z","dateReserved":"2020-09-16T00:00:00.000Z","datePublished":"2020-12-08T00:00:00.000Z"},"containers":{"cna":{"providerMetadata":{"orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat","dateUpdated":"2023-03-11T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations. This occurs in the rgb values and `count` value for a color. The patch uses casts to `ssize_t` type for these calculations, instead of `int`. This flaw could impact application reliability in the event that ImageMagick processes a crafted input file. This flaw affects ImageMagick versions prior to 7.0.9-0."}],"affected":[{"vendor":"n/a","product":"ImageMagick","versions":[{"version":"prior to 7.0.9-0","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1891612"},{"name":"[debian-lts-announce] 20210323 [SECURITY] [DLA 2602-1] imagemagick security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html"},{"name":"[debian-lts-announce] 20230311 [SECURITY] [DLA 3357-1] imagemagick security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html"}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-190","cweId":"CWE-190"}]}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T15:40:36.313Z"},"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1891612","tags":["x_transferred"]},{"name":"[debian-lts-announce] 20210323 [SECURITY] [DLA 2602-1] imagemagick security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html"},{"name":"[debian-lts-announce] 20230311 [SECURITY] [DLA 3357-1] imagemagick security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html"}]}]}}