cve.bz

CVE-2017-18209 NULL Pointer Dereference

8.8 highEPSS 2.9%Fix available

High (8.8). EPSS 2.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.9% (unchanged from 2.9% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-18209 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-18209?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-18209?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-18209 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
imagemagick:imagemagick7.0.7-0
imagemagick:imagemagick7.0.7-1
imagemagick:imagemagick7.0.7-2
imagemagick:imagemagick7.0.7-3
imagemagick:imagemagick7.0.7-4
imagemagick:imagemagick7.0.7-5
imagemagick:imagemagick7.0.7-6
imagemagick:imagemagick7.0.7-8
imagemagick:imagemagick7.0.7-9
imagemagick:imagemagick7.0.7-10
imagemagick:imagemagick7.0.7-11
imagemagick:imagemagick7.0.7-12
imagemagick:imagemagick7.0.7-13
imagemagick:imagemagick7.0.7-14
imagemagick:imagemagick7.0.7-15
imagemagick:imagemagick7.0.7-16
imagemagick:imagemagick7.0.7-17
imagemagick:imagemagick7.0.7-18
imagemagick:imagemagick7.0.7-19
imagemagick:imagemagick7.0.7-20
imagemagick:imagemagick7.0.7-21
imagemagick:imagemagick7.0.7-22
imagemagick:imagemagick7.0.7-23
imagemagick:imagemagick7.0.7-24
imagemagick:imagemagick7.0.7-25
imagemagick:imagemagick7.0.7.7
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9imagemagick8:6.9.7.4+dfsg-11+deb9u10DLA-2366-1
Debian12, 13, 14imagemagick8:6.9.9.34+dfsg-3DEBIAN-CVE-2017-18209
Ubuntu14.04:LTSimagemagick8:6.7.7.10-6ubuntu3.11USN-3681-1
Ubuntu16.04:LTSimagemagick8:6.8.9.9-7ubuntu5.11UBUNTU-CVE-2017-18209 USN-3681-1
Ubuntu18.04:LTSimagemagick8:6.9.7.4+dfsg-16ubuntu6.2UBUNTU-CVE-2017-18209 USN-3681-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP2 and 8 moreImageMagick6.8.8.1-71.47.1SUSE-SU-2018:0857-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5ImageMagickNot affected
Red Hat Enterprise Linux 6ImageMagickNot affected
Red Hat Enterprise Linux 7ImageMagickNot affected
Red Hat Enterprise Linux 8ImageMagickWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-18209.

References

Check your stackJSON