---
id: "CVE-2026-116146"
kind: "vulnerability"
aliases: ["CVE-2026-116146"]
title: "ImageMagick: crafted MSL file leaks memory and exhausts server resources"
severity: "medium"
cvss: 6.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["image-processing", "imagemagick", "package", "self-hosted"]
not_affected_if: ["msl-disabled", "no-untrusted-input"]
published_at: "2026-10-25T14:16:52+00:00"
first_seen_at: "2026-10-25T14:41:22+00:00"
updated_at: "2026-10-25T14:42:55+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116146", "first_seen_at": "2026-10-25T14:41:22+00:00"}]
---

# ImageMagick: crafted MSL file leaks memory and exhausts server resources

ImageMagick's MSL decoder fails to free memory when it processes a crafted MSL image. An attacker who can get such files processed can repeat the leak until the host runs out of resources and the service stops responding.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `magick -version` and compare the reported version against the fixed releases.
- Check whether the service accepts MSL input by looking for `.msl` handling or MSL in the accepted formats: unknown.

## Fix

- Upgrade ImageMagick 6 to `6.9.13-58` or later.
- Upgrade ImageMagick 7 to `7.1.2-33` or later.

## Timeline

- 2026-10-25T14:41:22+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116146

## From the sources

ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the MSL decoder that fails to release allocated memory when processing a crafted MSL image. Attackers can supply crafted MSL files for processing to repeatedly leak memory, causing resource exhaustion and denial of service.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
