Skip to main content

ImageMagick CVE-2026-109273

| EUVDEUVD-2026-97717 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-10-12 VulnCheck GHSA-m3mr-78pc-g3jj
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 PostScript file to ImageMagick service
  2. Exploit
    Trigger off-by-one ICC-profile buffer allocation
  3. Execution
    Read uninitialized trailing byte
  4. Impact
    Leak single byte of process memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Exploitation requires that the target application decode an attacker-supplied PostScript (PS) file through ImageMagick's internal PS coder and that the one leaked byte be observable in returned output (e.g., the generated image's ICC profile or converted result). The flaw is in the ICC-profile handling within ReadPSInfo in coders/ps.c, so the crafted file must reach the PostScript decode path; deployments that disable the PS/PostScript coder via policy.xml, or that never process PostScript input, are not exposed. Limiting factors: the impact is capped at a SINGLE uninitialized byte per request (no multi-byte or chosen-address read), there is no integrity or availability effect, and the attacker must have a channel that reflects the decoder output back to them - reducing real-world value even though no authentication or user interaction is required.

Impact

This is a low-to-moderate priority issue despite its 6.9 CVSS 4.0 score. The vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N) correctly reflects a remotely reachable, unauthenticated, low-complexity trigger with only LOW confidentiality impact and no integrity or availability impact - consistent with the description, which discloses exactly ONE uninitialized byte of process memory per crafted file (CWE-908). The high-looking score is driven by the easy network-reachable trigger, not by impact severity: a single leaked byte is of minimal intelligence value on its own and is not directly code-execution or credential-disclosure. No EPSS score, KEV listing, or public exploit was provided in the input; it is not on CISA KEV and no public exploit identified at time of analysis, so there is no evidence of active or at-scale exploitation. The 'source code evidence' in the input is the vendor PATCH diff (off-by-one in SetStringInfoLength, allocating i+1 instead of i bytes), not an exploit - do not conflate patch availability with POC availability. Net: patch promptly during normal maintenance, but this does not warrant emergency response.

Exploit ScenarioDerived

An attacker submits a crafted PostScript file to a web application or pipeline that uses ImageMagick to decode or convert uploaded images. The PostScript decoder allocates an ICC-profile buffer one byte longer than the decoded data, and that trailing uninitialized byte of heap memory is returned embedded in the output, leaking a single byte of process memory contents to the attacker. No public exploit code was provided in the input, and the vendor commit referenced is the fix, not a weaponized POC.

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 releases before 6.9.13-57 and 7.x before 7.1.2-32 expose a single uninitialized byte of process memory through the internal PostScript (PS) decoder, allowing unauthenticated remote attackers who can submit a crafted PS file to read one byte of stale heap contents via the decoded ICC profile. The root cause is an off-by-one in ReadPSInfo in coders/ps.c, where the ICC profile string length is set to the decoded length plus one, so the buffer is one byte longer than the data written into it. Exploitation requires that the application actually routes attacker-supplied PostScript into ImageMagick and that the resulting output (for example the generated image or its ICC profile) is returned to the attacker; no public exploit code or confirmed active exploitation was identified at time of analysis, and the practical impact is capped at a single byte per request with no integrity or availability effect, making this a low-to-moderate priority issue despite the 6.9 CVSS 4.0 base score.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 6.9.13-57 (legacy 6.x line) or 7.1.2-32 (7.x line), which are the first versions containing the corrected SetStringInfoLength computation; the corresponding fixes are commit a32215ba7a193f2bc896ba6ed4be4013cc06e22b for ImageMagick6 and commit 5a5c2e51948fcc5d85b8d832938e2c1b4db4a699 for ImageMagick 7, with the advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5j8x-vq8c-vrp9. If immediate upgrade is not possible, the most effective compensating control is to disable the PostScript coder entirely using a policy.xml entry that sets the PS, EPS, and related delegate coders to 'none' - the trade-off is that all PostScript/EPS image processing stops working, which is acceptable for deployments that never legitimately consume PS input but breaks print-preview or document-pipeline features. Do not rely on disabling only the Ghostscript delegate: the defect is in ImageMagick's own PS metadata parser, so the file must be blocked before it reaches the coder. Restricting who can submit PostScript files to the affected service (moving the conversion behind an authenticated endpoint, or quarantining PS input until it has been converted by a patched instance) reduces exposure without removing functionality, though it does not eliminate the bug for legitimate untrusted input. Given the single-byte, read-only nature of the leak and the requirement that decoder output be observable, these mitigations can be prioritised alongside, rather than ahead of, higher-impact fixes in the same deployment.

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

The vulnerability is a CWE-908 (use of uninitialized resource) defect in ImageMagick's PostScript coder. When parsing PostScript input, ReadPSInfo in coders/ps.c extracts embedded metadata, including an ICC color profile, by scanning the input and then calling SetStringInfoLength(ps_info->icc_profile, (size_t) i+1). The '+1' over-allocates the StringInfo buffer by one byte relative to the number of bytes actually decoded into it, so the trailing byte is never initialized and retains whatever heap data previously occupied that memory. The upstream fixes (commit 5a5c2e51948fcc5d85b8d832938e2c1b4db4a699 on the ImageMagick 7 branch and commit a32215ba7a193f2bc896ba6ed4be4013cc06e22b on the ImageMagick6 branch) change that length assignment from i+1 to i, eliminating the uninitialized tail byte; the 7.x commit also reflows an unrelated AcquireProfileStringInfo call. Because the disclosure surface is the ICC profile/metadata path rather than the pixel decode path, the attacker must reach the PostScript decoder (which in typical builds delegates rendering to Ghostscript but parses PS metadata natively) and must have a channel that reflects the resulting profile or converted output back to them. The affected CPEs are the two ImageMagick product streams, cpe:2.3:a:imagemagick:imagemagick, covering the legacy 6.x line and the modern 7.x line.

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

Network-reachable crafted-file trigger is unauthenticated and low-complexity (AV:N/AC:L/PR:N/UI:N); only a single uninitialized byte leaks, so C:L and I/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 3.3 LOW

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 PostScript decoder, which allocates a buffer one byte longer than the data it decoded. Attackers can supply a crafted PostScript file to expose a single uninitialized byte of memory contents.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
ImageMagick is a near-ubiquitous image library across web apps and pipelines
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