GHSA-qvxh-prvr-85w2

ghsaUSosv

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

view advisory published 2026-07-24Licence: CC-BY-4.0

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

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-61861UShigh7.5—
ImageMagick before 7.1.2-26 contains a use-after-free vulnerability in the FormatMagickCaption method when memory allocation fails. Attackers can trigger memory allocation failures…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan