CVE-2026-48994

ImageMagick: Heap Buffer Over-Write in MAT decoder on 32-bit systems

Published Jun 10, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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) and a failure to correctly check a function return value (CWE‑253).

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. The EPSS score of < 1% indicates a very low exploitation probability, and the absence of an exploit in the KEV catalog suggests the vulnerability has not yet been widely leveraged. 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.

Remediation

No solution or workaround provided in the CVE record.

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.
  • Ensure that your application checks the return values from ImageMagick image processing functions.

Generated by OpenCVE AI on June 12, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4643-1 imagemagick security update
Debian DSA Debian DSA DSA-6356-1 imagemagick security update
Github GHSA Github GHSA GHSA-4v89-6mgq-6rgc ImageMagick has a Heap Buffer Over-Write in MAT decoder on 32-bit systems
History
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
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'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-253

    Incorrect Check of Function Return Value

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 11, 2026, 1:42 PM
Reserved
May 26, 2026, 11:26 PM
Status
Analyzed
Published
Jun 10, 2026, 11:16 PM
Modified
Jul 23, 2026, 9:10 AM
Severity
Moderate
Public date
Jun 10, 2026, 9:58 PM