Skip to content
← Vulnerability catalog
OFFICIAL CVE RECORD6.3 Medium

CVE-2026-61861

ImageMagick before 7.1.2-26 Use-After-Free in FormatMagickCaption

Description

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 to cause a dangling pointer to reference freed memory, potentially enabling denial of service or code execution.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

ImageMagick ImageMagick

Default version status: unaffected

  • 7.0.0 to < 7.1.2-26affected
  • 7.1.2-26unaffected

ImageMagick ImageMagick

Default version status: unaffected

  • 0 to < 6.9.13-51affected
  • 6.9.13-51unaffected

References