CVE-2017-6335
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows...
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- 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
5.5
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
- Record
CVE-2017-6335- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/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
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
- Record
CVE-2017-6335- Updated
- 2026-11-02
EUVDEUVD-2017-15396 No score
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
- Record
EUVD-2017-15396- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fw22-8f9r-x377
5.5
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows...
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
- Record
GHSA-fw22-8f9r-x377- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
5.5
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
- Record
CVE-2017-6335- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-6335
5.5
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
- Record
DEBIAN-CVE-2017-6335- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/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-6335
5.5
The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
- Record
UBUNTU-CVE-2017-6335- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0229 No score
Updated graphicsmagick packages fix security vulnerabilities
New stable upstream release including security fixes for CVE-2016-7800, CVE-2016-7996, CVE-2016-7997, CVE-2016-8682, CVE-2016-8683, CVE-2016-8684, CVE-2016-9830, CVE-2017-6335, CVE-2017-8350, CVE-2017-10794, CVE-2017-10799, CVE-2017-10800, CVE-2017-11403 and possibly several other security issues with and without associated CVE number.
- Record
MGASA-2017-0229- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10596-1 No score
GraphicsMagick-1.3.36-1.7 on GA media
These are all security issues fixed in the GraphicsMagick-1.3.36-1.7 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10596-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:0918-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
Security issue fixed:
- CVE-2017-6335: Heap out of bounds write issue when reading CMYKA TIFF files which claim to offer fewer samples per pixel than required (bsc#1027255).
- Record
SUSE-SU-2017:0918-1- Updated
- 2026-11-02
OSVUSN-4206-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. (CVE-2017-10794, CVE-2017-10799, CVE-2017-11102, CVE-2017-11140, CVE-2017-11403, CVE-2017-11636, CVE-2017-11637, CVE-2017-13147, CVE-2017-14042, CVE-2017-6335)
- Record
USN-4206-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickDebian:12 |
before 1.3.25-8 | 1.3.25-8 |
graphicsmagickDebian:13 |
before 1.3.25-8 | 1.3.25-8 |
graphicsmagickDebian:14 |
before 1.3.25-8 | 1.3.25-8 |
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 |
graphicsmagickMageia:5 From an advisory covering 13 CVEs |
before 1.3.26-1.1.mga5 | 1.3.26-1.1.mga5 |
graphicsmagickMageia:6 From an advisory covering 13 CVEs |
before 1.3.26-1.1.mga6 | 1.3.26-1.1.mga6 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 1.2.5-4.65.1 | 1.2.5-4.65.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 |
before 1.2.5-4.65.1 | 1.2.5-4.65.1 |
graphicsmagickUbuntu:16.04:LTS |
before 1.3.23-1ubuntu0.2, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.1 |
1.3.23-1ubuntu0.2 |
graphicsmagickUbuntu:16.04:LTS From an advisory covering 10 CVEs |
before 1.3.23-1ubuntu0.2, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.1 |
1.3.23-1ubuntu0.2 |
GraphicsMagickopenSUSE:Tumbleweed From an advisory covering 17 CVEs |
before 1.3.36-1.7 | 1.3.36-1.7 |
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-6335 is a medium vulnerability (CVSS 5.5) in Graphicsmagick, published March 14, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.93%, the 80th percentile. Fixed in graphicsmagick 1.3.25-8.
References
bugzilla.redhat.com/show_bug.cgi?id=1427975
openwall.com/lists/oss-security/2017/02/28/2
lists.debian.org/debian-lts-announce/2018/08/msg00002.html
securityfocus.com/bid/96544
sourceforge.net/p/graphicsmagick/code/ci/6156b4c2992d855ece6079653b3b93c3229fc4b8
usn.ubuntu.com/4206-1
Show 38 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-6335
github.com/advisories/GHSA-fw22-8f9r-x377
security-tracker.debian.org/tracker/CVE-2017-6335
advisories.mageia.org/MGASA-2017-0229.html
bugs.mageia.org/show_bug.cgi?id=19668
graphicsmagick.org/NEWS.html
bugzilla.redhat.com/show_bug.cgi?id=1472214
suse.com/support/update/announcement/2017/suse-su-20170918-1
bugzilla.suse.com/1027255
suse.com/security/cve/CVE-2017-6335
ubuntu.com/security/CVE-2017-6335
ubuntu.com/security/notices/USN-4206-1
cve.org/CVERecord?id=CVE-2017-6335
ubuntu.com/security/CVE-2017-10794
ubuntu.com/security/CVE-2017-10799
ubuntu.com/security/CVE-2017-11102
ubuntu.com/security/CVE-2017-11140
ubuntu.com/security/CVE-2017-11403
ubuntu.com/security/CVE-2017-11636
ubuntu.com/security/CVE-2017-11637
ubuntu.com/security/CVE-2017-13147
ubuntu.com/security/CVE-2017-14042
suse.com/security/cve/CVE-2006-3744
suse.com/security/cve/CVE-2006-5456
suse.com/security/cve/CVE-2007-1797
suse.com/security/cve/CVE-2007-4985
suse.com/security/cve/CVE-2007-4988
suse.com/security/cve/CVE-2008-1096
suse.com/security/cve/CVE-2008-1097
suse.com/security/cve/CVE-2016-7800
suse.com/security/cve/CVE-2016-7996
suse.com/security/cve/CVE-2016-7997
suse.com/security/cve/CVE-2016-9830
suse.com/security/cve/CVE-2017-10794
suse.com/security/cve/CVE-2017-10799
suse.com/security/cve/CVE-2017-10800
suse.com/security/cve/CVE-2017-8350
suse.com/security/cve/CVE-2020-12672