Description
In ImageMagick 7.0.4-9, an infinite loop can occur because of a floating-point rounding error in some of the color algorithms. This affects ModulateHSL, ModulateHCL, ModulateHCLp, ModulateHSB, ModulateHSI, ModulateHSV, ModulateHWB, ModulateLCHab, and ModulateLCHuv.
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-4 | — |
| Debian 13 | imagemagick | 8:6.9.7.4+dfsg-4 | — |
| Debian 12 | imagemagick | 8:6.9.7.4+dfsg-4 | — |
| Debian 8 | imagemagick | 8:6.8.9.9-5+deb8u9 | DSA-3863-1 |
| Debian 7 | imagemagick | 8:6.7.7.10-5+deb7u13 | DLA-902-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.7 | USN-3302-1 |
| Ubuntu 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.7 | USN-3302-1 |
Advisories 3
- USN-3302-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-902-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3863-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31506
- DSA-3863 vendor-advisory
- 98689 vdb-entry