Skip to main content

ImageMagick CVE-2026-109281

| EUVDEUVD-2026-97583 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-12 VulnCheck GHSA-8hfc-qgqf-ghwj
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain ability to submit -fx expression
  2. Exploit
    Craft expression hitting faulty image index
  3. Execution
    Trigger out-of-bounds heap read in GetIntensity
  4. Impact
    Receive leaked adjacent heap memory

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 that the attacker can get a crafted -fx expression processed by ImageMagick - specifically an fx operation that reaches the GetIntensity code path with a controllable or out-of-range image index. The primary limiting factors are: the vector is local (AV:L) and requires low privileges (PR:L per the provided CVSS 4.0 vector), i.e. the ability to invoke ImageMagick with attacker-influenced -fx input rather than purely remote unauthenticated access; impact is confined to a limited out-of-bounds heap read (minor memory disclosure) and possible crash, with no code execution or integrity impact. Risk rises substantially only in deployments where a service passes untrusted user input into -fx expressions; against default command-line use where -fx is operator-controlled, the practical attack surface is small. Affected versions are ImageMagick 7.1.0-21 through before 7.1.2-32.

Impact

This is a genuinely low-to-moderate priority issue, not a high-severity emergency. The vendor-supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L) yields 4.8 (Medium) and is internally consistent with the description: exploitation requires local access and at least low privileges (PR:L) to get a crafted -fx expression processed, and the impact is bounded - limited confidentiality (VC:L, small out-of-bounds heap read) and limited availability (VA:L, likely a crash), with no integrity impact. No EPSS score was provided, the CVE is not on CISA KEV, and no public POC is referenced, so there is no signal of active or imminent widespread exploitation - all three exploitation-pressure signals are either absent or negative. The strongest confirmed artifact is the upstream fix commit (a one-line index correction from pfx->ImgNum to ImgNum in GetIntensity in MagickCore/fx.c), which corroborates the CWE-125 out-of-bounds read root cause. One nuance to verify: ImageMagick is frequently used as a server-side processing engine where -fx expressions could in some deployments be influenced by untrusted input, which would effectively raise the attack vector toward network/remote - the AV:L rating assumes the -fx expression is operator-controlled, so deployments that expose -fx to user input should treat this as higher risk than the base score implies.

Exploit ScenarioDerived

An attacker who can supply or influence a -fx expression evaluated by a vulnerable ImageMagick (7.1.0-21 up to 7.1.2-32) - for example a local user running a conversion, or a web service that passes untrusted parameters into an fx operation - crafts an expression that triggers the faulty image-index access in GetIntensity. The out-of-bounds heap read returns limited adjacent memory contents, potentially leaking small fragments of process memory, or crashes the process. No public exploit code is identified at time of analysis, so exploitation currently requires independent development against the known fix commit.

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

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

Alert me

AnalysisAIv1 – Oct 12, 2026

Heap buffer over-read in ImageMagick's -fx expression processor affects versions 7.1.0-21 through 7.1.2-31, allowing a local, low-privileged attacker who can get a crafted -fx expression evaluated to read past the end of an allocated heap buffer and disclose limited memory contents or trigger a crash. The issue is rated CVSS 4.0 4.8 (AV:L/AC:L/PR:L/UI:N, confined to low confidentiality and availability impact), and there is no public exploit identified at time of analysis. Practical risk is highest where a service passes untrusted input into ImageMagick -fx expressions and is comparatively small for typical operator-driven command-line use, matching the independent assessment that this is a low-to-moderate priority issue rather than a high-severity emergency.

RemediationAI

Upgrade to ImageMagick 7.1.2-32 or later; the vendor-released fix is commit 0e82a4d0b294581186ed7b3e1dce59c858a73dba and the advisory is GHSA-cvgp-q487-j22w. If an immediate upgrade is not possible, prevent untrusted or attacker-influenced input from reaching the -fx option: validate or reject -fx expressions at the application boundary and avoid passing user-supplied strings directly as -fx arguments. Run ImageMagick invocations under a low-privilege account and, where practical, in a sandbox so that a heap over-read cannot expose anything beyond the process's own accessible memory. Wrapping or disabling -fx for untrusted callers may break legitimate image-processing workflows, so scope that control to services that accept external expression input; because this is a read-only over-read with no demonstrated code-execution path, it can reasonably be prioritized below memory-corruption classes per the independent assessment, while still being patched.

Affected VersionsENISA

ImageMagick 7.1.0-21 <7.1.2-32

Affected Packages

euvd imagemagick fix: 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 resides in MagickCore/fx.c, the implementation of ImageMagick's -fx option, which evaluates a user-supplied per-pixel expression across image channels. In the GetIntensity helper, one lookup uses the ImgNum parameter while the interpolation view is read from pfx->Imgs[pfx->ImgNum].View; when those two indices differ, the InterpolatePixelInfo call is given a view that is inconsistent with the image being processed, so pixel data can be read beyond the bounds of the allocated buffer. This is a classic CWE-125 out-of-bounds read: the root cause is incorrect image-index selection rather than a write primitive, use-after-free, or missing bounds check on a length. The upstream fix commit 0e82a4d0b294581186ed7b3e1dce59c858a73dba changes the expression to pfx->Imgs[ImgNum].View, keeping the interpolation view aligned with the ImgNum being processed. CPE data identifies the affected product line as imagemagick:imagemagick, and the affected interval runs from 7.1.0-21 up to but not including 7.1.2-32.

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 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.4 MEDIUM

Requires locally supplying a crafted -fx expression (AV:L, PR:L); yields only a limited heap over-read (C:L) and possible crash (A:L) with no integrity impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

ImageMagick 7.1.0-21 before 7.1.2-32 contains a heap buffer over-read in its handling of the -fx option, where a certain -fx operation reads beyond the bounds of an allocated heap buffer in specific situations. Attackers who can get a crafted -fx expression processed can read out-of-bounds heap memory, potentially disclosing limited memory contents.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
ImageMagick is a near-ubiquitous image-processing library across web and enterprise 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.1%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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