CVE-2017-14997
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory...
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.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
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.
- Record
CVE-2017-14997- 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
- 7.1 High
AV:N/AC:M/Au:N/C:N/I:N/A:C - Weakness
- CWE-191
- Updated
- 2026-11-02
CVE List No score
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.
- Record
CVE-2017-14997- Updated
- 2026-11-02
EUVDEUVD-2017-6473 No score
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.
- Record
EUVD-2017-6473- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f9r8-4r5p-xq44
6.5
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory...
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.
- Record
GHSA-f9r8-4r5p-xq44- 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-191
- Updated
- 2026-11-02
OSV
6.5
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.
- Record
CVE-2017-14997- 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-14997
6.5
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.
- Record
DEBIAN-CVE-2017-14997- 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-14997
6.5
GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.
- Record
UBUNTU-CVE-2017-14997- 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:3465-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2017-14997: GraphicsMagick allowed remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c. [bsc#1112399]
- CVE-2018-16644: An regression in the security fix for the pict coder was fixed (bsc#1107609)
- Record
SUSE-SU-2018:3465-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3808-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2017-14997: ImageMagick allowed remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c. (bsc#1112399)
- CVE-2018-16644: A regression in the security fix for the pict coder was fixed (bsc#1107609)
- CVE-2017-11532: When ImageMagick processed a crafted file in convert, it could lead to a Memory Leak in the WriteMPCImage() function in coders/mpc.c. (bsc#1050129)
- CVE-2017-11639: A regression in the security fix in the cip coder was fixed (bsc#1050635)
- Record
SUSE-SU-2018:3808-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:13923-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
Security issues fixed:
- CVE-2018-18544: Fixed memory leak in the function WriteMSLImage() (bsc#1113064).
- CVE-2017-10794: Fixed buffer overflow in RGB TIFF picture processing (bsc#1112392).
- CVE-2017-14997: Fixed integer underflow in ReadPICTImage in coders/pict.c (bsc#1112399).
- CVE-2018-20185: Fixed heap-based buffer over-read in the ReadBMPImage function of bmp.c (bsc#1119823)
- CVE-2018-20184: Fixed heap-based buffer overflow in the WriteTGAImage function of tga.c (bsc#1119822)
Regressions fixed after security update:
- CVE-2017-12663: Fixed memory leak in WriteMAPImage in coders/map.c (bsc#1052754).
- CVE-2017-9405: Fixed memory leak in the ReadICONImage function (bsc#1042911).
- CVE-2018-6405: Fixed ReadDCMImage function in coders/dcm (bsc#1078433).
Non-security issues fixed:
- debug_build: build more suitable for debugging
- Record
SUSE-SU-2019:13923-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-13 | 1.3.26-13 |
graphicsmagickDebian:13 |
before 1.3.26-13 | 1.3.26-13 |
graphicsmagickDebian:14 |
before 1.3.26-13 | 1.3.26-13 |
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 31 CVEs |
before 1.3.20-3+deb8u4, plus listed versions 1.3.20-3+deb8u11.3.20-3+deb8u21.3.20-3+deb8u3 |
1.3.20-3+deb8u4 |
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 SP3 From an advisory covering 2 CVEs |
before 6.8.8.1-71.85.1 | 6.8.8.1-71.85.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 2 CVEs |
before 6.8.8.1-71.85.1 | 6.8.8.1-71.85.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 2 CVEs |
before 6.8.8.1-71.85.1 | 6.8.8.1-71.85.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 2 CVEs |
before 6.8.8.1-71.85.1 | 6.8.8.1-71.85.1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP3 From an advisory covering 2 CVEs |
before 6.8.8.1-71.85.1 | 6.8.8.1-71.85.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 4 CVEs |
before 6.4.3.6-78.79.1 | 6.4.3.6-78.79.1 |
ImageMagickSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 4 CVEs |
before 6.4.3.6-78.79.1 | 6.4.3.6-78.79.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 4 CVEs |
before 6.4.3.6-78.79.1 | 6.4.3.6-78.79.1 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 8 CVEs |
before 1.2.5-78.78.1 | 1.2.5-78.78.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 From an advisory covering 8 CVEs |
before 1.2.5-78.78.1 | 1.2.5-78.78.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-14997 is a medium vulnerability (CVSS 6.5) in Graphicsmagick, published October 3, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.39%, the 88th percentile. Fixed in graphicsmagick 1.3.26-13.
References
hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset%3Bnode=0683f8724200
debian.org/security/2018/dsa-4321
securityfocus.com/bid/101183
sourceforge.net/p/graphicsmagick/bugs/511
lists.debian.org/debian-lts-announce/2018/08/msg00002.html
sourceforge.net/p/graphicsmagick/code/ci/0683f8724200495059606c03f04e0d589b33ebe8
Show 47 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ
usn.ubuntu.com/4232-1
nvd.nist.gov/vuln/detail/CVE-2017-14997
hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset;node=0683f8724200
lists.fedoraproject.org/archives/list/[email protected]/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV
lists.fedoraproject.org/archives/list/[email protected]/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ
github.com/advisories/GHSA-f9r8-4r5p-xq44
security-tracker.debian.org/tracker/CVE-2017-14997
suse.com/support/update/announcement/2018/suse-su-20183465-1
bugzilla.suse.com/1107609
bugzilla.suse.com/1112399
suse.com/security/cve/CVE-2017-14997
suse.com/security/cve/CVE-2018-16644
suse.com/support/update/announcement/2018/suse-su-20183808-1
bugzilla.suse.com/1050129
bugzilla.suse.com/1050635
suse.com/security/cve/CVE-2017-11532
suse.com/security/cve/CVE-2017-11639
suse.com/support/update/announcement/2019/suse-su-201913923-1
bugzilla.suse.com/1042911
bugzilla.suse.com/1052754
bugzilla.suse.com/1078433
bugzilla.suse.com/1112392
bugzilla.suse.com/1113064
bugzilla.suse.com/1119822
bugzilla.suse.com/1119823
suse.com/security/cve/CVE-2017-10794
suse.com/security/cve/CVE-2017-12663
suse.com/security/cve/CVE-2017-9405
suse.com/security/cve/CVE-2018-18544
suse.com/security/cve/CVE-2018-20184
suse.com/security/cve/CVE-2018-20185
suse.com/security/cve/CVE-2018-6405
ubuntu.com/security/CVE-2017-14997
ubuntu.com/security/notices/USN-4232-1
cve.org/CVERecord?id=CVE-2017-14997
ubuntu.com/security/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-15277
ubuntu.com/security/CVE-2017-15930
ubuntu.com/security/CVE-2017-16352
ubuntu.com/security/CVE-2017-16353