CVE-2017-14314
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows...
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file.
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
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file.
- Record
CVE-2017-14314- 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-125
- Updated
- 2026-11-02
CVE List No score
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file.
- Record
CVE-2017-14314- Updated
- 2026-11-02
EUVDEUVD-2017-5817 No score
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file.
- Record
EUVD-2017-5817- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h5m8-7h93-8wfv
6.5
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows...
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file.
- Record
GHSA-h5m8-7h93-8wfv- 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-125
- Updated
- 2026-11-02
OSV
6.5
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file.
- Record
CVE-2017-14314- 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-14314
6.5
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file.
- Record
DEBIAN-CVE-2017-14314- 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
Show 5 moreShow less
OSVUBUNTU-CVE-2017-14314
6.5
Off-by-one error in the DrawImage function in magick/render.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file.
- Record
UBUNTU-CVE-2017-14314- 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-2018:0857-1 No score
Security update for ImageMagick
This update for ImageMagick fixes several issues.
These security issues were fixed:
- CVE-2018-8804: The WriteEPTImage function allowed remote attackers to cause a denial of service (double free and application crash) or possibly have unspecified other impact via a crafted file (bsc#1086011).
- CVE-2017-11524: The WriteBlob function allowed remote attackers to cause a denial of service (assertion failure and application exit) via a crafted file (bsc#1050087).
- CVE-2017-18209: Prevent NULL pointer dereference in the GetOpenCLCachedFilesDirectory function caused by a memory allocation result that was not checked, related to GetOpenCLCacheDirectory (bsc#1083628).
- CVE-2017-18211: Prevent NULL pointer dereference in the function saveBinaryCLProgram caused by a program-lookup result not being checked, related to CacheOpenCLKernel (bsc#1083634).
- CVE-2017-9500: Prevent assertion failure in the function ResetImageProfileIterator, which allowed attackers to cause a denial of service via a crafted file (bsc#1043290).
- CVE-2017-14739: The AcquireResampleFilterThreadSet function mishandled failed memory allocation, which allowed remote attackers to cause a denial of service (NULL Pointer Dereference in DistortImage in MagickCore/distort.c, and application crash) via unspecified vectors (bsc#1060382).
- CVE-2017-16353: Prevent memory information disclosure in the DescribeImage function caused by a heap-based buffer over-read. The portion of the code containing the vulnerability is responsible for printing the IPTC Profile information contained in the image. This vulnerability can be triggered with a specially crafted MIFF file. There is an out-of-bounds buffer dereference because certain increments were never checked (bsc#1066170).
- CVE-2017-16352: Prevent a heap-based buffer overflow in the 'Display visual image directory' feature of the DescribeImage() function. One possible way to trigger the vulnerability is to run the identify command on a specially crafted MIFF format file with the verbose flag (bsc#1066168).
- CVE-2017-14314: Prevent off-by-one error in the DrawImage function that allowed remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file (bsc#1058630).
- CVE-2017-13768: Prevent NULL pointer dereference in the IdentifyImage function that allowed an attacker to perform denial of service by sending a crafted image file (bsc#1056434).
- CVE-2017-14505: Fixed handling of NULL arrays, which allowed attackers to perform Denial of Service (NULL pointer dereference and application crash in AcquireQuantumMemory within MagickCore/memory.c) by providing a crafted Image File as input (bsc#1059735).
- CVE-2018-7470: The IsWEBPImageLossless function allowed attackers to cause a denial of service (segmentation violation) via a crafted file (bsc#1082837).
- CVE-2018-7443: The ReadTIFFImage function did not properly validate the amount of image data in a file, which allowed remote attackers to cause a denial of service (memory allocation failure in the AcquireMagickMemory function in MagickCore/memory.c) (bsc#1082792).
- CVE-2017-15016: Prevent NULL pointer dereference vulnerability in ReadEnhMetaFile allowing for denial of service (bsc#1082291).
- CVE-2017-15017: Prevent NULL pointer dereference vulnerability in ReadOneMNGImage allowing for denial of service (bsc#1082283).
- CVE-2017-12692: The ReadVIFFImage function allowed remote attackers to cause a denial of service (memory consumption) via a crafted VIFF file (bsc#1082362).
- CVE-2017-12693: The ReadBMPImage function allowed remote attackers to cause a denial of service (memory consumption) via a crafted BMP file (bsc#1082348).
- Record
SUSE-SU-2018:0857-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0864-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes several issues.
These security issues were fixed:
- CVE-2017-11524: The WriteBlob function allowed remote attackers to cause a denial of service (assertion failure and application exit) via a crafted file (bsc#1050087)
- CVE-2017-16353: Prevent memory information disclosure in the DescribeImage function caused by a heap-based buffer over-read. The portion of the code containing the vulnerability is responsible for printing the IPTC Profile information contained in the image. This vulnerability can be triggered with a specially crafted MIFF file. There is an out-of-bounds buffer dereference because certain increments were never checked (bsc#1066170)
- CVE-2017-16352: Prevent a heap-based buffer overflow in the 'Display visual image directory' feature of the DescribeImage() function. One possible way to trigger the vulnerability is to run the identify command on a specially crafted MIFF format file with the verbose flag (bsc#1066168)
- CVE-2017-14314: Prevent off-by-one error in the DrawImage function that allowed remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file (bsc#1058630)
- CVE-2017-14505: Fixed handling of NULL arrays, which allowed attackers to perform Denial of Service (NULL pointer dereference and application crash in AcquireQuantumMemory within MagickCore/memory.c) by providing a crafted Image File as input (bsc#1059735)
- CVE-2017-15016: Prevent NULL pointer dereference vulnerability in ReadEnhMetaFile allowing for denial of service (bsc#1082291)
- CVE-2017-15017: Prevent NULL pointer dereference vulnerability in ReadOneMNGImage allowing for denial of service (bsc#1082283)
- CVE-2017-12693: The ReadBMPImage function allowed remote attackers to cause a denial of service (memory consumption) via a crafted BMP file (bsc#1082348)
- CVE-2017-18219: Prevent allocation failure in the function ReadOnePNGImage, which allowed attackers to cause a denial of service via a crafted file that triggers an attempt at a large png_pixels array allocation (bsc#1084060)
- CVE-2017-18230: Prevent NULL pointer dereference in the function ReadCINEONImage, which allowed attackers to cause a denial of service via a crafted file (bsc#1085233).
- CVE-2017-18220: The ReadOneJNGImage and ReadJNGImage functions allowed remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file (bsc#1084062).
- Record
SUSE-SU-2018:0864-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0880-1 No score
Security update for ImageMagick
This update for ImageMagick fixes several issues.
These security issues were fixed:
- CVE-2018-8804: The WriteEPTImage function allowed remote attackers to cause a denial of service (double free and application crash) or possibly have unspecified other impact via a crafted file (bsc#1086011)
- CVE-2017-11524: The WriteBlob function allowed remote attackers to cause a denial of service (assertion failure and application exit) via a crafted file (bsc#1050087)
- CVE-2017-18219: Prevent allocation failure in the function ReadOnePNGImage, which allowed attackers to cause a denial of service via a crafted file that triggers an attempt at a large png_pixels array allocation (bsc#1084060).
- CVE-2017-9500: Prevent assertion failure in the function ResetImageProfileIterator, which allowed attackers to cause a denial of service via a crafted file (bsc#1043290)
- CVE-2017-16353: Prevent memory information disclosure in the DescribeImage function caused by a heap-based buffer over-read. The portion of the code containing the vulnerability is responsible for printing the IPTC Profile information contained in the image. This vulnerability can be triggered with a specially crafted MIFF file. There is an out-of-bounds buffer dereference because certain increments were never checked (bsc#1066170)
- CVE-2017-16352: Prevent a heap-based buffer overflow in the 'Display visual image directory' feature of the DescribeImage() function. One possible way to trigger the vulnerability is to run the identify command on a specially crafted MIFF format file with the verbose flag (bsc#1066168)
- CVE-2017-14314: Prevent off-by-one error in the DrawImage function that allowed remote attackers to cause a denial of service (DrawDashPolygon heap-based buffer over-read and application crash) via a crafted file (bsc#1058630)
- CVE-2017-13768: Prevent NULL pointer dereference in the IdentifyImage function that allowed an attacker to perform denial of service by sending a crafted image file (bsc#1056434)
- CVE-2017-14505: Fixed handling of NULL arrays, which allowed attackers to perform Denial of Service (NULL pointer dereference and application crash in AcquireQuantumMemory within MagickCore/memory.c) by providing a crafted Image File as input (bsc#1059735)
- CVE-2018-7443: The ReadTIFFImage function did not properly validate the amount of image data in a file, which allowed remote attackers to cause a denial of service (memory allocation failure in the AcquireMagickMemory function in MagickCore/memory.c) (bsc#1082792)
- CVE-2017-15016: Prevent NULL pointer dereference vulnerability in ReadEnhMetaFile allowing for denial of service (bsc#1082291)
- CVE-2017-15017: Prevent NULL pointer dereference vulnerability in ReadOneMNGImage allowing for denial of service (bsc#1082283)
- CVE-2017-12692: The ReadVIFFImage function allowed remote attackers to cause a denial of service (memory consumption) via a crafted VIFF file (bsc#1082362)
- CVE-2017-12693: The ReadBMPImage function allowed remote attackers to cause a denial of service (memory consumption) via a crafted BMP file (bsc#1082348)
- Record
SUSE-SU-2018:0880-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-10 | 1.3.26-10 |
graphicsmagickDebian:13 |
before 1.3.26-10 | 1.3.26-10 |
graphicsmagickDebian:14 |
before 1.3.26-10 | 1.3.26-10 |
graphicsmagickDebian:7 From an advisory covering 6 CVEs |
before 1.3.16-1.1+deb7u10, plus listed versions 1.3.16-1.11.3.16-1.1+deb7u11.3.16-1.1+deb7u21.3.16-1.1+deb7u31.3.16-1.1+deb7u4 Show 5 moreShow less1.3.16-1.1+deb7u51.3.16-1.1+deb7u61.3.16-1.1+deb7u71.3.16-1.1+deb7u81.3.16-1.1+deb7u9 |
1.3.16-1.1+deb7u10 |
graphicsmagickDebian:8 From an advisory covering 27 CVEs |
before 1.3.20-3+deb8u3, plus listed versions 1.3.20-3+deb8u11.3.20-3+deb8u2 |
1.3.20-3+deb8u3 |
graphicsmagickDebian:9 From an advisory covering 56 CVEs |
before 1.3.30+hg15796-1~deb9u1, plus listed versions 1.3.25-81.3.26-11.3.26-101.3.26-111.3.26-12 Show 24 moreShow less1.3.26-131.3.26-141.3.26-151.3.26-161.3.26-171.3.26-181.3.26-191.3.26-21.3.26-31.3.26-41.3.26-51.3.26-61.3.26-71.3.26-81.3.26-91.3.27-11.3.27-21.3.27-31.3.27-41.3.28-11.3.28-21.3.29+hg15665-11.3.29-11.3.30-1 |
1.3.30+hg15796-1~deb9u1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP2 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP3 From an advisory covering 17 CVEs |
before 6.8.8.1-71.47.1 | 6.8.8.1-71.47.1 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 13 CVEs |
before 1.2.5-78.44.1 | 1.2.5-78.44.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 From an advisory covering 13 CVEs |
before 1.2.5-78.44.1 | 1.2.5-78.44.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 16 CVEs |
before 6.4.3.6-78.40.1 | 6.4.3.6-78.40.1 |
ImageMagickSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 16 CVEs |
before 6.4.3.6-78.40.1 | 6.4.3.6-78.40.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 16 CVEs |
before 6.4.3.6-78.40.1 | 6.4.3.6-78.40.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-14314 is a medium vulnerability (CVSS 6.5) in Graphicsmagick, published September 12, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.86%, the 79th percentile. Fixed in graphicsmagick 1.3.26-10.
References
debian.org/security/2018/dsa-4321
lists.debian.org/debian-lts-announce/2018/06/msg00009.html
hg.code.sf.net/p/graphicsmagick/code/rev/2835184bfb78
sourceforge.net/p/graphicsmagick/bugs/448
usn.ubuntu.com/4232-1
nvd.nist.gov/vuln/detail/CVE-2017-14314
Show 60 moreShow less
github.com/advisories/GHSA-h5m8-7h93-8wfv
security-tracker.debian.org/tracker/CVE-2017-14314
suse.com/support/update/announcement/2018/suse-su-20180857-1
bugzilla.suse.com/1043290
bugzilla.suse.com/1050087
bugzilla.suse.com/1056434
bugzilla.suse.com/1058630
bugzilla.suse.com/1059735
bugzilla.suse.com/1060382
bugzilla.suse.com/1066168
bugzilla.suse.com/1066170
bugzilla.suse.com/1082283
bugzilla.suse.com/1082291
bugzilla.suse.com/1082348
bugzilla.suse.com/1082362
bugzilla.suse.com/1082792
bugzilla.suse.com/1082837
bugzilla.suse.com/1083628
bugzilla.suse.com/1083634
bugzilla.suse.com/1086011
suse.com/security/cve/CVE-2017-11524
suse.com/security/cve/CVE-2017-12692
suse.com/security/cve/CVE-2017-12693
suse.com/security/cve/CVE-2017-13768
suse.com/security/cve/CVE-2017-14314
suse.com/security/cve/CVE-2017-14505
suse.com/security/cve/CVE-2017-14739
suse.com/security/cve/CVE-2017-15016
suse.com/security/cve/CVE-2017-15017
suse.com/security/cve/CVE-2017-16352
suse.com/security/cve/CVE-2017-16353
suse.com/security/cve/CVE-2017-18209
suse.com/security/cve/CVE-2017-18211
suse.com/security/cve/CVE-2017-9500
suse.com/security/cve/CVE-2018-7443
suse.com/security/cve/CVE-2018-7470
suse.com/security/cve/CVE-2018-8804
suse.com/support/update/announcement/2018/suse-su-20180864-1
bugzilla.suse.com/1084060
bugzilla.suse.com/1084062
bugzilla.suse.com/1085233
suse.com/security/cve/CVE-2017-12691
suse.com/security/cve/CVE-2017-14343
suse.com/security/cve/CVE-2017-18219
suse.com/security/cve/CVE-2017-18220
suse.com/security/cve/CVE-2017-18230
suse.com/support/update/announcement/2018/suse-su-20180880-1
ubuntu.com/security/CVE-2017-14314
ubuntu.com/security/notices/USN-4232-1
cve.org/CVERecord?id=CVE-2017-14314
ubuntu.com/security/CVE-2017-14165
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