CVE-2026-109281

ImageMagick 7.1.0-21 before 7.1.2-32 Heap Buffer Over-Read via -fx Option

Published Oct 12, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

ImageMagick versions 7.1.0-21 through 7.1.2-31 contain a heap buffer over-read when handling the -fx command‑line option. A specific -fx expression can cause the program to read beyond the bounds of an allocated heap buffer, exposing partial contents of out‑of‑bounds memory. The vulnerability can lead to disclosure of limited internal memory data, potentially revealing sensitive information that the image processing context might hold.

Affected Systems

All installations of ImageMagick 7.1.0‑21 to 7.1.2‑31, regardless of operating system or deployment environment, are affected. The issue has been fixed in releases 7.1.2‑32 and later. Users running older ImageMagick 7.1.x versions should verify their version and consider upgrading.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity, and the vulnerability is not listed in CISA’s KEV catalog. The EPSS score is unavailable, so current exploitation likelihood cannot be quantified. Attackers who can supply a crafted -fx expression—such as through an untrusted image file or user input—may read out‑of‑bounds heap memory. The attack vector requires that the attacker control the -fx expression or influence an automated process that does so, which is typically a local or remotely executable situation depending on how ImageMagick is invoked.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to 7.1.2‑32 or later, which contains a fix for the heap over‑read in the -fx option.
  • Avoid using the -fx command‑line option with untrusted or externally supplied image data.
  • If upgrading is not immediately feasible, restrict execution of ImageMagick to trusted contexts or audit scripts to ensure no unfiltered -fx expressions are processed.

Generated by OpenCVE AI on October 12, 2026 at 18:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title ImageMagick 7.1.0-21 before 7.1.2-32 Heap Buffer Over-Read via -fx Option
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-125
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L'}

cvssV4_0

{'score': 4.8, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 18, 2026, 11:42 AM
Reserved
Oct 12, 2026, 2:12 PM
Status
Analyzed
Published
Oct 12, 2026, 5:17 PM
Modified
Nov 3, 2026, 6:23 PM
Severity
Moderate
Public date
Oct 12, 2026, 4:04 PM