Vulnerabilities / CVE-2017-18211

critical

CVE-2017-18211

ImageMagick: NULL pointer dereference in saveBinaryCLProgram in magick/opencl.c

Published Modified CWE 476
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat3.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low), Ubuntu (low).

Description

In ImageMagick 7.0.7, a NULL pointer dereference vulnerability was found in the function saveBinaryCLProgram in magick/opencl.c because a program-lookup result is not checked, related to CacheOpenCLKernel.

Affected packages and fixed versions

SourcePackageFixed in
debian 11imagemagick8:6.9.9.34+dfsg-3
debian 12imagemagick8:6.9.9.34+dfsg-3
debian 13imagemagick8:6.9.9.34+dfsg-3
debian 14imagemagick8:6.9.9.34+dfsg-3
debian 9imagemagick8:6.9.7.4+dfsg-11+deb9u10
echoimagemagick8:6.9.9.34+dfsg-3
root.io debian 11rootio-imagemagick8:6.9.9.34+dfsg-3
root.io debian 12rootio-imagemagick8:6.9.9.34+dfsg-3
root.io debian 13rootio-imagemagick8:6.9.9.34+dfsg-3
ubuntu 16.04imagemagick8:6.8.9.9-7ubuntu5.11
ubuntu 16.04-ESMimagemagick8:6.8.9.9-7ubuntu5.11
ubuntu 17.10imagemagick8:6.9.7.4+dfsg-16ubuntu2.2
Show all 14 entries from 14 sources
SourcePackageFixed in
debian 11imagemagick8:6.9.9.34+dfsg-3
debian 12imagemagick8:6.9.9.34+dfsg-3
debian 13imagemagick8:6.9.9.34+dfsg-3
debian 14imagemagick8:6.9.9.34+dfsg-3
debian 9imagemagick8:6.9.7.4+dfsg-11+deb9u10
echoimagemagick8:6.9.9.34+dfsg-3
root.io debian 11rootio-imagemagick8:6.9.9.34+dfsg-3
root.io debian 12rootio-imagemagick8:6.9.9.34+dfsg-3
root.io debian 13rootio-imagemagick8:6.9.9.34+dfsg-3
ubuntu 16.04imagemagick8:6.8.9.9-7ubuntu5.11
ubuntu 16.04-ESMimagemagick8:6.8.9.9-7ubuntu5.11
ubuntu 17.10imagemagick8:6.9.7.4+dfsg-16ubuntu2.2
ubuntu 18.04imagemagick8:6.9.7.4+dfsg-16ubuntu6.2
ubuntu 18.04-ESMimagemagick8:6.9.7.4+dfsg-16ubuntu6.2

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.