Description
ImageMagick before 7.1.2-30 and 6.9.13-55 contains a time-of-check-time-of-use (TOCTOU) vulnerability in the video decoder that allows attackers to bypass path policy write restrictions via symlink swaps. An attacker can replace a symlink between policy validation (check-time) and the file write operation (use-time) to write to policy-denied locations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | 7.0.0 – < 7.1.2-30, < 6.9.13-55 | 7.1.2-30 |
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 14 | imagemagick | 8:7.1.2.31+dfsg1-1 | — |
| Debian 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u13 | — |
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u14 | — |
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 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.31-1.1 | openSUSE-SU-2026:11801-1 |
Advisories 2
- WID-SEC-2026-2967 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 29, 2026
- openSUSE-SU-2026:11801-1 ImageMagick-7.1.2.31-1.1 on GA media SUSE / openSUSE Security Updates · Sep 18, 2026
References
- GitHub Security Advisory (GHSA-9x6f-98x9-rx6g) vendor-advisory
- VulnCheck Advisory: ImageMagick before 7.1.2-30 Path Traversal via TOCTOU Symlink Race third-party-advisory