Description
In the GetOpenCLCachedFilesDirectory function in magick/opencl.c in ImageMagick 7.0.7, a NULL pointer dereference vulnerability occurs because a memory allocation result is not checked, related to GetOpenCLCacheDirectory.
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.9.34+dfsg-3 | — |
| Debian 13 | imagemagick | 8:6.9.9.34+dfsg-3 | — |
| Debian 12 | imagemagick | 8:6.9.9.34+dfsg-3 | — |
| Debian 9 | imagemagick | 8:6.9.7.4+dfsg-11+deb9u10 | DLA-2366-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.11 | USN-3681-1 |
| Ubuntu 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.11 | USN-3681-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | ImageMagick | 6.8.8.1-71.47.1 | SUSE-SU-2018:0857-1 |
| SLES 12 SP2 | ImageMagick | 6.8.8.1-71.47.1 | SUSE-SU-2018:0857-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | ImageMagick | 6.8.8.1-71.47.1 | SUSE-SU-2018:0857-1 |
| SLES for SAP 12 SP2 | ImageMagick | 6.8.8.1-71.47.1 | SUSE-SU-2018:0857-1 |
Advisories 3
- USN-3681-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-2366-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:0857-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
References
- USN-3681-1 vendor-advisory
- 103218 vdb-entry
- https://github.com/ImageMagick/ImageMagick/issues/790
- [debian-lts-announce] 20200907 [SECURITY] [DLA 2366-1] imagemagick security update mailing-list