Junglewise Threat Intelligence

CVE-2026-46521: ImageMagick out of bounds write in MIFF encoder

CVE-2026-46521 · Severity: medium · CVSS 5.5 · Published 2026-06-10

Technologies: Magick.NET-Q16-OpenMP-arm64 (NuGet), Magick.NET-Q16-AnyCPU (NuGet), Magick.NET-Q16-HDRI-AnyCPU (NuGet), Magick.NET-Q8-x86 (NuGet), Magick.NET-Q8-AnyCPU (NuGet), Magick.NET-Q16-arm64 (NuGet), Magick.NET-Q16-OpenMP-x64 (NuGet), Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet), Magick.NET-Q16-HDRI-arm64 (NuGet), Magick.NET-Q16-HDRI-x86 (NuGet), Magick.NET-Q16-HDRI-x64 (NuGet), Magick.NET-Q8-OpenMP-arm64 (NuGet), ImageMagick, Magick.NET-Q8-OpenMP-x64 (NuGet), Magick.NET-Q16-x64 (NuGet), Magick.NET-Q8-arm64 (NuGet), Magick.NET-Q8-x64 (NuGet), Magick.NET-Q16-x86 (NuGet), Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet). Vendors: NuGet, ImageMagick.

Executive brief

ImageMagick is a widely used open-source tool for editing and converting digital images. A flaw in how it handles specific compressed image files could allow a specially crafted image to crash the application. This could lead to a denial-of-service, interrupting automated image processing workflows or individual user tasks.

Technical details

An out-of-bounds write vulnerability exists in the ImageMagick MIFF encoder when processing images using LZMA compression. The root cause is a missing check during buffer size calculation (CWE-131) and an unchecked return value (CWE-252), which can lead to a heap-based buffer overwrite. An attacker can exploit this by providing a maliciously crafted image file to be processed by the library. Successful exploitation requires local access and user interaction (opening the file) and primarily results in a crash (denial of service). The vulnerability is addressed in ImageMagick versions 6.9.13-48 and 7.1.2-23.

Affected products

  • ImageMagick ImageMagick < 6.9.13-48, < 7.1.2-23

Timeline

  • 2026-05-17: advisory: GitHub Security Advisory published
  • 2026-06-10: disclosed: CVE published to NVD

References

Related threats