Executive brief
ImageMagick is a software suite used for creating, editing, and converting images. A vulnerability in its expression parser allows an attacker to crash the application by providing a specially crafted, deeply nested image processing command. This could lead to a denial-of-service, interrupting business operations that rely on automated image processing.
Technical details
A stack overflow vulnerability exists in ImageMagick's FX expression parser due to uncontrolled recursion (CWE-674). An attacker can exploit this by providing a deeply nested FX expression, which causes the program to consume excessive stack memory and eventually crash. The attack requires local access and user interaction, such as a user or automated process attempting to parse a malicious expression. The issue is addressed in ImageMagick 7.1.2-19 and Magick.NET 14.12.0.
Affected products
- ImageMagick Magick.NET-Q16-AnyCPU < 14.12.0
- ImageMagick Magick.NET-Q16-HDRI-AnyCPU < 14.12.0
- ImageMagick Magick.NET-Q16-HDRI-OpenMP-arm64 < 14.12.0
- ImageMagick Magick.NET-Q16-HDRI-arm64 < 14.12.0
- ImageMagick Magick.NET-Q16-HDRI-x64 < 14.12.0
- ImageMagick Magick.NET-Q16-HDRI-x86 < 14.12.0
- ImageMagick Magick.NET-Q16-OpenMP-arm64 < 14.12.0
- ImageMagick Magick.NET-Q16-OpenMP-x64 < 14.12.0
- ImageMagick Magick.NET-Q16-arm64 < 14.12.0
- ImageMagick Magick.NET-Q16-x64 < 14.12.0
- ImageMagick Magick.NET-Q16-x86 < 14.12.0
- ImageMagick Magick.NET-Q8-AnyCPU < 14.12.0
- ImageMagick Magick.NET-Q8-OpenMP-arm64 < 14.12.0
- ImageMagick Magick.NET-Q8-OpenMP-x64 < 14.12.0
- ImageMagick Magick.NET-Q8-arm64 < 14.12.0
- ImageMagick Magick.NET-Q8-x64 < 14.12.0
- ImageMagick Magick.NET-Q8-x86 < 14.12.0
Timeline
- 2026-04-13: disclosed
- 2026-04-13: patched: ImageMagick 7.1.2-19 released
- 2026-04-14: advisory