CVE-2026-61861
ImageMagick: ImageMagick: Use-after-free vulnerability leading to denial of service or code execution
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 11, 2026
Updated · July 14, 2026
Description
A flaw was found in ImageMagick. This use-after-free vulnerability exists in the FormatMagickCaption method. When memory allocation fails, an attacker can trigger a dangling pointer to reference freed memory. This could potentially lead to a denial of service or arbitrary code execution.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-825 · Expired Pointer Dereference