CVE-2026-25638Missing Release of Memory after Effective Lifetime in Imagemagick

Severity
5.3MEDIUMNVD
EPSS
0.0%
top 95.08%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 24

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, 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitability: 3.9 | Impact: 1.4

Affected Packages4 packages

debiandebian/imagemagick< imagemagick 8:6.9.11.60+dfsg-1.6+deb12u7 (bookworm)
NVDimagemagick/imagemagick7.0.0-07.1.2-15+1
Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u10+3
CVEListV5imagemagick/imagemagick>= 7.0.0, < 7.1.2-15

🔴Vulnerability Details

3
OSV
CVE-2026-25638: ImageMagick is free and open-source software used for editing and manipulating digital images2026-02-24
OSV
ImageMagick has memory leak in msl encoder2026-02-24
GHSA
ImageMagick has memory leak in msl encoder2026-02-24

📋Vendor Advisories

2
Red Hat
ImageMagick: ImageMagick: Denial of Service due to memory leak in image processing2026-02-24
Debian
CVE-2026-25638: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-25638 Impact, Exploitability, and Mitigation Steps | Wiz