CVE-2026-56376
JSON

6.3medium

ImageMagick - Heap Use-After-Free in Meta Coder

Severity
6.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-2gq3-ww97-wfjm

Description

ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory allocation fails, a single byte is written to a stale pointer. Remote attackers can trigger it by processing specially crafted image files, causing a denial of service.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagickfrom 7.0.0 before 7.1.2-15, before 6.9.13-40, from 7.0.0-0 before 7.1.2-15
Not affected: 7.1.2-15, 6.9.13-40
CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-x86 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.10.3GitHub Advisory Database

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Classification

CWE-416

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

What each source says

CVE List

ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory allocation fails, a single byte is written to a stale pointer. Remote attackers can trigger it by processing specially crafted image files, causing a denial of service.

GitHub Advisory Database

A heap Use After Free vulnerability exists in the meta coder when an allocation fails and a single byte is written to a stale pointer.

==535852==ERROR: AddressSanitizer: heap-use-after-free on address 0x5210000088ff at pc 0x5581bacac14d bp 0x7ffdf667edf0 sp 0x7ffdf667ede0
WRITE of size 1 at 0x5210000088ff thread T0
NVD (es)

ImageMagick anterior a 7.1.2-15 y 6.9.13-40 contiene un uso después de liberación de pila en el codificador meta: cuando la asignación de memoria falla, se escribe un solo byte en un puntero obsoleto. Atacantes remotos pueden activarlo al procesar archivos de imagen especialmente manipulados, causando una denegación de servicio.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56376 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-2gq3-ww97-wfjm changed 2026-09-24CC-BY-4.0
NVDCVE-2026-56376 changed 2026-10-29Public domain