Stack-based buffer overflow in ImageMagick - CVE-2026-42050

 

Stack-based buffer overflow in ImageMagick - CVE-2026-42050

Published: April 25, 2026


Vulnerability identifier: #VU127726
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-42050
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ImageMagick.org
Affected software:
ImageMagick

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to stack-based buffer overflow in XTileImage when processing a malicious MIFF file in the display tool after a tile is right-clicked to invoke the Load / Update menu item. A remote attacker can trick the victim into opening a crafted MIFF file to cause a denial of service.

User interaction is required to open the crafted file and invoke the menu item.


How to mitigate CVE-2026-42050

Install security update from vendor's website.

Sources