ImageMagick has Stack Buffer Overflow in image.c
ImageMagick
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Magick.NET-Q16-AnyCPU NuGet |
|
|
| Magick.NET-Q16-HDRI-AnyCPU NuGet |
|
|
| Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet |
ImageMagick
| Product | Affected | Fixed in |
|---|---|---|
| Magick.NET-Q16-AnyCPU NuGet |
|
|
| Magick.NET-Q16-HDRI-AnyCPU NuGet |
|
|
| Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet |
|
|
| Magick.NET-Q16-HDRI-OpenMP-x64 NuGet |
|
|
| Magick.NET-Q16-HDRI-arm64 NuGet |
|
|
| Magick.NET-Q16-HDRI-x64 NuGet |
|
|
| Magick.NET-Q16-HDRI-x86 NuGet |
|
|
| Magick.NET-Q16-OpenMP-arm64 NuGet |
|
|
| Magick.NET-Q16-OpenMP-x64 NuGet |
|
|
| Magick.NET-Q16-arm64 NuGet |
|
|
| Magick.NET-Q16-x64 NuGet |
|
|
| Magick.NET-Q16-x86 NuGet |
|
|
| Magick.NET-Q8-AnyCPU NuGet |
|
|
| Magick.NET-Q8-OpenMP-arm64 NuGet |
|
|
| Magick.NET-Q8-OpenMP-x64 NuGet |
|
|
| Magick.NET-Q8-arm64 NuGet |
|
|
| Magick.NET-Q8-x64 NuGet |
|
|
| Magick.NET-Q8-x86 NuGet |
|
|
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's `magick mogrify` command, specifying multiple consecutive `%d` format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through `vsnprintf()`. Versions 7.1.2-0 and 6.9.13-26 fix the issue.
From the CVE record · GitHub_M
ImageMagick's `magick mogrify` command can overflow a stack buffer when a filename template contains multiple consecutive `%d` format specifiers. This could be triggered by an attacker who can cause the command to process such a template; the input does not specify network access, authentication requirements, or user interaction.
Check ImageMagick versions before 7.1.2-0 or 6.9.13-26, and the listed NuGet Magick.NET packages before 14.7.0.