PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseCVE-2026-109280

CVE-2026-109280: 
ImageMagick vulnerability analysis and mitigation

Overview

CVE-2026-109280 is a use-after-free vulnerability in ImageMagick's -fx option that is triggered when a memory allocation fails during a specific RPN (Reverse Polish Notation) table extension operation. It affects ImageMagick versions 7.1.0-20 through 7.1.2-31 (fixed in 7.1.2-32). The vulnerability was published on October 12, 2026, and was reported by researcher Yanhaoxi. It carries a CVSS v3.1 base score of 2.5 (Low) and a CVSS v4.0 base score of 2.0 (Low) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-476 (NULL Pointer Dereference) and CWE-825 (Expired Pointer Dereference). The vulnerable code resides in MagickCore/fx.c within the ExtendRPN() function, which previously used ResizeMagickMemory() to resize the RPN elements table in-place. If the reallocation failed, the original pointer was freed but still referenced, creating a use-after-free condition. The fix replaces the in-place resize with a safe allocate-copy-free pattern using AcquireQuantumMemory() and memcpy(), preserving the original buffer until the new allocation succeeds (GitHub Advisory, GitHub Commit). Exploitation requires local access, low privileges, and the system to be under memory pressure — making the attack complexity high (Red Hat Bugzilla).

Impact

Successful exploitation results in a denial of service through process crash or memory corruption when ImageMagick processes a crafted -fx expression under memory pressure. There is no impact on confidentiality or integrity; the availability impact is limited to the affected ImageMagick process. The vulnerability does not enable remote code execution, privilege escalation, or lateral movement based on current analysis (GitHub Advisory, Red Hat Bugzilla).

Exploitability

There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the publication date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for local access, low privileges, and specific memory pressure conditions, significantly limiting practical attack scenarios (GitHub Advisory, Red Hat Bugzilla).

Mitigation and workarounds

The primary remediation is to upgrade ImageMagick to version 7.1.2-32 or later, which contains the patched ExtendRPN() function (GitHub Commit). If immediate patching is not feasible, administrators should restrict local access to ImageMagick processes, avoid processing untrusted -fx expressions, and consider disabling the -fx option if it is not required for operations. Monitoring system memory pressure conditions can also reduce the likelihood of triggering the vulnerability (Red Hat Bugzilla).

Community reactions

The vulnerability was published by maintainer dlemstra via the official ImageMagick GitHub Security Advisory and credited to reporter Yanhaoxi. Red Hat tracked it via their Bugzilla system with a low severity rating, and VulnCheck assigned the CVE identifier. No significant broader media coverage or notable community discussion has been observed, consistent with the low severity and limited exploitability of the issue (GitHub Advisory, Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

imagemagick

Affected

sid

imagemagick: 8:7.1.2.33+dfsg1-1

Fixed

trixie

imagemagick

Affected

Ubuntu

Unknown

bionic (esm-infra)

imagemagick

Unknown

devel

imagemagick

Unknown

focal (esm-apps)

imagemagick

Unknown

jammy

imagemagick

Unknown

jammy (esm-apps)

imagemagick

Unknown

noble

imagemagick

Unknown

noble (esm-apps)

imagemagick

Unknown

resolute

imagemagick

Unknown

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related ImageMagick vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-109964MEDIUM6.3
  • ImageMagick logoImageMagick
  • ImageMagick-perl
NoYesOct 13, 2026
CVE-2026-109281MEDIUM4.8
  • ImageMagick logoImageMagick
  • imagemagick
NoYesOct 12, 2026
CVE-2026-109282LOW2
  • ImageMagick logoImageMagick
  • cpe:2.3:a:imagemagick:imagemagick
NoYesOct 12, 2026
CVE-2026-109280LOW2
  • ImageMagick logoImageMagick
  • cpe:2.3:a:imagemagick:imagemagick
NoYesOct 12, 2026
CVE-2026-109279LOW2
  • ImageMagick logoImageMagick
  • ImageMagick
NoYesOct 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management