GHSA-932h-jw47-73jm
ImageMagick vulnerable to stack corruption through long morphology kernel names or arrays
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| NuGet | Magick.NET-Q16-AnyCPU | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-HDRI-x64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-HDRI-x86 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-OpenMP-x86 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-arm64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-x64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-x86 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q8-AnyCPU | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q8-arm64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q8-x64 | < 14.10.4 | 14.10.4 |
| NuGet | Magick.NET-Q8-x86 | < 14.10.4 | 14.10.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
A stack buffer overflow exists in ImageMagick's morphology kernel parsing functions. User-controlled kernel strings exceeding a buffer are copied into fixed-size stack buffers via memcpy without bounds checking, resulting in stack corruption.
References
External links from the advisory. They lead to third-party sites.