---
id: CVE-2026-109281
title: >-
  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
summary: >-
  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 cr…
severity: medium
cvss: 4.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L'
cwe:
  - CWE-125
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T17:17:20.873'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109281'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/commit/0e82a4d0b294581186ed7b3e1dce59c858a73dba
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cvgp-q487-j22w
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-7.1.0-21-before-7.1.2-32-heap-buffer-over-read-via-fx-option
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T18:00:08.187Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
