GHSA-7h7q-j33q-hvpf
ImageMagick has stack write buffer overflow in MNG encoder
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 vulnerability exists in the MNG encoder. There is a bounds checks missing that could corrupting the stack with attacker-controlled data.
```
==2265506==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffec4971310 at pc 0x55e671b8a072 bp 0x7ffec4970f70 sp 0x7ffec4970f68
WRITE of size 1 at 0x7ffec4971310 thread T0
```
References
External links from the advisory. They lead to third-party sites.