CVE-2026-130662

ImageMagick before 7.1.2-35 Use After Free in MSL Decoder

Published Nov 18, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
Description
ImageMagick before 7.1.2-35 contains a use after free vulnerability in the MSL decoder that can be triggered when processing crafted MSL image files. Attackers can supply a specially crafted MSL image to cause memory corruption, potentially crashing the application or leading to further compromise.

Analysis

AI-generated

Technical impact

ImageMagick versions before 7.1.2-35 contain a use‑after‑free flaw in the MSL image decoder. A crafted MSL file can trigger a memory corruption event that may crash the application or, in the worst case, allow an attacker to execute arbitrary code. The flaw is classified as CWE-416 and represents a classic heap reuse vulnerability.

Affected Systems

This issue affects all releases of the ImageMagick suite older than 7.1.2-35. The affected component is the MSL decoder inside the ImageMagick library. Any system that processes MSL images with an unpatched installation is potentially impacted.

Risk and Exploitability

The CVSS score for this vulnerability is 6.3, indicating moderate severity. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a malicious MSL file to an ImageMagick instance that interprets it. Based on the description, the likely attack vector is via a malicious image file supplied over a network or locally. If the application runs with elevated privileges or processes untrusted data, the memory corruption could be leveraged for remote code execution or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2–35 or newer to patch the use‑after‑free bug
  • If an upgrade is infeasible, disable the MSL decoding feature or remove it from the build, ensuring that your environment does not accept MSL files from untrusted sources
  • Implement sandboxing or privilege isolation for any process that calls ImageMagick, and enforce strict input validation to restrict the size and format of images processed

Generated by OpenCVE AI on November 18, 2026 at 20:10 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 before 7.1.2-35 contains a use after free vulnerability in the MSL decoder that can be triggered when processing crafted MSL image files. Attackers can supply a specially crafted MSL image to cause memory corruption, potentially crashing the application or leading to further compromise.
Title ImageMagick before 7.1.2-35 Use After Free in MSL Decoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-416
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 1:40 PM
Reserved
Nov 17, 2026, 3:34 PM
Status
Undergoing Analysis
Published
Nov 18, 2026, 12:17 PM
Modified
Nov 18, 2026, 2:17 PM