CVE-2020-27760Imagemagick
Medium 5.5
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- Yes
- Published
- Dec 3, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-369
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Imagemagick.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | < 6.9.10-68 |
| imagemagick | imagemagick | ≥ 7.0.0-0 < 7.0.8-68 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org