CVE-2018-17965 json
ImageMagick 7.0.7-28 has a memory leak vulnerability in WriteSGIImage in coders/sgi.c.
published 2018-10-03 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-9705
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
ImageMagick 7.0.7-28 has a memory leak vulnerability in WriteSGIImage in coders/sgi.c.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.10.14+dfsg-1
debian advisories DEBIAN-CVE-2018-17965
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.14
- imagemagick Ubuntu 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.7
ubuntu advisories UBUNTU-CVE-2018-17965
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-78.74.1
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-78.72.1
- ImageMagick SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +2 more 6.8.8.1-71.82.1
suse advisories SUSE-SU-2018:3348-1SUSE-SU-2018:3269-1SUSE-SU-2018:3191-1
- imagemagick6 Alpine 3.16, Alpine 3.15, Alpine 3.14 +4 more 6.9.10.37-r0
- imagemagick6 Alpine 3.9, Alpine 3.8, Alpine 3.7 6.9.10.39-r0
alpine advisories ALPINE-CVE-2018-17965
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-17965 updated cvss 3.3
ImageMagick: memory leak in WriteSGIImage in coders/sgi.c
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.77% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-772 Missing Release of Resource after Effective Lifetime
References
-
github.com
/ImageMagick/ImageMagick/issues/1052
issue-tracking, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-17965
issue-tracking, patch, third-party-advisory
-
usn.ubuntu.com
/4034-1/
vendor-advisory
Sources
- CVE List CVE-2018-17965
- NVD CVE-2018-17965
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.