Skip to main content

ImageMagick CVE-2026-109259

| EUVDEUVD-2026-97703 MEDIUM
Information Exposure (CWE-200)
2026-10-12 VulnCheck GHSA-965v-2p9m-53v8
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 TGA to image service
  2. Delivery
    Trigger TGA decoder in ImageMagick
  3. Exploit
    Decoder reads uninitialized stack memory
  4. Execution
    Leaked bytes embedded in output image
  5. Impact
    Retrieve output and extract disclosed memory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

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 the target invoke ImageMagick's TGA (Truevision Targa) decoder on an attacker-controlled image file - i.e., any upload, conversion, or thumbnail pipeline that accepts and auto-processes TGA input. The concrete trigger is the uninitialized 'buffer[325]' stack array and 'tga_info' struct in ReadTGAImage (coders/tga.c), so only the TGA code path is affected, not other formats. Key limiting factors: the attacker must be able to retrieve or observe the decoder's output to recover the leaked bytes; disclosed data is non-deterministic uninitialized stack memory (no guaranteed capture of specific secrets); and only ImageMagick versions before 6.9.13-57 (6.x) and before 7.1.2-32 (7.x) are vulnerable. No authentication or user interaction is required per the CVSS vector (PR:N/UI:N) where the processing is automated.

Impact

This is a moderate-severity information-disclosure flaw, not a top-tier priority. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with only VC:L (low confidentiality, no integrity or availability impact) scores 6.9, and the underlying issue - an uninitialized stack buffer (buffer[325]) and uninitialized tga_info struct in the TGA decoder, confirmed by the patch diffs - leaks process memory contents rather than enabling code execution. Exploitation status is 'no public exploit identified at time of analysis': this CVE is NOT in CISA KEV and no POC is referenced in the provided data. No EPSS score was provided, so real-world exploitation probability cannot be quantified here. The combination of broad reachability (any service that auto-processes attacker-supplied images) against a ubiquitous library elevates practical concern above the raw score, but the impact ceiling is low - attackers obtain fragments of uninitialized memory, not reliable arbitrary read or RCE. Net: a worthwhile patch-management item, especially for image-processing pipelines, but not an emergency absent evidence of active exploitation.

Exploit ScenarioDerived

An attacker uploads a specially crafted TGA image to a web application or service that uses ImageMagick to decode, resize, or convert images. When ImageMagick's TGA decoder processes the file, it reads from an uninitialized stack buffer and emits the leaked bytes into the output image, which the attacker then retrieves, exposing fragments of uninitialized process memory. No public exploit code is identified in the provided data, but the patch commits publicly reveal the exact uninitialized variables, lowering the bar to reproduce.

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

ImageMagick's Truevision TGA image decoder can copy uninitialized stack memory into processed output, allowing a crafted TGA file to disclose residual contents of the ImageMagick process's memory to the party that receives or observes the decoded image. Versions before 6.9.13-57 (6.x) and before 7.1.2-32 (7.x) are affected, and exploitation requires a pipeline that automatically passes attacker-supplied TGA input to the decoder (upload, conversion, or thumbnail generation); the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N rates this as a moderate-severity information disclosure with limited confidentiality impact rather than a high-priority compromise. There is no confirmed active exploitation (CISA KEV) and no public exploit identified at time of analysis, and vendor patches that resolve the underlying uninitialized-read defect are available. The practical severity is constrained because the leaked bytes are non-deterministic uninitialized stack data and the attacker must be able to retrieve the decoder's output to recover them.

RemediationAI

Vendor-released patch: upgrade the ImageMagick 6.x line to 6.9.13-57 or later and the 7.x line to 7.1.2-32 or later, which correspond to the upstream fixes identified in the advisory https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-h499-883p-vph8 and commits https://github.com/ImageMagick/ImageMagick/commit/df199b79f0a1c87ca009e431f03cb387af160f77, https://github.com/ImageMagick/ImageMagick/commit/8e809498fd328256612ee9c0ff7941bd452a0285 and https://github.com/ImageMagick/ImageMagick6/commit/9c7c5f9f5fcc9e23f0a8fda830cecfbb3310fbd9 (the patches zero-initialize buffer[325] and the tga_info structure in coders/tga.c so no stale stack bytes reach the decoded output). Where an immediate upgrade is not possible, the most effective compensating control is to disable or restrict the TGA coder entirely via the ImageMagick policy.xml configuration (for example a policy with rights="none" for the TGA coder), accepting the operational trade-off that legitimate TGA conversion and thumbnail generation will fail until the upgrade is applied; a narrower alternative is to gate TGA processing so that only trusted, vetted inputs reach ReadTGAImage, since the defect is only reachable on the TGA code path. Because the practical risk depends on whether an attacker can retrieve or observe decoder output, reducing exposure of converted-image artifacts to untrusted parties (restricting access to thumbnail or conversion outputs) lowers the chance that leaked stack bytes are recovered, but this is a defense-in-depth measure and not a substitute for patching.

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 flaw is a CWE-200 exposure-of-information issue rooted in uninitialized memory handling inside ReadTGAImage in coders/tga.c, the code path that parses Truevision Targa (TGA) raster images. Prior to the fix, a stack array used for TGA header/pixel handling (buffer[325]) and a tga_info structure were declared without initialization, so bytes never written by the parser retained whatever prior stack contents existed and could be propagated into the decoded image data returned to the caller. The upstream commits correct this by zero-initializing the relevant objects (buffer[325] = { 0 } and tga_info = { 0 }). The CPE entries identify ImageMagick itself (imagemagick:imagemagick) with the version families before 6.9.13-57 and 7.1.2-32; only the TGA decoder is implicated, so other image format coders are not affected by this specific defect. The CVSS 4.0 vector supplied (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) and the assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) both contain PR:N/UI:N, indicating unauthenticated remote exploitation with no user interaction where TGA processing is automated, while the confidentiality-only, low-impact scoring reflects that the disclosed data is non-deterministic stack residue and does not directly give code execution or integrity/availability loss.

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

Remotely reachable automated image processing with no privileges or interaction (AV:N/AC:L/PR:N/UI:N); only low confidentiality impact from an uninitialized memory read, no integrity or availability effect.

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 uninitialized memory read in the TGA image decoder that can expose memory contents. Attackers can supply a crafted TGA image for processing to disclose contents of uninitialized memory from the ImageMagick process.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
ImageMagick is a near-universal image-processing library across web backends and servers
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

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