CVE-2026-25638CWE-401

ImageMagick has memory leak in msl encoder

Medium · published February 24, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
39.5
In the wild
Unconfirmed
What it is

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, memory leak exists in `coders/msl.c`. In the `WriteMSLImage` function of the `msl.c` file, resources are allocated. But the function returns early without releasing these allocated resources. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00467 · 39.5th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2026-02-24T00:49Z
EPSS history
Timeline
  • 24 FEB 00:49Z
    ImageMagick has memory leak in msl encoder
    cvelistv5