ImageMagick has Heap Buffer Overflow in InterpretImageFilename
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. Versions prior to 7.1.2-0 and 6.9.13-26 have a heap buffer overflow in the `InterpretImageFilename` function. The issue stems from an off-by-one error that causes out-of-bounds memory access when processing format strings containing consecutive percent signs (`%%`). Versions 7.1.2-0 and 6.9.13-26 fix the issue.
From the CVE record · GitHub_M
ImageMagick has an off-by-one heap buffer overflow in InterpretImageFilename. Processing a format string containing consecutive percent signs (%%) can cause out-of-bounds memory access. The input does not specify whether an attacker needs network or local access, authentication, or user interaction.
Check installations of ImageMagick before 7.1.2-0 or 6.9.13-26, and users of the listed Magick.NET NuGet packages before 14.7.0.