CVE-2026-28494
JSON

7.1high

ImageMagick affected by stack corruption through long morphology kernel names or arrays

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-932h-jw47-73jm

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 stack buffer overflow exists in ImageMagick's morphology kernel parsing functions. User-controlled kernel strings exceeding a buffer are copied into fixed-size stack buffers via memcpy without bounds checking, resulting in stack corruption. 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_M7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
GitHub7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Classification

CWE-121

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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 stack buffer overflow exists in ImageMagick's morphology kernel parsing functions. User-controlled kernel strings exceeding a buffer are copied into fixed-size stack buffers via memcpy without bounds checking, resulting in stack corruption. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

GitHub Advisory Database

A stack buffer overflow exists in ImageMagick's morphology kernel parsing functions. User-controlled kernel strings exceeding a buffer are copied into fixed-size stack buffers via memcpy without bounds checking, resulting in stack corruption.

NVD (es)

ImageMagick es un 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, existe un desbordamiento de búfer de pila en las funciones de análisis del kernel de morfología de ImageMagick. Cadenas de kernel controladas por el usuario que exceden un búfer se copian en búferes de pila de tamaño fijo a través de memcpy sin comprobación de límites, lo que resulta en corrupción de la pila. Esta vulnerabilidad está corregida en las versiones 7.1.2-16 y 6.9.13-41.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-28494 changed 2026-03-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-932h-jw47-73jm changed 2026-03-14CC-BY-4.0
NVDCVE-2026-28494 changed 2026-06-17Public domain