CVE-2017-14165
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory...
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
- Record
CVE-2017-14165- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
- Record
CVE-2017-14165- Updated
- 2026-11-02
EUVDEUVD-2017-5675 No score
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
- Record
EUVD-2017-5675- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-97fh-x5h6-hgr2
6.5
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory...
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
- Record
GHSA-97fh-x5h6-hgr2- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
6.5
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
- Record
CVE-2017-14165- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-14165
6.5
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
- Record
DEBIAN-CVE-2017-14165- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-14165
6.5
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
- Record
UBUNTU-CVE-2017-14165- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2017:3435-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
- CVE-2017-11640: NULL pointer deref in WritePTIFImage() in coders/tiff.c could lead to denial of service [bsc#1050632]
- CVE-2017-14342: Memory exhaustion in ReadWPGImage in coders/wpg.c could lead to denial of service [bsc#1058485]
- CVE-2017-14341: Infinite loop in the ReadWPGImage function could lead to denial of service [bsc#1058637]
- CVE-2017-16546: Issue in ReadWPGImage function in coders/wpg.c could lead to denial of service [bsc#1067181]
- CVE-2017-16545: The ReadWPGImage function in coders/wpg.c in validation problems could lead to denial of service [bsc#1067184]
- CVE-2017-16669: coders/wpg.c allows remote attackers to cause a denial of service via crafted file [bsc#1067409]
- CVE-2017-13776: denial of service issue in ReadXBMImage() in a coders/xbm.c [bsc#1056429]
- CVE-2017-13777: denial of service issue in ReadXBMImage() in a coders/xbm.c [bsc#1056426]
- CVE-2017-13134: heap-based buffer over-read in the function SFWScan in coders/sfw.c could lead to denial of service via a crafted file [bsc#1055214]
- CVE-2017-15930: Null Pointer dereference while transfering JPEG scanlines could lead to denial of service [bsc#1066003]
- CVE-2017-12983: Heap-based buffer overflow in the ReadSFWImage function in coders/sfw.c allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file. [bsc#1054757]
- CVE-2017-14165: The ReadSUNImage function in coders/sun.c has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c. [bsc#1057508]
- CVE-2017-12587: Large loop vulnerability in the ReadPWPImage function in coders\pwp.c. [bsc#1052450]
- Record
SUSE-SU-2017:3435-1- Updated
- 2026-11-02
OSVUSN-4232-1 No score
graphicsmagick vulnerabilities
It was discovered that GraphicsMagick incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.
- Record
USN-4232-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickDebian:12 |
before 1.3.26-9 | 1.3.26-9 |
graphicsmagickDebian:13 |
before 1.3.26-9 | 1.3.26-9 |
graphicsmagickDebian:14 |
before 1.3.26-9 | 1.3.26-9 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 14 CVEs |
before 1.2.5-4.78.19.1 | 1.2.5-4.78.19.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 From an advisory covering 14 CVEs |
before 1.2.5-4.78.19.1 | 1.2.5-4.78.19.1 |
graphicsmagickUbuntu:Pro:14.04:LTS |
before 1.3.18-1ubuntu3.1+esm4, plus listed versions 1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm11.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm3 |
1.3.18-1ubuntu3.1+esm4 |
graphicsmagickUbuntu:16.04:LTS |
before 1.3.23-1ubuntu0.4, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.21.3.23-1ubuntu0.3 |
1.3.23-1ubuntu0.4 |
graphicsmagickUbuntu:16.04:LTS From an advisory covering 11 CVEs |
before 1.3.23-1ubuntu0.4, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.21.3.23-1ubuntu0.3 |
1.3.23-1ubuntu0.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-14165 is a medium vulnerability (CVSS 6.5) in Graphicsmagick, published September 6, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.30%, the 83rd percentile. Fixed in graphicsmagick 1.3.26-9.
References
blogs.gentoo.org/ago/2017/09/06/graphicsmagick-memory-allocation-failure-in-magickmalloc-memory-c-2
securityfocus.com/bid/100678
hg.code.sf.net/p/graphicsmagick/code/rev/493da54370aa
usn.ubuntu.com/4232-1
nvd.nist.gov/vuln/detail/CVE-2017-14165
github.com/advisories/GHSA-97fh-x5h6-hgr2
Show 43 moreShow less
security-tracker.debian.org/tracker/CVE-2017-14165
suse.com/support/update/announcement/2017/suse-su-20173435-1
bugzilla.suse.com/1050632
bugzilla.suse.com/1052450
bugzilla.suse.com/1054757
bugzilla.suse.com/1055214
bugzilla.suse.com/1056426
bugzilla.suse.com/1056429
bugzilla.suse.com/1057508
bugzilla.suse.com/1058485
bugzilla.suse.com/1058637
bugzilla.suse.com/1066003
bugzilla.suse.com/1067181
bugzilla.suse.com/1067184
bugzilla.suse.com/1067409
suse.com/security/cve/CVE-2016-7996
suse.com/security/cve/CVE-2017-11640
suse.com/security/cve/CVE-2017-12587
suse.com/security/cve/CVE-2017-12983
suse.com/security/cve/CVE-2017-13134
suse.com/security/cve/CVE-2017-13776
suse.com/security/cve/CVE-2017-13777
suse.com/security/cve/CVE-2017-14165
suse.com/security/cve/CVE-2017-14341
suse.com/security/cve/CVE-2017-14342
suse.com/security/cve/CVE-2017-15930
suse.com/security/cve/CVE-2017-16545
suse.com/security/cve/CVE-2017-16546
suse.com/security/cve/CVE-2017-16669
ubuntu.com/security/CVE-2017-14165
openwall.com/lists/oss-security/2017/09/06/4
ubuntu.com/security/notices/USN-4232-1
cve.org/CVERecord?id=CVE-2017-14165
ubuntu.com/security/CVE-2017-14314
ubuntu.com/security/CVE-2017-14504
ubuntu.com/security/CVE-2017-14649
ubuntu.com/security/CVE-2017-14733
ubuntu.com/security/CVE-2017-14994
ubuntu.com/security/CVE-2017-14997
ubuntu.com/security/CVE-2017-15277
ubuntu.com/security/CVE-2017-15930
ubuntu.com/security/CVE-2017-16352
ubuntu.com/security/CVE-2017-16353