CVE-2020-27756
Last modified
CVE-2020-27756 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.83% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | >= 6.9.9-34, < 6.9.10-69 |
| Imagemagick | Imagemagick | >= 7.0.0-0, < 7.0.9-0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1894233Exploit, Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1894233Exploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-27756?
How severe is CVE-2020-27756?
How do I fix CVE-2020-27756?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-27750A flaw was found in ImageMagick in MagickCore/colorspace-pri…5.5
- CVE-2020-27751A flaw was found in ImageMagick in MagickCore/quantum-export…3.3
- CVE-2020-27752A flaw was found in ImageMagick in MagickCore/quantum-privat…7.1
- CVE-2020-27753There are several memory leaks in the MIFF coder in /coders/…5.5
- CVE-2020-27754In IntensityCompare() of /magick/quantize.c, there are calls…3.3
- CVE-2020-27755in SetImageExtent() of /MagickCore/image.c, an incorrect ima…3.3
- CVE-2020-27757A floating point math calculation in ScaleAnyToQuantum() of …3.3
- CVE-2020-27758A flaw was found in ImageMagick in coders/txt.c. An attacker…3.3
- CVE-2020-27759In IntensityCompare() of /MagickCore/quantize.c, a double va…3.3
- CVE-2020-2776Vulnerability in the PeopleSoft Enterprise PeopleTools produ…8.6
- CVE-2020-27760In `GammaImage()` of /MagickCore/enhance.c, depending on the…5.5
- CVE-2020-27761WritePALMImage() in /coders/palm.c used size_t casts in seve…3.3
Are you affected by CVE-2020-27756?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
