Skip to main content

ImageMagick EUVDEUVD-2026-42888

| CVE-2026-56366 MEDIUM
Memory Leak (CWE-401)
2026-07-10 VulnCheck GHSA-377p-xr9w-8773
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted APP1JPEG image to processing endpoint
  2. Delivery
    ImageMagick META reader encounters error on APP1JPEG path
  3. Exploit
    Allocated memory not freed on error exit
  4. Execution
    Repeat submissions accumulate leaked memory
  5. Persist
    Host process memory exhausted
  6. Impact
    Denial of service achieved

Vulnerability Assessment

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

The vulnerable code path is triggered specifically when ImageMagick's META reader processes an APP1JPEG image path and encounters an error condition - meaning the input must be a malformed JPEG file with an APP1JPEG segment that causes the error branch to execute. Normal, well-formed JPEG files do not trigger the leak. The CVSS 4.0 UI:P (passive user interaction) metric confirms the file must actually be processed by ImageMagick, not merely stored or transferred; an attacker cannot exploit this without a processing trigger. AV:L reflects that the image must reach an ImageMagick process locally, but in practice this is achieved remotely by submitting files to any application that passes user input to ImageMagick. No privileges are required at the ImageMagick layer (PR:N), though application-layer authentication on the consuming service may limit who can submit files. There is no scope change - impact is confined to the ImageMagick process itself. Exploitation is limited by: the attacker's ability to submit files for processing, the per-invocation leak magnitude (which determines how many requests are needed to exhaust memory), and any application or OS-level memory limits already in place.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VA:L) scores 4.8 Medium. The local attack vector is the most important limiting factor in isolation - however, for server-side deployments where ImageMagick processes user-supplied images (upload handlers, thumbnailing services, document converters), the 'local' processing occurs on the server and the attacker's leverage is through the file submission channel, not a local shell. Impact is strictly availability-limited (VA:L, no confidentiality or integrity exposure), meaning the worst realistic outcome is process crash or service degradation rather than data compromise. No EPSS score was provided in the input data. No CISA KEV listing and no POC reference significantly reduce urgency versus a patched RCE; however, organizations with public-facing image ingestion pipelines using unpatched ImageMagick should treat this as a practical DoS risk. The absence of attack requirements (AT:N) and low complexity (AC:L) mean exploitation is straightforward once the attacker can submit an image - the only gating factor is UI:P (the file must be processed).

Exploit ScenarioDerived

An attacker submits a batch of specially crafted JPEG images containing malformed APP1JPEG metadata segments to a public-facing image upload endpoint backed by ImageMagick. Each processing invocation leaks a fixed amount of memory without freeing it; by submitting images in rapid succession, the attacker causes the ImageMagick worker process - or the application server if they share memory space - to exhaust available RAM, resulting in failed image processing requests or a full service crash.

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 10, 2026

Memory leak in ImageMagick's META reader (versions before 7.1.2-18) enables denial of service through resource exhaustion when processing specially crafted APP1JPEG image files. The flaw sits in the error-handling path of the META reader, meaning memory allocated during malformed APP1JPEG processing is never freed, allowing an attacker to repeatedly trigger the leak until the host process exhausts available memory. No public exploit code has been identified at time of analysis and this vulnerability is not listed in the CISA KEV catalog; the CVSS 4.0 score of 4.8 (Medium) reflects limited impact scope.

RemediationAI

Upgrade ImageMagick to version 7.1.2-18 or later, which resolves the memory management flaw in the META reader's APP1JPEG error path per vendor advisory GHSA-9r56-3gjq-hqf7 (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9r56-3gjq-hqf7). If immediate patching is not feasible for services that accept user-supplied images, restrict accepted input formats at the application layer by denying JPEG or files with embedded APP1 segments before they reach ImageMagick - this will break legitimate JPEG workflows but prevents triggering the vulnerable code path. Alternatively, enforce per-process memory ceilings via ulimit -v or cgroup memory limits on the ImageMagick worker processes; this does not eliminate the leak but bounds the blast radius by causing the process to fail fast rather than exhausting host memory. Sandbox isolation (e.g., running ImageMagick in a container with a memory cap) similarly contains impact. Rate-limiting file-processing endpoints reduces an attacker's ability to accumulate leaked memory rapidly.

Affected VersionsENISA

ImageMagick 0 <7.1.2-18
ImageMagick 0 <6.9.13-43

Affected Packages

nuget magick.net-q16-anycpu fix: 14.11.1
nuget magick.net-q16-arm64 fix: 14.11.1
nuget magick.net-q16-hdri-anycpu fix: 14.11.1
nuget magick.net-q16-hdri-arm64 fix: 14.11.1
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.11.1
nuget magick.net-q16-hdri-x64 fix: 14.11.1
nuget magick.net-q16-hdri-x86 fix: 14.11.1
nuget magick.net-q16-openmp-arm64 fix: 14.11.1
nuget magick.net-q16-openmp-x64 fix: 14.11.1
nuget magick.net-q16-openmp-x86 fix: 14.11.1
nuget magick.net-q16-x64 fix: 14.11.1
nuget magick.net-q16-x86 fix: 14.11.1
nuget magick.net-q8-anycpu fix: 14.11.1
nuget magick.net-q8-arm64 fix: 14.11.1
nuget magick.net-q8-openmp-arm64 fix: 14.11.1
nuget magick.net-q8-openmp-x64 fix: 14.11.1
nuget magick.net-q8-x64 fix: 14.11.1
nuget magick.net-q8-x86 fix: 14.11.1
euvd imagemagick fix: 6.9.13-43, 7.1.2-18

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 an open-source image processing library and CLI toolset used extensively in web backends, CI pipelines, and content management systems. The META reader is the component responsible for parsing embedded metadata segments in image files, including APP1JPEG - a JPEG/JFIF application segment commonly carrying EXIF data. The root cause is CWE-401 (Missing Release of Memory after Effective Lifetime): when the META reader encounters an error condition on an APP1JPEG input path, it exits without freeing previously allocated buffers. Because this is an error-path leak rather than a mainline-processing leak, normal well-formed image processing is unaffected, but malformed inputs reliably trigger unbounded memory growth per invocation. The affected CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* covers all platform variants across every distribution prior to 7.1.2-18.

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

File must be actively processed (UI:R); no privileges required to supply input; impact is availability-only and bounded (A:L), with no confidentiality or integrity exposure.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/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 3.3 LOW

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 10, 2026 - 16:16 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-18 contains a memory leak vulnerability in the META reader when processing APP1JPEG input paths. Attackers can trigger this memory leak by providing specially crafted APP1JPEG image files, causing denial of service through resource exhaustion.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
widely used image processing library across Linux servers, Docker images, and web stacks
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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

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-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: 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 LTSS Extended Security 12 SP5 Fixed

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