GHSA-qvxh-prvr-85w2LowCVSS 3.7Disclosed before NVD

ImageMagick: Use-After-Free in FormatMagickCaption when memory allocation fails

Published
July 24, 2026
Last Modified
July 24, 2026

📋 Description

When a memory allocation fails inside the FormatMagickCaption method a dangling pointer still points to the freed memory.

🎯 Affected products17

  • 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

🔗 References (3)