CVE-2026-61861

Severity CVSS v4.0:
MEDIUM
Type:
CWE-416 Use After Free
Publication date:
11/07/2026
Last modified:
13/07/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* 6.9.13-51 (excluding)
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* 7.0.0-0 (including) 7.1.2-26 (excluding)