CVE-2026-140362: ImageMagick before 7.1.2-36 Infinite Loop via -rotational-blur Option

Published Dec 1, 2026
·
Updated

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an infinite loop in the handling of the -rotational-blur option when an invalid argument is supplied. Attackers who can control the command-line arguments passed to ImageMagick can trigger endless looping that exhausts CPU resources, causing a denial of service.

Affected Software

1 affected component
ImageMagick ImageMagick<6.9.13-61, >=7.0.0<7.1.2-36

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-61
  2. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-36

Event History

Dec 1, 2026
CVE Published
via MITRE·02:29 PM
Data Sourced
via MITRE·02:29 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Systems are exposed if they use ImageMagick versions before 6.9.13-61 or 7.x before 7.1.2-36 and allow an attacker to control command-line arguments passed to ImageMagick. The issue requires local attack conditions and user interaction according to the supplied vector.

2

What input is required to trigger the denial of service?

An invalid argument supplied to ImageMagick's -rotational-blur option can trigger the infinite loop. Successful exploitation can exhaust CPU resources and make the affected ImageMagick process unavailable.

3

Is a default ImageMagick installation affected?

The provided information identifies affected versions but does not establish whether default workflows invoke -rotational-blur or permit untrusted parties to control ImageMagick command-line arguments. Exposure depends on how ImageMagick is integrated and whether those arguments are attacker-controlled.

4

What can be done if updating is not immediately possible?

Restrict untrusted control over ImageMagick command-line arguments, particularly values passed to -rotational-blur. This reduces the ability to supply the invalid argument needed to induce the endless loop.

5

How can an organization determine whether it may be affected?

Identify deployed ImageMagick versions and review whether they are before 6.9.13-61 or, for 7.x releases, before 7.1.2-36. Also review application integrations for paths where untrusted input can influence ImageMagick command-line options.

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