CVE-2020-27760

MEDIUMCVSS 5.5/10EPSS 1.36%

Last modified

CVE-2020-27760 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In `GammaImage()` of /MagickCore/enhance.c, depending on the `gamma` value, it's possible to trigger a divide-by-zero condition when a crafted input file is processed by ImageMagick. This could lead to an impact to application availability. EPSS estimates a 1.36% chance of exploitation in the next 30 days.

Description

In `GammaImage()` of /MagickCore/enhance.c, depending on the `gamma` value, it's possible to trigger a divide-by-zero condition when a crafted input file is processed by ImageMagick. This could lead to an impact to application availability. The patch uses the `PerceptibleReciprocal()` to prevent the divide-by-zero from occurring. This flaw affects ImageMagick versions prior to ImageMagick 7.0.8-68.

Metrics

CVSS 3.1
5.5/10

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

EPSS Probability
1.36%

68.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
ImagemagickImagemagick< 6.9.10-68
ImagemagickImagemagick>= 7.0.0-0, < 7.0.8-68
DebianDebian Linux9.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-27760?
In `GammaImage()` of /MagickCore/enhance.c, depending on the `gamma` value, it's possible to trigger a divide-by-zero condition when a crafted input file is processed by ImageMagick. This could lead to an impact to application availability. The patch uses the `PerceptibleReciprocal()` to prevent the divide-by-zero from occurring. This flaw affects ImageMagick versions prior to ImageMagick 7.0.8-68.
How severe is CVE-2020-27760?
CVE-2020-27760 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 1.36% probability of exploitation in the next 30 days.
How do I fix CVE-2020-27760?
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-27760?

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

Scan your code now

Source: NVD / NIST