Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the MSL interpreter crashes when processing a invalid `<map>` element that causes it to use an image after it has been freed. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Published: 2026-02-24
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Use after free leading to crash or potential code execution
Action: Patch
AI Analysis

Impact

The vulnerability is a use‑after‑free in the MSL interpreter of ImageMagick that occurs when an invalid `<map>` element is processed. A malformed image triggers a crash and corrupts memory, potentially allowing an attacker to execute arbitrary code or cause denial of service. The flaw is classified as CWE‑416 (Use After Free), with additional weaknesses identified as CWE‑476 (NULL Pointer Dereference) and CWE‑825 (Logical Error).

Affected Systems

Versions of ImageMagick prior to 7.1.2‑15 and 6.9.13‑40 are impacted. All builds of the ImageMagick software that include the MSL interpreter and accept `<map>` elements fall into this range. The affected vendor is ImageMagick itself, and no other third‑party packages are listed.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score of less than 1 % suggests a low probability of exploitation at this time, and the vulnerability is not present in the CISA KEV list. The attack vector is inferred to require the attacker to supply a crafted image or MSL script that contains an invalid `<map>` element to a system running a vulnerable version of ImageMagick. If such input originates from a remote source, the risk increases. The overall risk is moderate but mitigated by the low exploitation likelihood and the availability of a patch.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2‑15 or newer, or 6.9.13‑40 or newer, which contain the patch that fixes the malformed `<map>` issue.
  • If an upgrade is not immediately possible, restrict or remove the processing of MSL `<map>` content from untrusted image files, and validate all input images before passing them to ImageMagick.
  • As a temporary containment measure, isolate image processing workloads in a sandboxed environment to limit the impact of a potential memory corruption or crash.

Generated by OpenCVE AI on April 16, 2026 at 16:29 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-6158-1 imagemagick security update
Debian DSA Debian DSA DSA-6210-1 imagemagick security update
Github GHSA Github GHSA GHSA-w8mw-frc6-r7m8 ImageMagick: Invalid MSL <map> can result in a use after free
History

Sat, 28 Feb 2026 03:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 24 Feb 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

Tue, 24 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 24 Feb 2026 10:00:00 +0000

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

Tue, 24 Feb 2026 03:00: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 7.1.2-15 and 6.9.13-40, the MSL interpreter crashes when processing a invalid `<map>` element that causes it to use an image after it has been freed. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Title ImageMagick: Invalid MSL <map> can result in a use after free
Weaknesses CWE-476
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'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-28T02:09:53.161Z

Reserved: 2026-02-17T01:41:24.605Z

Link: CVE-2026-26983

cve-icon Vulnrichment

Updated: 2026-02-28T02:09:47.369Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-24T03:16:02.107

Modified: 2026-02-24T18:38:31.420

Link: CVE-2026-26983

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-02-24T02:01:20Z

Links: CVE-2026-26983 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T16:30:15Z

Weaknesses