LOWCVSS 3.7
GHSA-qvxh-prvr-85w2
ImageMagick: Use-After-Free in FormatMagickCaption when memory allocation fails
Summary
When a memory allocation fails inside the FormatMagickCaption method a dangling pointer still points to the freed memory.
Affected packages
| Ecosystem | Package | Affected versions | Fixed versions |
|---|---|---|---|
| NuGet | Magick.NET-Q16-AnyCPU | — | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | — | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | — | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | — | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | — | 14.15.0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | — | 14.15.0 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | — | 14.15.0 |
| NuGet | Magick.NET-Q16-arm64 | — | 14.15.0 |
| NuGet | Magick.NET-Q16-x64 | — | 14.15.0 |
| NuGet | Magick.NET-Q16-x86 | — | 14.15.0 |
| NuGet | Magick.NET-Q8-AnyCPU | — | 14.15.0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | — | 14.15.0 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | — | 14.15.0 |
| NuGet | Magick.NET-Q8-arm64 | — | 14.15.0 |
| NuGet | Magick.NET-Q8-x64 | — | 14.15.0 |
| NuGet | Magick.NET-Q8-x86 | — | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | — | 14.15.0 |
Remediation: Upgrade to 14.15.0 or later.
References
Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.