Description
In ImageMagick before 7.0.5-10, a crafted RLE image can trigger a crash because of incorrect EOF handling in coders/rle.c. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-9144.
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:6.9.7.4+dfsg-12 | — |
| Debian 13 | imagemagick | 8:6.9.7.4+dfsg-12 | — |
| Debian 12 | imagemagick | 8:6.9.7.4+dfsg-12 | — |
| Debian 8 | imagemagick | 8:6.8.9.9-5+deb8u11 | DSA-4040-1 |
| Debian 7 | imagemagick | 8:6.7.7.10-5+deb7u16 | DLA-1081-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.2 | USN-3681-1 |
| Ubuntu 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.8 | USN-3681-1, USN-3363-1 |
| Ubuntu 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.8 | USN-3681-1, USN-3363-1 |
Advisories 4
- USN-3681-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3363-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4040-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1081-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-4040 vendor-advisory
- USN-3681-1 vendor-advisory
- https://bugs.debian.org/868469
- 99600 vdb-entry
- https://github.com/ImageMagick/ImageMagick/issues/502