Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-24, a missing check of a return value could lead to a heap buffer over-write in the MAT decoder on 32-bit systems. This issue has been patched in versions 6.9.13-48 and 7.1.2-24.
Published: 2026-06-10
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A missing check of a return value in ImageMagick’s MAT decoder on 32‑bit systems allows a crafted MAT file to overwrite memory on the heap. This can corrupt application state, cause crashes or potentially enable an attacker to execute arbitrary code if the corrupted memory is later used. The vulnerability is a classic example of unchecked bounds handling (CWE‑122).

Affected Systems

ImageMagick users running versions prior to 6.9.13‑48 or 7.1.2‑24 on 32‑bit platforms are affected. The issue is specific to the MAT decoder and does not exist in newer releases where the patch has been applied.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. While an EPSS score is not available, the absence of an exploit in the KEV catalog suggests the vulnerability has not yet been publicly leveraged to a large extent. The defect is triggered by processing a MAT file, which could be supplied by a remote adversary, making the attack vector likely remote. If an attacker can supply a malicious MAT payload, the resulting heap corruption can lead to denial of service or, in certain configurations, code execution. Careful monitoring of image uploads and applying the patch are recommended because the vulnerability could be used to disrupt services or compromise systems that rely on untrusted image input.

Generated by OpenCVE AI on June 10, 2026 at 23:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to at least version 6.9.13‑48 or 7.1.2‑24 (or later) to apply the fixed code.
  • If the MAT format is not required for your application, disable MAT decoding or remove support for MAT files through ImageMagick’s configuration settings.
  • Validate or quarantine all image files before processing, ensuring that only trusted sources can supply MAT content.

Generated by OpenCVE AI on June 10, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Wed, 10 Jun 2026 22:30:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-24, a missing check of a return value could lead to a heap buffer over-write in the MAT decoder on 32-bit systems. This issue has been patched in versions 6.9.13-48 and 7.1.2-24.
Title ImageMagick: Heap Buffer Over-Write in MAT decoder on 32-bit systems
Weaknesses CWE-122
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-10T21:58:14.617Z

Reserved: 2026-05-26T23:26:07.976Z

Link: CVE-2026-48994

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-10T23:16:49.357

Modified: 2026-06-10T23:16:49.357

Link: CVE-2026-48994

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T23:30:44Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow