Skip to main content

ImageMagick CVE-2026-56372

| EUVDEUVD-2026-43172 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-07-11 VulnCheck GHSA-x98x-mp75-v6m4
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft image with invalid magnify:method value
  2. Delivery
    Deliver to target via upload or file share
  3. Exploit
    User or pipeline invokes ImageMagick on image
  4. Execution
    Magnify operation encounters unrecognized method
  5. Persist
    Heap out-of-bounds read triggered
  6. Impact
    Adjacent heap memory leaked or process crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a user or automated process invoke ImageMagick's magnify operation on an attacker-controlled image file containing an unrecognized magnify:method value - this is the specific triggering condition per the CVE description. The CVSS 4.0 vector confirms: local attack vector (AV:L), meaning the crafted file must reach and be processed on the target host; user interaction required (UI:P), meaning a human user or automated pipeline action must initiate processing of the file; no privileges required (PR:N), meaning the attacker does not need an account on the system, only the ability to place or deliver the crafted image. Exploitation is limited by: (1) the local processing requirement - remote network exploitation is not possible without a delivery vector such as a file upload endpoint; (2) the need for the magnify operation specifically to be invoked, which depends on how the application uses ImageMagick; and (3) the low impact class - memory disclosure is partial and limited to adjacent heap contents, and the DoS is process-level rather than system-level.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L) scores 4.8 Medium, reflecting a local attack vector with required user interaction and only low availability impact on the vulnerable system. The local attack vector (AV:L) is the primary risk limiter: an attacker cannot directly exploit this over a network; a user or service must locally process the crafted image. However, in server-side deployments where ImageMagick automatically processes user-uploaded images, the effective attack surface is broader than AV:L alone implies, since the 'user interaction' may be fulfilled by an automated pipeline rather than a human. No EPSS score was provided in the input data, so exploitation probability cannot be numerically quantified. The vulnerability is not in CISA KEV and no public exploit code has been identified, reinforcing its low-urgency classification. The VA:N/VC:N assignment in the provided vector conflicts mildly with the description's mention of 'potentially exposing sensitive information'; an independent assessment places C:L as more appropriate. Overall, this represents a genuine but low-priority finding - upgrade is warranted, but emergency patching is not justified by the available signals.

Exploit ScenarioDerived

An attacker crafts a malicious image file embedding an unrecognized magnify:method value in its metadata or processing directives, then uploads it to a web application or shares it with a user whose workflow invokes ImageMagick (e.g., a CMS thumbnail generator, a document converter, or a command-line convert invocation). When ImageMagick's magnify operation processes the file and encounters the unrecognized method value, it performs a heap out-of-bounds read, potentially leaking adjacent heap contents to the attacker (if output is reflected) or crashing the processing process. No proof-of-concept exploit has been identified at time of analysis, but the trigger condition is straightforward to craft given knowledge of ImageMagick's image processing directive format.

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

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

Alert me

AnalysisAIv1 – Jul 11, 2026

Heap-based out-of-bounds read in ImageMagick before 7.1.2-19 is triggered when processing an image carrying an unrecognized magnify:method value, causing the magnify operation to read beyond allocated heap memory. Affected systems running any version prior to 7.1.2-19 can be impacted when a user or automated pipeline processes a specially crafted image file, with outcomes ranging from partial memory disclosure to application crash. No active exploitation is confirmed (not in CISA KEV) and no public proof-of-concept has been identified at time of analysis, and the CVSS 4.0 score of 4.8 (Medium) reflects the limited local/interactive nature of the attack.

RemediationAI

The primary fix is upgrading to ImageMagick 7.1.2-19 or later, as confirmed by the upstream security advisory GHSA-8vfj-q2cp-5m5j at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8vfj-q2cp-5m5j. On Linux distributions using package managers, update via the system package manager once a patched package is available for your distribution, or build from source using the official ImageMagick repository. As a compensating control for environments that cannot immediately upgrade, operators running ImageMagick in image-processing pipelines should sanitize or reject image files with non-standard or unrecognized processing directives before passing them to ImageMagick - for example, using a format allow-list or stripping embedded processing hints. Additionally, running ImageMagick in a sandboxed or resource-limited process (e.g., via seccomp, containers, or reduced-privilege accounts) limits the blast radius of an OOB read or crash to the sandboxed process rather than the broader application. The trade-off of the sanitization approach is added preprocessing latency; the trade-off of sandboxing is operational complexity.

Affected VersionsENISA

ImageMagick 0 <7.1.2-19

Affected Packages

nuget magick.net-q16-anycpu fix: 14.12.0
nuget magick.net-q16-arm64 fix: 14.12.0
nuget magick.net-q16-hdri-anycpu fix: 14.12.0
nuget magick.net-q16-hdri-arm64 fix: 14.12.0
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.12.0
nuget magick.net-q16-hdri-openmp-x64 fix: 14.12.0
nuget magick.net-q16-hdri-x64 fix: 14.12.0
nuget magick.net-q16-hdri-x86 fix: 14.12.0
nuget magick.net-q16-openmp-arm64 fix: 14.12.0
nuget magick.net-q16-openmp-x64 fix: 14.12.0
nuget magick.net-q16-x64 fix: 14.12.0
nuget magick.net-q16-x86 fix: 14.12.0
nuget magick.net-q8-anycpu fix: 14.12.0
nuget magick.net-q8-arm64 fix: 14.12.0
nuget magick.net-q8-openmp-arm64 fix: 14.12.0
nuget magick.net-q8-openmp-x64 fix: 14.12.0
nuget magick.net-q8-x64 fix: 14.12.0
nuget magick.net-q8-x86 fix: 14.12.0
euvd imagemagick fix: 7.1.2-19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 19 packages in nuget, 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 suite (CPE: cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*) that supports dozens of image operations, including magnify/minify scaling operations parameterized by a method string. CWE-122 (Heap-based Buffer Overflow) identifies the root cause class: when the magnify operation receives a method identifier it does not recognize, it fails to properly bound-check a heap buffer access before reading from it, resulting in an out-of-bounds read rather than a write overflow. While CWE-122 classically refers to writes, the description and CVSS impact metrics (no integrity impact, low availability impact, and potential confidentiality impact) align with an OOB read primitive. Such reads on heap memory can expose adjacent heap contents including potentially sensitive data from other processed images or application state, and can also trigger a segmentation fault or assertion failure, causing a denial of service.

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 (VulnCheck) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.4 MEDIUM

Local file processing (AV:L), user must trigger conversion (UI:R), no account needed (PR:N); OOB read yields partial heap disclosure (C:L) and potential crash (A:L), no write primitive (I:N).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 11, 2026 - 15:01 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-19 contains a heap buffer overflow vulnerability in the magnify operation that allows attackers to read out of bounds memory. An unrecognized magnify:method value triggers an out of bounds read, potentially exposing sensitive information or causing denial of service.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
widely deployed image processing library across web, CMS, and server environments
Social Media
2
Sightings
Data Quality
7 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.1%
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
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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-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

CVE-2026-23876 CRITICAL POC
9.8 Jan 20

Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP6-LTSS Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 Fixed

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