CVE-2020-25676: 
ImageMagick vulnerability analysis and mitigation

Overview

In ImageMagick versions prior to 7.0.9-0, multiple unconstrained pixel offset calculations in MagickCore/pixel.c functions (CatromWeights, MeshInterpolate, InterpolatePixelChannel, InterpolatePixelChannels, and InterpolatePixelInfo) produced undefined behavior in the form of out-of-range and integer overflows, as identified by UndefinedBehaviorSanitizer (Red Hat Bug).

Technical details

The vulnerability stems from unconstrained pixel offset calculations being used with the floor() function in multiple functions within the MagickCore/pixel.c file. These calculations could result in undefined behavior through out-of-range values and integer overflows. The issue has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could be triggered by an attacker who supplies a crafted input file to be processed by ImageMagick. These issues could impact application availability through denial of service or potentially cause other problems related to undefined behavior (Red Hat Bug).

Exploitability

The vulnerability requires an attacker to supply a specially crafted input file that would be processed by ImageMagick. The attack requires local access and user interaction to process the malicious file (NVD).

Mitigation and workarounds

The vulnerability has been fixed in ImageMagick version 7.0.9-0. Users are recommended to upgrade to this version or later. Multiple Linux distributions have also released security updates to address this vulnerability, including Ubuntu and Debian (Ubuntu Notice, Debian LTS).

Additional resources


Source: This report was generated using AI

Related ImageMagick vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-109964MEDIUM6.3
  • ImageMagick logoImageMagick
  • ImageMagick-c++-devel
NoYesOct 13, 2026
CVE-2026-109281MEDIUM4.8
  • ImageMagick logoImageMagick
  • imagemagick
NoYesOct 12, 2026
CVE-2026-109282LOW2
  • ImageMagick logoImageMagick
  • ImageMagick.src
NoYesOct 12, 2026
CVE-2026-109280LOW2
  • ImageMagick logoImageMagick
  • cpe:2.3:a:imagemagick:imagemagick
NoYesOct 12, 2026
CVE-2026-109279LOW2
  • ImageMagick logoImageMagick
  • ImageMagick-c++-devel
NoYesOct 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management