CVE-2026-61861

published 11 Jul 2026 · updated 29 Oct 2026

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

3.7LowCVSS 3.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in ImageMagick 6.9.13-51 and ImageMagick 7.1.2-26.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ImageMagickImageMagick<6.9.13-51, >=7.0.0 <7.1.2-266.9.13-51, 7.1.2-26

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in ImageMagick, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-61861 severity on Zeptric[![CVE-2026-61861](https://zeptric.io/badge/cve/CVE-2026-61861.svg)](https://zeptric.io/cve/CVE-2026-61861)