CVE-2026-42050: ImageMagick: Stack buffer overflow in XTileImage

Published May 11, 2026
·
Updated

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-21 and 6.9.13-46, a malicious MIFF file could trigger an overflow when a user opens it in the display tool and right-clicks a tile to invoke the Load / Update menu item. This vulnerability is fixed in 7.1.2-21 and 6.9.13-46.

Affected Software

5 affected componentsFixes available
ImageMagick ImageMagick<7.1.2-21, <6.9.13-46
ImageMagick ImageMagick<6.9.13-46
ImageMagick ImageMagick>=7.0.0-0<7.1.2-21
alpine/imagemagick>=7.0.0-0<7.1.2.21-r0
7.1.2.21-r0
alpine/imagemagick>=7.0.0-0<7.1.2.21-r0
7.1.2.21-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/imagemagick to a version that resolves this vulnerability.

    Fixed in 7.1.2.21-r0
  2. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-21
  3. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-46

Event History

May 11, 2026
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:25 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:25 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-42050?

CVE-2026-42050 has been rated as high severity due to the potential for exploitation through crafted MIFF files.

2

How do I fix CVE-2026-42050?

To fix CVE-2026-42050, update ImageMagick to version 7.1.2-21 or later, or 6.9.13-46 or later.

3

What versions of ImageMagick are affected by CVE-2026-42050?

Versions prior to 7.1.2-21 and 6.9.13-46 of ImageMagick are affected by CVE-2026-42050.

4

What type of files are involved in CVE-2026-42050?

CVE-2026-42050 involves malicious MIFF files that could trigger an overflow when opened in ImageMagick.

5

Can CVE-2026-42050 be exploited remotely?

Yes, CVE-2026-42050 can be exploited remotely if a user opens a crafted MIFF file.

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