Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload crafted TGA to image service
-
DeliveryTrigger TGA decoder in ImageMagick
-
ExploitDecoder reads uninitialized stack memory
-
ExecutionLeaked bytes embedded in output image
-
ImpactRetrieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Imagemagick
View allThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
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
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
ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
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
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
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
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
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
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d
EUVD-2026-97703
GHSA-965v-2p9m-53v8
NVD
CVE.org
EPSS
Exploit-DB