CVE-2026-61861: ImageMagick before 7.1.2-26 Use-After-Free in FormatMagickCaption

Published Jul 11, 2026
·
Updated

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 Software

3 affected components
ImageMagick ImageMagick<7.1.2-26
ImageMagick ImageMagick<6.9.13-51
ImageMagick ImageMagick>=7.0.0-0<7.1.2-26

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-26

Event History

Jul 11, 2026
CVE Published
via MITRE·01:01 PM
Data Sourced
via MITRE·01:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-61861?

The severity of CVE-2026-61861 is rated low with a score of 3.7.

2

What type of vulnerability is CVE-2026-61861?

CVE-2026-61861 is a use-after-free vulnerability that occurs in the FormatMagickCaption method.

3

What software is affected by CVE-2026-61861?

CVE-2026-61861 affects versions of ImageMagick prior to 7.1.2-26.

4

How do I fix CVE-2026-61861?

To mitigate CVE-2026-61861, update ImageMagick to version 7.1.2-26 or later.

5

What are the potential impacts of CVE-2026-61861?

CVE-2026-61861 can lead to denial of service or possibly allow code execution due to dangling pointers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203