CVE-2020-25666

LOW
3.3
CVSS Score
Published: December 8, 2020 at 12:00 AM UTC
Updated: June 17, 2026 at 03:07 AM UTC
2 products affected across 2 vendorsDebian LinuxImageMagick

Using ImageMagick by N/A?

Get instant alerts when new vulnerabilities affect ImageMagick - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.3
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.9.10-69v < 7.0.9-07.0.0-0 ≤ v < 7.0.9-0
Affected range stops below 6.9.10-69, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.9-0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-190

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card