Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-25663

ImageMagick: use-after-free, heap-buffer-overflow triggered by GetPixelRed, GetPixelBlue in MagickCore/pixel-accessor.h

Overview

Published
8 Dec 2020
Modified
17 Jun 2026
Medium CVE
1 Registry packages
7 OS packages
3 Linux distributions
Yes Fix available

Description

A call to ConformPixelInfo() in the SetImageAlphaChannel() routine of /MagickCore/channel.c caused a subsequent heap-use-after-free or heap-buffer-overflow READ when GetPixelRed() or GetPixelBlue() was called. This could occur if an attacker is able to submit a malicious image file to be processed by ImageMagick and could lead to denial of service. It likely would not lead to anything further because the memory is used as pixel data and not e.g. a function pointer. This flaw affects ImageMagick versions prior to 7.0.9-0.

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness: CWE-416

Affected packages · 1

Packages affected by CVE-2020-25663
EcosystemPackageVulnerableFixed in
Julia ImageMagick_jll <7.1.0+0 7.1.0+0

Open a package to see all its vulnerabilities.

Operating systems · 3 fixes

Red Hat 1 release · 1 package

eol 1
imagemagick
Red Hat fixes for CVE-2020-25663
ReleasePackageFixed in
7 imagemagick +5 eol

seal Red Hat 1 release · 1 package

fixed 1
imagemagick
seal Red Hat fixes for CVE-2020-25663
ReleasePackageFixed in
7 imagemagick +1 6.9.10.68-6.el7_9+sp999

chainguard 1 release · 1 package

not affected 1
imagemagick-6
chainguard fixes for CVE-2020-25663
ReleasePackageFixed in
imagemagick-6 not affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.