Description
ImageMagick before 7.1.2-35 contains a policy bypass vulnerability on Windows that allows attackers to evade path-based security policies by mixing forward slash and backslash separators. Attackers can supply crafted image file paths using alternate separators to read or write image files that the configured policy is intended to block.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | 7.0.0 – < 7.1.2-35, < 6.9.13-60 | 7.1.2-35 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u16 | DLA-4958-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | imagemagick | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 24.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 22.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 20.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 18.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 16.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 14.04 LTS | imagemagick | No fix yet | — |
Advisories 2
- DLA-4958-1 imagemagick - security update Debian Security (DSA / DLA) · Dec 1, 2026
- WID-SEC-2026-4267 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 19, 2026
References
- GitHub Security Advisory (GHSA-hpjv-7vmp-f58w) vendor-advisory