CVE-2026-28687

ImageMagick has a Heap Use-After-Free in ImageMagick MSL decoder

Published Mar 9, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a heap use-after-free vulnerability in ImageMagick's MSL decoder allows an attacker to trigger access to freed memory by crafting an MSL file. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

Analysis

AI-generated

Technical impact

The vulnerability is a heap use‑after‑free in ImageMagick’s MSL decoder. By crafting a malicious MSL file, an attacker can trigger access to freed memory, potentially causing a crash or unexpected application behavior. The core weakness is captured by CWE‑416 and CWE‑825, and may lead to denial of service or, in some exploitation scenarios, remote code execution if the freed memory can be overwritten.

Affected Systems

All ImageMagick releases older than 7.1.2‑16 and 6.9.13‑41 are affected. Systems that still run those legacy versions need to update to the patched releases to eliminate the flaw.

Risk and Exploitability

The CVSS base score of 5.3 indicates moderate severity. The EPSS score is reported as less than 1 %, meaning exploitation likelihood is low but not impossible. The vulnerability is not listed in the CISA KEV catalog, so no large‑scale attacks have been documented. The attack vector appears to be local file processing; an attacker must supply a crafted MSL image to the vulnerable ImageMagick instance, and no explicit authentication is required by the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑16 or later, or 6.9.13‑41 or later.
  • If an upgrade is not immediately possible, disable processing of MSL files or restrict access to the functionality that parses MSL images.
  • Apply vendor security advisories and monitor the ImageMagick project for subsequent patches or additional mitigations.

Generated by OpenCVE AI on April 16, 2026 at 10:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4539-1 imagemagick security update
Debian DSA Debian DSA DSA-6169-1 imagemagick security update
Debian DSA Debian DSA DSA-6210-1 imagemagick security update
Github GHSA Github GHSA GHSA-fpvf-frm6-625q ImageMagick has Heap Use-After-Free in ImageMagick MSL decoder
History
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', '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 7.1.2-16 and 6.9.13-41, a heap use-after-free vulnerability in ImageMagick's MSL decoder allows an attacker to trigger access to freed memory by crafting an MSL file. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.
Title ImageMagick has a Heap Use-After-Free in ImageMagick MSL decoder
Weaknesses CWE-416
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 10, 2026, 4:01 PM
Reserved
Mar 2, 2026, 9:43 PM
Status
Analyzed
Published
Mar 10, 2026, 7:43 AM
Modified
Jun 17, 2026, 10:28 AM
Severity
Moderate
Public date
Mar 9, 2026, 9:37 PM