ImageMagick: integer overflows in MNG magnification
ImageMagick
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Magick.NET-Q8-x86 NuGet |
|
|
| Magick.NET-Q8-x64 NuGet |
|
|
| Magick.NET-Q8-arm64 NuGet |
ImageMagick
| Product | Affected | Fixed in |
|---|---|---|
| Magick.NET-Q8-x86 NuGet |
|
|
| Magick.NET-Q8-x64 NuGet |
|
|
| Magick.NET-Q8-arm64 NuGet |
< 14.8.0
|
| Magick.NET-Q8-OpenMP-x64 NuGet |
|
|
| Magick.NET-Q8-OpenMP-arm64 NuGet |
|
|
| Magick.NET-Q8-AnyCPU NuGet |
|
|
| Magick.NET-Q16-x86 NuGet |
|
|
| Magick.NET-Q16-x64 NuGet |
|
|
| Magick.NET-Q16-arm64 NuGet |
|
|
| Magick.NET-Q16-OpenMP-x64 NuGet |
|
|
| Magick.NET-Q16-OpenMP-arm64 NuGet |
|
|
| Magick.NET-Q16-HDRI-x86 NuGet |
|
|
| Magick.NET-Q16-HDRI-x64 NuGet |
|
|
| Magick.NET-Q16-HDRI-arm64 NuGet |
|
|
| Magick.NET-Q16-HDRI-OpenMP-x64 NuGet |
|
|
| Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet |
|
|
| Magick.NET-Q16-HDRI-AnyCPU NuGet |
|
|
| Magick.NET-Q16-AnyCPU NuGet |
|
|
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-27 and 7.1.2-1, the magnified size calculations in ReadOneMNGIMage (in coders/png.c) are unsafe and can overflow, leading to memory corruption. This issue has been patched in versions 6.9.13-27 and 7.1.2-1.
From the CVE record · GitHub_M
ImageMagick versions before 6.9.13-27 and 7.1.2-1 have unsafe size calculations in the MNG image reader that can overflow and cause memory corruption. An attacker could trigger the issue when a vulnerable application processes an MNG image; the input does not specify network access, authentication requirements, or user interaction.
Engineers running ImageMagick before 6.9.13-27 or 7.1.2-1, or any listed Magick.NET NuGet package below 14.8.0, should check their deployments.