CVE-2020-25666 Details
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 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1891612 | CVE | ExploitIssue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html | CVE | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html | CVE | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1891612 | [email protected] | ExploitIssue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html | [email protected] | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| imagemagick imagemagick | < 6.9.10-69 >= 7.0.0-0, < 7.0.9-0 |
CPE
Remediation
| |
| debian debian linux | 9.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 11, 2023 | CVE Modified | [email protected] |
| Jun 2, 2021 | Reanalysis | [email protected] |
| Mar 25, 2021 | Modified Analysis | [email protected] |
| Mar 24, 2021 | CVE Modified | [email protected] |
| Dec 10, 2020 | Initial Analysis | [email protected] |