CVE-2020-25666
Last modified
CVE-2020-25666 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations. This occurs in the rgb values and `count` value for a color. EPSS estimates a 1.16% chance of exploitation in the next 30 days.
Description
There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations. This occurs in the rgb values and `count` value for a color. The patch uses casts to `ssize_t` type for these calculations, instead of `int`. This flaw could impact application reliability in the event that ImageMagick processes a crafted input file. 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: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=1891612Exploit, Issue 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=1891612Exploit, Issue 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-25666?
How severe is CVE-2020-25666?
How do I fix CVE-2020-25666?
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-25660A flaw was found in the Cephx authentication protocol in ver…8.8
- CVE-2020-25661A Red Hat only CVE-2020-12351 regression issue was found in …8.8
- CVE-2020-25662A Red Hat only CVE-2020-12352 regression issue was found in …6.5
- CVE-2020-25663A call to ConformPixelInfo() in the SetImageAlphaChannel() r…5.5
- CVE-2020-25664In WriteOnePNGImage() of the PNG coder at coders/png.c, an i…6.1
- CVE-2020-25665The PALM image coder at coders/palm.c makes an improper call…5.5
- CVE-2020-25667TIFFGetProfiles() in /coders/tiff.c calls strstr() which cau…5.5
- CVE-2020-25668A flaw was found in Linux Kernel because access to the globa…7
- CVE-2020-25669A vulnerability was found in the Linux Kernel where the func…7.8
- CVE-2020-2567Vulnerability in the Oracle Retail Customer Management and S…4.8
- CVE-2020-25670A vulnerability was found in Linux Kernel where refcount lea…7.8
- CVE-2020-25671A vulnerability was found in Linux Kernel, where a refcount …7.8
Are you affected by CVE-2020-25666?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
