CVE-2026-46521
JSON

5.5medium

ImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compression

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jcqp-6r6f-3mfx

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, when using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.

Affected

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

All scores

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

Classification

CWE-131CWE-252CWE-787CWE-835

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-48 and 7.1.2-23, when using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.

GitHub Advisory Database

When using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check.

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-48 y 7.1.2-23, al usar compresión LZMA en el codificador MIFF, puede ocurrir una escritura fuera de límites debido a una verificación faltante. Este problema ha sido parcheado en las versiones 6.9.13-48 y 7.1.2-23.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-46521 changed 2026-06-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-jcqp-6r6f-3mfx changed 2026-06-11CC-BY-4.0
NVDCVE-2026-46521 changed 2026-07-23Public domain