Vulnerability Description
In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | >= 6.9.9-34, < 6.9.10-69 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1894233ExploitIssue TrackingPatch
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1894233ExploitIssue TrackingPatch
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
FAQ
What is CVE-2020-27756?
CVE-2020-27756 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafte...
How severe is CVE-2020-27756?
CVE-2020-27756 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-27756?
Check the references section above for vendor advisories and patch information. Affected products include: Imagemagick Imagemagick.