Skip to main content

ImageMagick CVE-2026-53465

MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-06-10 GitHub_M GHSA-44cp-c3ww-9rv5
6.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft malformed multi-frame image
  2. Delivery
    Submit file to ImageMagick-backed processing endpoint
  3. Exploit
    SF3 encoder invoked on crafted input
  4. Execution
    Heap buffer over-write triggered
  5. Impact
    Process crash or heap corruption achieved

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

The vulnerability is triggered only when ImageMagick encodes a crafted multi-frame image through the SF3 encoder code path - single-frame images and other encoder paths are not affected. The attacker must be able to supply a file that reaches this specific encoding operation; in automated pipeline deployments such as web upload handlers or batch image converters, no OS-level authentication is required (PR:N per CVSS vector) since the attacker simply submits the malicious file to the application. Exploitation is bounded to contexts where SF3 encoding is actually invoked; applications that process images without triggering the SF3 encoder are not at risk. The official AV:L designation likely reflects a direct local file-supply test scenario; in practice, deployments where ImageMagick processes network-supplied uploads expose this code path to remote unauthenticated attackers, substantially broadening exploitability beyond what AV:L implies.

Impact

The official CVSS 3.1 score of 6.2 (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a local attack vector with high availability impact but no confidentiality or integrity impact scored. The AV:L designation may materially understate real-world risk: ImageMagick is routinely embedded in web upload handlers, automated conversion services, and CI/CD pipelines where an external attacker can supply the malicious file without local OS access, effectively making the attack vector network-accessible in many deployments. EPSS data is not provided in available intelligence, and the vulnerability is not listed in CISA KEV, indicating no confirmed widespread active exploitation. No public exploit code has been identified. However, CWE-122 heap-based buffer over-write primitives are well understood by exploit developers and can sometimes be developed into arbitrary code execution under favorable heap layout conditions - the official I:N scoring should not be treated as definitive for high-value targets. The low attack complexity (AC:L) confirms the trigger is reliable once the malformed frame structure is understood. Priority should be elevated for organizations running ImageMagick in pipelines exposed to untrusted external input.

Exploit ScenarioDerived

An attacker targeting an application that accepts user-supplied images - such as a web upload endpoint or email attachment processor backed by ImageMagick - crafts a malformed multi-frame image specifically designed to trigger an out-of-bounds write in the SF3 encoder during encoding. When the application passes this file through ImageMagick's encoding pipeline, the heap buffer is overrun, crashing the ImageMagick process and causing a denial of service; under favorable heap layout conditions, the write primitive may be developed into controlled memory corruption enabling code execution. No public POC has been identified, but AC:L indicates reliable triggering once the malformed frame structure is understood.

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

Heap-based buffer over-write in ImageMagick's SF3 encoder prior to version 7.1.2-25 allows an attacker who can supply a crafted multi-frame image to corrupt heap memory, yielding high availability impact and potential integrity exposure. All ImageMagick installations before 7.1.2-25 are affected regardless of platform. No public exploit has been identified at time of analysis and the vulnerability is absent from CISA KEV; however, CWE-122 write primitives carry inherent escalation risk beyond the scored DoS impact depending on heap layout at time of trigger.

RemediationAI

Vendor-released patch: 7.1.2-25. Upgrade ImageMagick to version 7.1.2-25 or later as documented in GitHub Security Advisory GHSA-44cp-c3ww-9rv5 at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-44cp-c3ww-9rv5. For deployments that cannot immediately upgrade, implement an explicit input format allowlist at the application layer that excludes SF3 format processing, preventing the vulnerable encoder from being invoked entirely - note this will break any legitimate SF3 encoding use cases. Additionally, sandboxing ImageMagick subprocesses using seccomp profiles or AppArmor/SELinux policies can limit the blast radius of heap corruption by restricting memory operations and process capabilities. Enforcing memory limits (ulimit -v) on ImageMagick worker processes can also cap availability impact by bounding the damage from a triggered crash to the sandboxed process rather than the parent application.

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 (CPE: cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*) is a widely deployed open-source image processing suite used as a standalone CLI tool and as an embedded library in web applications, content management systems, and automated media pipelines. The vulnerability resides in the SF3 encoder component, which is responsible for encoding multi-frame image sequences. CWE-122 (Heap-based Buffer Overflow) identifies the root cause: during encoding of a specially crafted multi-frame input, the encoder writes beyond the bounds of a heap-allocated buffer. This class of flaw typically originates from missing or incorrect bounds validation on frame count calculations or loop iteration limits during buffer population, allowing attacker-controlled data to overwrite adjacent heap memory - a write primitive more dangerous than a read overflow because it directly manipulates runtime data structures.

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

Local vector per vendor; heap over-write write primitive justifies I:L addition over official I:N; PR:N as no OS privileges needed to supply a crafted file.

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

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
High

DescriptionCVE.org

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-25, a crafted multi-frame can result in a heap buffer over-write when encoding it with the SF3 encoder. 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 source
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

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

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