ImageMagick has Memory Leak in coders/ashlar.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-OpenMP-x86 NuGet |
|
|
| Magick.NET-Q16-arm64 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. Prior to version 7.1.2-15, a memory leak exists in `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure. However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak. Version 7.1.2-15 contains a patch.
From the CVE record · GitHub_M
Before ImageMagick 7.1.2-15, the ASHLAR image writer can leak memory when an exception occurs after it allocates a structure. Someone able to trigger that exception during ASHLAR image writing could cause a memory leak. The input does not specify whether this requires network access, authentication, or user interaction.
Check installations running ImageMagick before 7.1.2-15 or any listed NuGet Magick.NET-Q16 package before 14.10.3.