Skip to main content

ImageMagick EUVDEUVD-2026-97713

| CVE-2026-109269 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-12 VulnCheck GHSA-248c-9g5r-6x28
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Upload crafted <4-component JPEG
  2. Exploit
    Trigger uninitialized comp_info read in decoder
  3. Impact
    Leak memory via sampling-factor metadata

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Exploitation requires ImageMagick to decode an attacker-supplied JPEG whose JPEG component count is fewer than four (e.g., single-component grayscale or 3-component YCbCr images), which is what leaves comp_info[] slots uninitialized when the pre-patch code formats all four. The realistic limiting factor is disclosure reachability: the uninitialized bytes are written into the image's sampling-factor property, so an attacker only gains value if the surrounding application exposes that metadata back to them - for example through 'identify'/property output, preserved metadata in a converted file, or an API that returns image attributes. On a pipeline that processes uploads but discards metadata, the leak is not observable. No authentication or user interaction is required at the ImageMagick layer (PR:N/UI:N) assuming an automated server-side processing path.

Impact

This is a genuine but low-to-moderate priority issue, not a high-urgency flaw. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remote, low-complexity, unauthenticated trigger, which is why the base score lands at 6.9; however, the impact metrics are the limiting factor - only VC:L (low confidentiality) with no integrity or availability impact (VI:N/VA:N). The leak is narrow: the JPEG decoder's JPEGSetImageSamplingFactor function unconditionally formatted four component sampling factors even when the image has fewer components (e.g., grayscale or 3-component YCbCr), reading uninitialized comp_info[] struct members and embedding them in the image's sampling-factor property. No EPSS score was provided, there is no CISA KEV listing, and no public exploit was identified - only vendor patch commits exist, which is distinct from weaponized exploit code. The practical risk hinges on whether an application returns the derived sampling-factor metadata back to an attacker; the base vector's UI:N/PR:N assumes an automated server-side processing pipeline. Net: a real defect worth patching on ubiquitous software, but the small, low-entropy disclosure makes it far less severe than the 'network/unauthenticated' metrics alone suggest.

Exploit ScenarioDerived

An attacker uploads a crafted JPEG with fewer than four components to a web service that uses ImageMagick to process or convert the image. ImageMagick formats uninitialized comp_info memory into the sampling-factor property; if the application then exposes that metadata (e.g., via 'identify', an EXIF/property dump, or converted output), the attacker reads back small fragments of uninitialized process memory. No public exploit code was identified at time of analysis, though the upstream patch commits publicly reveal the root cause.

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

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

Alert me

AnalysisAIv1 – Oct 12, 2026

An uninitialized-memory information disclosure in ImageMagick's JPEG decoder affects all 6.x releases before 6.9.13-57 and 7.x releases before 7.1.2-32, allowing a remote, unauthenticated attacker to leak process memory by submitting a crafted JPEG for processing. The flaw is triggered when decoding a JPEG whose component count is fewer than four (for example single-component grayscale or 3-component YCbCr images), causing the decoder to read uninitialized fields from the JPEG component array; the leaked bytes are surfaced through the image's sampling-factor property, so exposure depends on whether the hosting application echoes image metadata back to the attacker. Exploitability is limited and disclosure reachability is conditional; there is no confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis, though the vendor advisories and fixing commits are public. Vendor-released patches exist in 6.9.13-57 and 7.1.2-32, making this a moderate-priority remediation item rather than an emergency.

RemediationAI

Upgrade to the vendor-released fixed versions: ImageMagick 6.9.13-57 or later on the 6.x line, and 7.1.2-32 or later on the 7.x line. The corresponding source fixes are commits acf52477cf05c5ff9c8315d44043589a5190a408 (ImageMagick6) and aa104ff2e408bea23828e7a7a346f9080da4104b (ImageMagick), and the coordinating advisory is GHSA-xxrx-rjp3-27rj; downstream distributions should track their package maintainers' rebuilt versions since distro patch levels may lag the upstream release numbers. Where patching cannot be applied immediately, the most effective compensating control is to prevent attacker-supplied JPEGs from reaching the decoder with unusual component counts - for example, re-encode uploads through a JPEG-normalizing step configured to emit standard 4-component (CMYK) or 3-component output, or restrict processing to trusted inputs - though re-encoding alters image fidelity and adds processing cost. Additionally, suppress or strip image metadata in outputs (for instance, by disabling property/identify-style attribute output and removing profiles/comment metadata from converted files) so that the uninitialized bytes carried in the sampling-factor property are never echoed back to the requester; note this reduces leak observability rather than eliminating the underlying read. Neither workaround addresses the root cause, so upgrade remains the primary remediation.

Affected VersionsENISA

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

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

ImageMagick's JPEG coder delegates decompression to libjpeg/libjpeg-turbo, then copies per-component sampling factors into a string property. The pre-patch routine JPEGSetImageSamplingFactor in coders/jpeg.c unconditionally formatted four comp_info[] entries (indices 0 through 3) with FormatLocaleString. Because the JPEG spec permits fewer than four components, a grayscale (1 component) or YCbCr (3 component) image leaves the unused comp_info[] slots uninitialized, and the formatting call reads those uninitialized bytes into the sampling-factor string. The issue is mapped to CWE-125 (out-of-bounds read) because the code indexes/components beyond the valid num_components range; the practical effect, however, is an uninitialized-memory read rather than a crash-prone bounds violation. The upstream fix replaces the fixed four-component format with a loop bounded by jpeg_info->num_components and MagickPathExtent, appending only the components actually present. Affected CPEs are the generic ImageMagick entries (cpe:2.3:a:imagemagick:imagemagick), covering both the 6.x and 7.x product lines, which share the vulnerable code path in their respective repositories. The assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) confirms the attack is network-reachable, requires no privileges or user interaction at the ImageMagick layer, and yields only a low confidentiality impact with no integrity or availability effect.

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:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remote processing of a crafted JPEG with no auth or interaction (AV:N/AC:L/PR:N/UI:N); only a small uninitialized-memory read, so C:L and I:N/A:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/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
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
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 information disclosure vulnerability in the JPEG decoder, which performs a read that exposes uninitialized memory when handling crafted input. Attackers can supply a crafted JPEG file for processing to disclose uninitialized memory contents.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
widely deployed image-processing library across web apps, servers, and Linux distros
Data Quality
5 sources
Confidence: Medium

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.3%
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

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.

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

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