CVE-2026-61861 Details
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.
A use-after-free vulnerability has been identified in ImageMagick versions prior to 7.1.2-26 and 6.9.13-51. The issue arises in the FormatMagickCaption method, where memory allocation failures can be exploited. Attackers may trigger these failures, leading to a dangling pointer that references freed memory. This vulnerability could potentially be used to execute arbitrary code or cause a denial-of-service condition.
Users can upgrade to ImageMagick versions 7.1.2-26 or 6.9.13-51 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| imagemagick imagemagick | < 6.9.13-51 >= 7.0.0-0, < 7.1.2-26 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 13, 2026 | Initial Analysis | [email protected] |
| Jul 13, 2026 | CVE Modified | CISA-ADP |
| Jul 11, 2026 | New CVE Received | [email protected] |