Impact
A use‑after‑free flaw exists in the FormatMagickCaption routine of ImageMagick that appears when memory allocation fails. The routine retains a pointer to freed memory, allowing an attacker to trigger a denial of service or potentially execute arbitrary code by providing crafted image data that forces the allocation to fail. This vulnerability is categorized as CWE-416 and CWE-825.
Affected Systems
All installations of ImageMagick before version 7.1.2‑26 are affected, regardless of platform or deployment context.
Risk and Exploitability
The CVSS score of 6.3 marks the vulnerability as moderate, and the EPSS score of less than 1% indicates a very low probability of exploitation in the near term. It is not listed in the CISA KEV catalog. Based on the description, the attacker would need to supply image data that triggers a memory allocation failure during caption processing, after which the dangling pointer could be abused to cause a service crash or, if effective in a specific memory state, to execute code.
OpenCVE Enrichment