CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Imagemagick

CVE-2020-25666
Imagemagick vulnerability

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 products

Imagemagick, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Imagemagick products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.