CVE-2026-61861

LOW

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Third Party Advisory third-party-advisory
VulnCheck Advisory: ImageMagick before 7.1.2-26 Use-After-Free in FormatMagickCaption
https://www.vulncheck.com/advisories/imagemagick-before-26-use-after-free-in-formatmagickcaption
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-qvxh-prvr-85w2)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvxh-prvr-85w2

Scores

CVSS v3 3.7
EPSS 0.0028
EPSS Percentile 19.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (5)
ImageMagick/ImageMagick < 6.9.13-51
imagemagick/imagemagick < 6.9.13-51
ImageMagick/ImageMagick < 7.1.2-26
ImageMagick/ImageMagick 6.9.13-51
ImageMagick/ImageMagick 7.1.2-26
Published Jul 11, 2026
Tracked Since Jul 11, 2026