A AegiFlow
LOWCVSS 3.7

GHSA-qvxh-prvr-85w2

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

Published
2026-07-24
Modified
2026-07-24
Sources
github-advisory

Summary

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

Affected packages

EcosystemPackageAffected versionsFixed versions
NuGetMagick.NET-Q16-AnyCPU14.15.0
NuGetMagick.NET-Q16-HDRI-AnyCPU14.15.0
NuGetMagick.NET-Q16-HDRI-OpenMP-arm6414.15.0
NuGetMagick.NET-Q16-HDRI-x6414.15.0
NuGetMagick.NET-Q16-HDRI-x8614.15.0
NuGetMagick.NET-Q16-OpenMP-arm6414.15.0
NuGetMagick.NET-Q16-OpenMP-x6414.15.0
NuGetMagick.NET-Q16-arm6414.15.0
NuGetMagick.NET-Q16-x6414.15.0
NuGetMagick.NET-Q16-x8614.15.0
NuGetMagick.NET-Q8-AnyCPU14.15.0
NuGetMagick.NET-Q8-OpenMP-arm6414.15.0
NuGetMagick.NET-Q8-OpenMP-x6414.15.0
NuGetMagick.NET-Q8-arm6414.15.0
NuGetMagick.NET-Q8-x6414.15.0
NuGetMagick.NET-Q8-x8614.15.0
NuGetMagick.NET-Q16-HDRI-arm6414.15.0

Remediation: Upgrade to 14.15.0 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.