Vulnerability · Published May 11, 2026 · Assigned by GitHub_M
CVE-2026-42050ImageMagick: Stack buffer overflow in XTileImage
Medium 5.5
In plain English
A medium-severity stack buffer overflow in ImageMagick from ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | imagemagick | 7.1.2.21-r0 | ALPINE-CVE-2026-42050 |
| Alpine:v3.24 | imagemagick | 7.1.2.21-r0 | ALPINE-CVE-2026-42050 |
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u10 | DEBIAN-CVE-2026-42050 |
| Debian:13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u9 | DEBIAN-CVE-2026-42050 |
| Debian:14 | imagemagick | 8:7.1.2.21+dfsg1-1 | DEBIAN-CVE-2026-42050 |
| Ubuntu:25.10 | imagemagick | no fix listed | UBUNTU-CVE-2026-42050 |
| Ubuntu:26.10 | imagemagick | no fix listed | UBUNTU-CVE-2026-42050 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | < 6.9.13-46>= 7.0.0, < 7.1.2-20 |
Weakness: CWE-121 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H