CVE-2020-25666

LOWCVSS 3.3/10EPSS 1.16%

Last modified

CVE-2020-25666 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. 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. EPSS estimates a 1.16% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
3.3/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

EPSS Probability
1.16%

63.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
ImagemagickImagemagick< 6.9.10-69
ImagemagickImagemagick>= 7.0.0-0, < 7.0.9-0
DebianDebian Linux9.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-25666?
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.
How severe is CVE-2020-25666?
CVE-2020-25666 has a CVSS score of 3.3/10 (LOW severity). The EPSS model estimates a 1.16% probability of exploitation in the next 30 days.
How do I fix CVE-2020-25666?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-25666?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST