Skip to main content

ImageMagick CVE-2026-109276

| EUVDEUVD-2026-97720 MEDIUM
Incomplete Cleanup (CWE-459)
2026-10-12 VulnCheck GHSA-hh36-f88v-939q
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach ImageMagick image-processing endpoint
  2. Delivery
    Submit crafted JNG file
  3. Exploit
    Trigger JNG decoder temp-file leak
  4. Execution
    Repeat submissions to accumulate orphaned files
  5. Impact
    Exhaust disk space degrading availability

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incomplete cleanup
Exploitation Conditions

Exploitation requires the target application to accept and process attacker-supplied JNG (JPEG Network Graphics) files through ImageMagick's JNG decoder in coders/png.c (vulnerable builds before 6.9.13-57, or 7.x before 7.1.2-32). The specific trigger is JNG input whose DestroyJNG path fails to relinquish the unique temporary files created for the color and alpha sub-images. Meaningful impact is LIMITED by its cumulative nature: a single file leaks only a small amount of disk, so an attacker must submit many crafted files repeatedly to exhaust the filesystem, and impact depends on available disk headroom and temp-directory quotas. The vector is only truly remote/unauthenticated where an internet- or user-facing feature routes uploads into ImageMagick; batch or offline-only usage reduces this to local/config-dependent exposure.

Impact

This is a genuine but moderate-severity availability issue, not a top-tier emergency. The vendor-supplied CVSS:4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, low-complexity, unauthenticated, no-interaction triggering, but the only impact is VA:L - a low availability hit via gradual disk exhaustion from leaked temporary files (CWE-459, incomplete cleanup). Confidentiality and integrity impacts are explicitly N, so despite the 'Information Disclosure' tag in the input, no data exposure occurs - the tag conflicts with both the description and the CVSS vector and should be disregarded (data is leaked to disk as orphaned temp files, not disclosed to the attacker). No EPSS score was provided, the CVE is NOT on CISA KEV, and no POC was supplied, so there is no public exploit identified at time of analysis. The score of 6.9 is driven by easy remote reachability rather than impact magnitude; the practical risk is a slow denial-of-service requiring sustained repeated submissions to meaningfully consume disk, making this a patch-on-normal-cycle item rather than an exploited-in-the-wild priority. Note the apparent scope mismatch is minor: AV:N is justified only when the application exposes ImageMagick-backed image processing to untrusted input; in offline/batch-only deployments the realistic vector is closer to local.

Exploit ScenarioDerived

An attacker repeatedly uploads crafted JNG files to a web application that uses ImageMagick for server-side image processing (e.g., avatar or attachment handling). Each decode leaves orphaned temporary files for the color and alpha sub-images that are never relinquished, so sustained submissions steadily consume disk space until the filesystem fills and the service degrades or fails. No public exploit code was provided, and no authentication or user interaction is required where the processing endpoint is reachable.

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

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

Alert me

AnalysisAIv1 – Oct 12, 2026

Repeated processing of attacker-supplied JNG images by ImageMagick before 6.9.13-57, or 7.x before 7.1.2-32, leaves temporary files on disk, letting unauthenticated remote attackers gradually exhaust storage and degrade service availability. The effect is cumulative rather than immediate: a single crafted file leaks only a small amount of disk, so meaningful impact requires many submissions and depends on the host's free space and temporary-directory quotas. Vendor patches exist for both release lines (6.9.13-57 and 7.1.2-32), and no public exploit code or confirmed actively exploited (CISA KEV) status was identified at time of analysis; the CVSS 4.0 score of 6.9 reflects low availability impact only, with no confidentiality or integrity effect.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 6.9.13-57 or 7.1.2-32 (or later), which contain the DestroyJNG cleanup fix; the corresponding upstream commits are b2d579d20cc503185b6e8b0bc2dfb520b7bce58a (7.x) and 3875281ca0c5aa67b2bf0454725abf177c706b3b (6.x), and details are in advisory https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-f983-243h-9x4r. Where upgrading immediately is not feasible, restrict or disable the JNG coder through a policy.xml entry such as <policy domain="coder" rights="none" pattern="JNG"/> - the trade-off is that legitimate JNG and MNG inputs will be refused, so validate this against your input corpus first. Additionally, point temporary storage at a dedicated, quota-bounded filesystem via the MAGICK_TEMPORARY_PATH environment variable or the registry:temporary-path define so that leaked files cannot fill the root volume, and monitor that directory for accumulating orphaned temporaries so that a slow leak is detected before it causes an outage. Rate-limiting or otherwise capping the volume of untrusted image submissions per client reduces the achievable leak rate, and periodic cleanup of stale temporary files bounds the damage from any already-orphaned artifacts; note that none of these compensating controls fix the leak itself, they only contain its blast radius.

Affected VersionsENISA

ImageMagick 0 <6.9.13-57
ImageMagick 7.0.0-0 <7.1.2-32

Affected Packages

euvd imagemagick fix: 6.9.13-57, 7.1.2-32

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

The root cause is CWE-459 (Incomplete Cleanup) in the JNG decoder implemented in ImageMagick's coders/png.c. JNG (JPEG Network Graphics) is a MNG-family format that carries a JPEG-compressed color sub-image plus an optional alpha sub-image; when ImageMagick decodes one, it materializes those components as unique temporary files allocated through AcquireUniqueFileResource. In the vulnerable code path, the DestroyJNG routine frees the in-memory image structures but fails to call RelinquishUniqueFileResource on the sub-image filenames, so the on-disk temporaries are orphaned on every decode. The upstream fixes (commit b2d579d20cc503185b6e8b0bc2dfb520b7bce58a for the 7.x line and 3875281ca0c5aa67b2bf0454725abf177c706b3b for the 6.x line) add an explicit filename check and relinquish call for both the color and alpha images in DestroyJNG. The same 7.x commit also touches PerlMagick/Magick.xs and quantum.xs.in, but those changes are the unrelated MagickPI constant definition; the security-relevant change is confined to coders/png.c. This is a pure resource-management defect: there is no memory corruption, no path traversal, and no code execution primitive, so exploitation is limited to disk-space consumption on hosts whose pipeline feeds untrusted JNG files into 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 (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remotely reachable image processing needs no auth or interaction (AV:N/AC:L/PR:N/UI:N); only gradual disk exhaustion yields A:L with no confidentiality or integrity impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an incomplete cleanup flaw in the JNG decoder that fails to remove temporary files when processing crafted input. Attackers can submit crafted JNG files for processing to repeatedly leak temporary files, consuming disk space and degrading availability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
High
ImageMagick is a near-default server-side image processing library across web stacks
Data Quality
6 sources
Confidence: High

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.4%
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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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

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