CVE-2026-28687
JSON

5.3medium

ImageMagick has a Heap Use-After-Free in ImageMagick MSL decoder

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-fpvf-frm6-625q

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a heap use-after-free vulnerability in ImageMagick's MSL decoder allows an attacker to trigger access to freed memory by crafting an MSL file. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagick>= 7.0.0, < 7.1.2-16, < 6.9.13-41, before 6.9.13-41, from 7.0.0-0 before 7.1.2-16CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-arm64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-OpenMP-x86 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-x64 (NuGet)before 14.10.4GitHub Advisory Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a heap use-after-free vulnerability in ImageMagick's MSL decoder allows an attacker to trigger access to freed memory by crafting an MSL file. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

GitHub Advisory Database

A heap use-after-free vulnerability in ImageMagick's MSL decoder allows an attacker to trigger access to freed memory by crafting an MSL file.

=================================================================
==1500633==ERROR: AddressSanitizer: heap-use-after-free on address 0x527000011550 at pc 0x5612583fa212 bp 0x7ffedb86d160 sp 0x7ffedb86d150
READ of size 8 at 0x527000011550 thread T0
NVD (es)

ImageMagick es software libre y de código abierto utilizado para editar y manipular imágenes digitales. Antes de las versiones 7.1.2-16 y 6.9.13-41, una vulnerabilidad de uso después de liberación en el heap en el decodificador MSL de ImageMagick permite a un atacante activar el acceso a memoria liberada mediante la creación de un archivo MSL. Esta vulnerabilidad está corregida en las versiones 7.1.2-16 y 6.9.13-41.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-28687 changed 2026-03-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-fpvf-frm6-625q changed 2026-03-14CC-BY-4.0
NVDCVE-2026-28687 changed 2026-06-17Public domain