CVE-2026-53462
JSON

5.9medium

ImageMagick: Use-After-Free when allocation in CheckPrimitiveExtent fails

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-px7q-ggqj-hcf2

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, when an allocation fails in CheckPrimitiveExtent this can result in a heap-use-after-free and result in a crash. This issue has been patched in versions 6.9.13-50 and 7.1.2-25.

Affected

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

All scores

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

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, 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 6.9.13-50 and 7.1.2-25, when an allocation fails in CheckPrimitiveExtent this can result in a heap-use-after-free and result in a crash. This issue has been patched in versions 6.9.13-50 and 7.1.2-25.

GitHub Advisory Database

When an allocation fails in CheckPrimitiveExtent this can result in a heap-use-after-free and result in a crash.

NVD (es)

ImageMagick es un software libre y de código abierto utilizado para editar y manipular imágenes digitales. Antes de las versiones 6.9.13-50 y 7.1.2-25, cuando una asignación falla en CheckPrimitiveExtent, esto puede resultar en un uso después de liberación de la pila y provocar un fallo. Este problema ha sido parcheado en las versiones 6.9.13-50 y 7.1.2-25.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53462 changed 2026-06-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-px7q-ggqj-hcf2 changed 2026-06-26CC-BY-4.0
NVDCVE-2026-53462 changed 2026-07-23Public domain