Every CVE Search/ Get API key

CVE-2017-18229

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found...

6.5 MediumFix available

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations.

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

2.27%Up 0.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations.

Record
CVE-2017-18229
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-770
Updated
2026-11-02
CVE List No score

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations.

Record
CVE-2017-18229
Updated
2026-11-02
EUVDEUVD-2017-9361 No score

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations.

Record
EUVD-2017-9361
Updated
2026-11-03
GitHub AdvisoriesGHSA-gmqc-66m4-mcgh 6.5

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found...

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations.

Record
GHSA-gmqc-66m4-mcgh
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-11-02
OSV 6.5

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations.

Record
CVE-2017-18229
CVSS 3.0
6.5 MediumCVSS: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-18229 6.5

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations.

Record
DEBIAN-CVE-2017-18229
CVSS 3.0
6.5 MediumCVSS: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-18229 6.5

An issue was discovered in GraphicsMagick 1.3.26. An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations.

Record
UBUNTU-CVE-2017-18229
CVSS 3.0
6.5 MediumCVSS: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:1163-1 No score

Security update for GraphicsMagick

This update for GraphicsMagick fixes the following issues:

  • CVE-2017-18229: An allocation failure vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which could allows attackers to cause a denial of service via a crafted file, because file size is not properly used to restrict scanline, strip, and tile allocations. [bsc#1085236]
  • CVE-2017-11641: A memory Leak in the PersistCache function in magick/pixel_cache.c during writing of Magick Persistent Cache (MPC) files could lead to denial of servic3. [bsc#1050623]
  • CVE-2017-13066: A memory leak vulnerability in the function CloneImage in magick/image.c could lead to denial of service [bsc#1055010]
  • CVE-2018-10177: An infinite loop when reading MNG was fixed which could lead to a denial of service (hang) [bsc#1089781]
Record
SUSE-SU-2018:1163-1
Updated
2026-11-02
OSVUSN-4266-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-4266-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
graphicsmagick
Debian:12
before 1.3.27-1
1.3.27-1
graphicsmagick
Debian:13
before 1.3.27-1
1.3.27-1
graphicsmagick
Debian:14
before 1.3.27-1
1.3.27-1
graphicsmagick
Debian:7
From an advisory covering 6 CVEs
before 1.3.16-1.1+deb7u19, plus listed versions
1.3.16-1.11.3.16-1.1+deb7u11.3.16-1.1+deb7u101.3.16-1.1+deb7u111.3.16-1.1+deb7u12
Show 14 moreShow less
1.3.16-1.1+deb7u131.3.16-1.1+deb7u141.3.16-1.1+deb7u151.3.16-1.1+deb7u161.3.16-1.1+deb7u171.3.16-1.1+deb7u181.3.16-1.1+deb7u21.3.16-1.1+deb7u31.3.16-1.1+deb7u41.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+deb7u19
graphicsmagick
Debian: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
graphicsmagick
Debian: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 less
1.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
GraphicsMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 4 CVEs
before 1.2.5-78.52.1
1.2.5-78.52.1
GraphicsMagick
SUSE:Studio Onsite 1.3
From an advisory covering 4 CVEs
before 1.2.5-78.52.1
1.2.5-78.52.1
graphicsmagick
Ubuntu:Pro:14.04:LTS
before 1.3.18-1ubuntu3.1+esm6, plus listed versions
1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm1
Show 4 moreShow less
1.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm41.3.18-1ubuntu3.1+esm5
1.3.18-1ubuntu3.1+esm6
graphicsmagick
Ubuntu:16.04:LTS
before 1.3.23-1ubuntu0.6, plus listed versions
1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.5
1.3.23-1ubuntu0.6
graphicsmagick
Ubuntu:16.04:LTS
From an advisory covering 7 CVEs
before 1.3.23-1ubuntu0.6, plus listed versions
1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.5
1.3.23-1ubuntu0.6

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-18229 is a medium vulnerability (CVSS 6.5) in Graphicsmagick, published March 14, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.27%, the 83rd percentile. Fixed in graphicsmagick 1.3.27-1.

References

Show 21 moreShow less
MoveEnter Open