CVE-2020-27761
Last modified
CVE-2020-27761 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. WritePALMImage() in /coders/palm.c used size_t casts in several areas of a calculation which could lead to values outside the range of representable type `unsigned long` undefined behavior when a crafted input file was processed by ImageMagick. The patch casts to `ssize_t` instead to avoid this issue. EPSS estimates a 1.07% chance of exploitation in the next 30 days.
Description
WritePALMImage() in /coders/palm.c used size_t casts in several areas of a calculation which could lead to values outside the range of representable type `unsigned long` undefined behavior when a crafted input file was processed by ImageMagick. The patch casts to `ssize_t` instead to avoid this issue. Red Hat Product Security marked the Severity as Low because although it could potentially lead to an impact to application availability, no specific impact was shown in this case. This flaw affects ImageMagick versions prior to ImageMagick 7.0.9-0.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.10-69 |
| Imagemagick | Imagemagick | >= 7.0.0-0, < 7.0.9-0 |
| Debian | Debian Linux | 9.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1894679Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/03/msg00030.htmlMailing List, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1894679Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/03/msg00030.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-27761?
How severe is CVE-2020-27761?
How do I fix CVE-2020-27761?
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-27756In ParseMetaGeometry() of MagickCore/geometry.c, image heigh…5.5
- 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-27762A flaw was found in ImageMagick in coders/hdr.c. An attacker…5.5
- CVE-2020-27763A flaw was found in ImageMagick in MagickCore/resize.c. An a…3.3
- CVE-2020-27764In /MagickCore/statistic.c, there are several areas in Apply…3.3
- CVE-2020-27765A flaw was found in ImageMagick in MagickCore/segment.c. An …3.3
- CVE-2020-27766A flaw was found in ImageMagick in MagickCore/statistic.c. A…7.8
- CVE-2020-27767A flaw was found in ImageMagick in MagickCore/quantum.h. An …3.3
Are you affected by CVE-2020-27761?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
