CVE-2026-46523

ImageMagick: Use-After-Free in MSL decoder.

Published Jun 10, 2026 CVSS 3.1 · 6.2 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.23 and 6.9.13-48, a crafted MSL image can trigger a heap-use-after-free. Versions 7.1.2.23 and 6.9.13-48 fix the issue.

Analysis

AI-generated

Technical impact

ImageMagick allows a crafted Multi-Stop Language (MSL) image to trigger a heap-use-after-free during decoding. The resulting memory corruption can cause the ImageMagick process to crash or, if the memory is exploited maliciously, permit arbitrary code execution. This flaw arises from improper handling of memory after an object has been freed.

Affected Systems

ImageMagick versions older than 7.1.2.23 and 6.9.13-48 are affected. The vulnerability exists in the ImageMagick family of products where the vulnerable code is compiled.

Risk and Exploitability

The CVSS score of 6.2 indicates a medium severity. The EPSS score is less than 1%, implying a very low probability of exploitation in the near future. The flaw is not listed in CISA’s KEV catalog. The attack requires an ImageMagick instance to process a malicious MSL image, but the description does not specify whether exploitation can occur locally or remotely; the attacker must supply the crafted image to the vulnerable decoder.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2.23 or later, or to 6.9.13-48 or later, to apply the official fix
  • If a newer version cannot be deployed immediately, disable or remove the MSL decoder to prevent processing of MSL images
  • Restrict ImageMagick usage to the least privileged user and validate or sanitize all images before processing

Generated by OpenCVE AI on June 11, 2026 at 19:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4609-1 imagemagick security update
Debian DSA Debian DSA DSA-6298-1 imagemagick security update
Debian DSA Debian DSA DSA-6310-1 imagemagick security update
Github GHSA Github GHSA GHSA-5r4x-w6p5-222q ImageMagick: Use-After-Free in MSL decoder.
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
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
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.23 and 6.9.13-48, a crafted MSL image can trigger a heap-use-after-free. Versions 7.1.2.23 and 6.9.13-48 fix the issue.
Title ImageMagick: Use-After-Free in MSL decoder.
Weaknesses CWE-416
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 12:50 AM
Reserved
May 14, 2026, 7:12 PM
Status
Modified
Published
Jun 10, 2026, 10:16 PM
Modified
Jul 23, 2026, 9:10 AM
Severity
Important
Public date
Jun 10, 2026, 9:22 PM