ImageMagick Memory Leak Vulnerability in MSL Coder

Vulnerability

A memory leak vulnerability has been identified in ImageMagick versions prior to 7.1.2-15 and 6.9.13-40. The issue resides in the 'WriteMSLImage' function within 'coders/msl.c', where allocated resources are not properly released before the function exits. This oversight leads to a significant loss of memory, with Valgrind reporting over 177,000 bytes lost.

Impact

Exploitation of this vulnerability causes a memory leak, where allocated memory is not released, potentially leading to increased memory usage and degradation of application performance over time.

Remediation

Users can upgrade to ImageMagick versions 7.1.2-15 or 6.9.13-40 to address this vulnerability.

Added: Feb 24, 2026, 1:45 AM
Updated: Feb 24, 2026, 1:45 AM

Vulnerability Rating

Custom Algorithm
spread
7.8
impact
2.5
exploitability
4.7
remediation
7.7
relevance
3.1
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.