Skip to main content

ImageMagick CVE-2026-53464

MEDIUM
Memory Leak (CWE-401)
2026-06-10 GitHub_M GHSA-j989-f892-2335
4.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Run ImageMagick with invalid options
  2. Delivery
    Trigger wand parser allocation
  3. Exploit
    Memory not freed on error path
  4. Execution
    Repeat across many invocations
  5. Persist
    Heap memory exhausted
  6. Impact
    Process or system availability degraded

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires local access to invoke the ImageMagick wand option parser with invalid or unrecognized option values - for example, via the command-line tool or the Wand API. Any local user with permission to run ImageMagick can trigger the leak without elevated privileges (PR:N per CVSS). The leak is 'small' per the vendor description, meaning a single invocation has negligible impact; meaningful availability degradation requires repeated triggering. Exploitation is limited by the local attack vector (AV:L), meaning remote exploitation is not possible without a separate vector that passes attacker-controlled options to ImageMagick. No specific non-default configuration is required - the flaw exists in the default option parsing path.

Impact

The aggregate risk signal here is low. The CVSS base score of 4.0 and an Availability impact of only A:L reflect the 'small' nature of the leak per the vendor description. The attack vector is Local (AV:L), meaning network-reachable exploitation is not possible without a separate delivery mechanism. There is no KEV listing, no reported POC, and no EPSS data provided. The 'Information Disclosure' tag in the source intelligence conflicts with both the description and the CVSS C:N metric - this discrepancy is unresolved and should be flagged for vendor clarification via the GitHub advisory GHSA-j989-f892-2335. In environments where ImageMagick processes untrusted input at high volume (e.g., image upload pipelines), repeated triggering of this leak could eventually contribute to process memory exhaustion, but this requires sustained, repeated invocations rather than a single attack.

Exploit ScenarioDerived

A local user or application-layer process invokes ImageMagick repeatedly with malformed or unsupported option strings - for example, through a bulk image processing job or an upload handler that passes user-controlled parameters. Each invocation leaks a small amount of heap memory, and over thousands of calls the process or host memory is gradually consumed, eventually degrading availability. No public exploit code is known at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jun 10, 2026

Memory leak in ImageMagick's wand option parser degrades availability when invalid options are supplied, affecting all versions prior to 7.1.2-25. The leak is described as small, meaning impact is limited to gradual memory exhaustion rather than immediate resource collapse. No active exploitation has been identified (not in CISA KEV), no public exploit code is known, and an EPSS score was not provided - consistent with a low-severity, locally-triggered defect. The 'Information Disclosure' tag in the source data is inconsistent with the CVSS C:N metric and the description; this discrepancy should be treated as a possible tagging error unless the vendor advisory clarifies memory-content exposure.

RemediationAI

The primary fix is to upgrade ImageMagick to version 7.1.2-25 or later, which resolves the memory leak in the wand option parser per the vendor advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j989-f892-2335. For environments that cannot immediately patch, a compensating control is to validate and sanitize ImageMagick option inputs at the application layer before passing them to the wand API, thereby preventing invalid options from reaching the vulnerable parser path. In high-throughput image processing pipelines, restarting worker processes on a scheduled basis can mitigate gradual memory accumulation as a short-term measure, though this does not address the root cause. There are no significant side effects expected from upgrading to 7.1.2-25 as this is a targeted memory management fix.

Affected Packages

nuget magick.net-q16-anycpu fix: 14.14.0
nuget magick.net-q16-arm64 fix: 14.14.0
nuget magick.net-q16-hdri-anycpu fix: 14.14.0
nuget magick.net-q16-hdri-arm64 fix: 14.14.0
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.14.0
nuget magick.net-q16-hdri-x64 fix: 14.14.0
nuget magick.net-q16-hdri-x86 fix: 14.14.0
nuget magick.net-q16-openmp-arm64 fix: 14.14.0
nuget magick.net-q16-openmp-x64 fix: 14.14.0
nuget magick.net-q16-x64 fix: 14.14.0
nuget magick.net-q16-x86 fix: 14.14.0
nuget magick.net-q8-anycpu fix: 14.14.0
nuget magick.net-q8-arm64 fix: 14.14.0
nuget magick.net-q8-openmp-arm64 fix: 14.14.0
nuget magick.net-q8-openmp-x64 fix: 14.14.0
nuget magick.net-q8-x64 fix: 14.14.0
nuget magick.net-q8-x86 fix: 14.14.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 17 packages in nuget

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 deployed open-source image processing suite. The affected component is the Wand API's option parser, a subsystem responsible for interpreting command-line and programmatic image manipulation directives. CWE-401 (Missing Release of Memory after Effective Lifetime) describes the root cause: memory allocated during option parsing is not freed when an invalid or unrecognized option is encountered, leaving orphaned heap allocations on every such invocation. CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* covers all ImageMagick versions across all platforms, though the CVSS AV:L vector constrains realistic exploitation to contexts where a local user or process can supply input to ImageMagick.

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 4.0 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 4.0 MEDIUM

Local invocation by any user, no privileges required, no confidentiality or integrity impact - only gradual low-severity memory exhaustion from repeated invocations.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-25, when providing invalid options to the wand option parser a small memory leak will occur. This issue has been patched in version 7.1.2-25.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA 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.0%
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
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
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Not-Affected

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