GHSA-mrmj-x24c-wwcv
ImageMagick has a heap buffer over-read via 32-bit integer overflow in MAT decoder
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-OpenMP-x64 | < 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-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).
In MAT decoder uses 32-bit arithmetic due to incorrect parenthesization resulting in a heap over-read.
```
=================================================================
==969652==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x506000003b40 at pc 0x555557b2a926 bp 0x7fffffff4c80 sp 0x7fffffff4c70
READ of size 8 at 0x506000003b40 thread T0
```
References
External links from the advisory. They lead to third-party sites.