Skip to main content

ImageMagick CVE-2026-55577

| EUVDEUVD-2026-41121 MEDIUM
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2026-07-01 GitHub_M
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted MVG image via upload endpoint
  2. Delivery
    ImageMagick invoked with attacker-controlled file
  3. Exploit
    MVG decoder fails exceptional-input check
  4. Execution
    Heap buffer overflow triggered
  5. Persist
    Out-of-bounds write corrupts heap
  6. Impact
    ImageMagick process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Unusual condition handling
Exploitation Conditions

The target application must invoke ImageMagick's MVG decoder - either by explicitly accepting MVG files or by allowing ImageMagick to auto-detect format from attacker-supplied input. Versions prior to 6.9.13-51 (v6) or 7.1.2-26 (v7) are required. No authentication to ImageMagick itself is required (PR:N), but the attacker must be able to supply a crafted image to the application using ImageMagick - typically through a file upload endpoint, API, or any other image ingestion path. High attack complexity (AC:H) limits exploitation: specific heap conditions or precise crafting are required, meaning casual or automated untargeted scanning is unlikely to reliably trigger the vulnerability. Exploitation is limited to availability impact (crash/DoS) based on current CVE data; code execution is not confirmed. The vulnerability is not limited to a specific OS or deployment platform.

Impact

The NVD CVSS 3.1 score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a medium-severity denial-of-service risk. Attack complexity is rated High, indicating that exploitation requires specific conditions or precise crafting beyond a trivial payload - this meaningfully lowers the practical exploitation rate compared to an AC:L vulnerability. The impact is availability-only (A:H, C:N, I:N), meaning successful exploitation crashes the ImageMagick process rather than achieving code execution or data leakage based on the current scoring. However, out-of-bounds writes on the heap can in theory be escalated to arbitrary code execution depending on heap layout - this possibility is not confirmed by the available data and should not be assumed. No EPSS data was provided, no CISA KEV listing exists, and no public POC has been identified. SSVC signals suggest a lower urgency: exploitation is not confirmed active, the technical impact appears availability-limited per NVD scoring, and AC:H reduces automatability. For organizations running internet-facing image processing pipelines (e.g., file upload handlers, thumbnail generators), the risk is moderate and patching is straightforward given vendor-released fixes. The absence of C and I impact reduces blast radius significantly.

Exploit ScenarioDerived

An attacker uploads or submits a specially crafted MVG image to a web application that uses ImageMagick for image processing - such as a profile picture uploader or document converter. The MVG decoder processes the malicious file, triggering the heap buffer overflow and out-of-bounds write, causing the ImageMagick worker process to crash. If the application does not isolate image processing into a separate process or container, repeated submissions could cause sustained service disruption. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 01, 2026

Heap buffer overflow in ImageMagick's MVG decoder allows remote unauthenticated attackers to trigger an out-of-bounds write by supplying a specially crafted image file, resulting in denial of service. Affected are all ImageMagick deployments prior to versions 6.9.13-51 (legacy v6 branch) and 7.1.2-26 (current v7 branch). No public exploit code or active exploitation has been identified at time of analysis; however, the network-accessible vector and zero-privilege requirement make this relevant for any service that accepts and processes user-supplied images.

RemediationAI

Upgrade ImageMagick to version 6.9.13-51 or later on the v6 branch, or to 7.1.2-26 or later on the v7 branch. These are vendor-confirmed fix versions per the GitHub Security Advisory GHSA-wx47-rm3x-jx6p (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-wx47-rm3x-jx6p). If immediate patching is not possible, a compensating control is to disable or block MVG format processing by adding a policy denial for the MVG coder in ImageMagick's policy.xml file (e.g., adding '<policy domain="coder" rights="none" pattern="MVG" />' under the policymap element); note this will prevent processing of any MVG-format input and may break workflows that depend on that format. Additionally, restricting the file types accepted by any upstream application layer (e.g., allowlisting only JPEG/PNG/GIF before passing to ImageMagick) reduces the attack surface without requiring a policy change, though this is defense-in-depth rather than a full fix.

Affected VersionsENISA

ImageMagick 7.0.1-0, < 7.1.2-26
ImageMagick < 6.9.13-51

Affected Packages

euvd imagemagick fix: 6.9.13-51, 7.1.2-26

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ImageMagick is a widely-used open-source image manipulation library and CLI toolset. The MVG (Magick Vector Graphics) decoder is an internal format parser used to handle vector graphics instructions embedded in or alongside raster images. The root cause is classified as CWE-754 (Improper Check for Unusual or Exceptional Conditions): the MVG decoder fails to validate exceptional input states during parsing, allowing heap memory beyond the allocated buffer to be written. This is a classic heap buffer overflow (CWE-122 is the more specific child, but CWE-754 identifies the inadequate guard check as the root cause). The affected CPE is cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* covering both the v6 and v7 release lines prior to the fixed versions. Because ImageMagick is frequently invoked by web applications, CMS platforms, and image pipelines as a backend processor, the network attack vector arises from attacker-controlled images flowing into the library rather than a direct network socket on ImageMagick itself.

Know when Imagemagick gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network vector reflects attacker-supplied image ingestion; AC:H for required precise crafting; availability-only impact per CVE description with no confirmed code execution.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.9 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 20:02 EUVD

DescriptionCVE.org

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, a heap buffer overflow occurs in the MVG decoder that could result in an out of bounds write when processing a crafted image. This issue has been fixed in versions 6.9.13-51 and 7.1.2-26.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
High
widely-used image processing library in web apps and CMS platforms
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2016-3718 MEDIUM POC
5.5 May 05

The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct

CVE-2016-3715 MEDIUM POC
5.5 May 05

The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary fi

CVE-2017-15277 MEDIUM POC
6.5 Oct 12

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc

CVE-2016-5841 CRITICAL POC
9.8 Dec 13

Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv

CVE-2016-3717 MEDIUM POC
5.5 May 05

The LABEL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to read arbitrary files vi

CVE-2016-5118 CRITICAL
9.8 Jun 10

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit

CVE-2016-5689 CRITICAL POC
9.8 Dec 13

The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b

CVE-2016-5690 CRITICAL POC
9.8 Dec 13

The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to

CVE-2016-5691 CRITICAL POC
9.8 Dec 13

The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b

CVE-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

CVE-2017-14138 CRITICAL POC
9.8 Sep 04

ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy