CVE-2016-2317
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of...
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
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
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
- Record
CVE-2016-2317- 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-119
- Updated
- 2026-11-02
CVE List No score
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
- Record
CVE-2016-2317- Updated
- 2026-11-02
EUVDEUVD-2016-3401 No score
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
- Record
EUVD-2016-3401- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m3pg-gr36-c7qj
5.5
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of...
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
- Record
GHSA-m3pg-gr36-c7qj- 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-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-2317
5.5
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
- Record
ALPINE-CVE-2016-2317- 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-03
OSV
5.5
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
- Record
CVE-2016-2317- 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
OSVDEBIAN-CVE-2016-2317
5.5
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
- Record
DEBIAN-CVE-2016-2317- 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
OSVUBUNTU-CVE-2016-2317
5.5
Multiple buffer overflows in GraphicsMagick 1.3.23 allow remote attackers to cause a denial of service (crash) via a crafted SVG file, related to the (1) TracePoint function in magick/render.c, (2) GetToken function in magick/utility.c, and (3) GetTransformTokens function in coders/svg.c.
- Record
UBUNTU-CVE-2016-2317- 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-2016-0252 No score
Updated graphicsmagick packages fix security vulnerability
-
A read out-of-bound in the parsing of gif files using GraphicsMagick (CVE-2015-8808).
-
Infinite loop caused by converting a circularly defined svg file (CVE-2016-5240).
-
Fix another case of CVE-2016-2317 (heap buffer overflow) in the MVG rendering code (also impacts SVG).
-
arithmetic exception converting a svg file (CVE-2016-5241)
-
Arithmetic exception converting a svg file caused by a X%0 operation in magick/render.c (CVE-2016-2318)
-
A shell exploit (CVE-2016-5118) was discovered associated with a filename syntax where file names starting with '|' are intepreted as shell commands executed via popen(). Insufficient sanitization in the SVG and MVG renderers allows such filenames to be passed through from potentially untrusted files. There might be other ways for untrusted inputs to produce such filenames. Due to this issue, support for the feature is removed entirely.
The gnudl, octave, pdf2djvu, and photoqt packages have been rebuilt to use the updated GraphicsMagick++ library.
- Record
MGASA-2016-0252- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10505-1 No score
GraphicsMagick-1.3.25-1.1 on GA media
These are all security issues fixed in the GraphicsMagick-1.3.25-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10505-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:1783-1 No score
Security update for GraphicsMagick
GraphicsMagick was updated to fix 37 security issues.
These security issues were fixed:
- CVE-2014-9810: SEGV in dpx file handler (bsc#983803).
- CVE-2014-9811: Crash in xwd file handler (bsc#984032).
- CVE-2014-9813: Crash on corrupted viff file (bsc#984035).
- CVE-2014-9814: NULL pointer dereference in wpg file handling (bsc#984193).
- CVE-2014-9815: Crash on corrupted wpg file (bsc#984372).
- CVE-2014-9816: Out of bound access in viff image (bsc#984398).
- CVE-2014-9817: Heap buffer overflow in pdb file handling (bsc#984400).
- CVE-2014-9818: Out of bound access on malformed sun file (bsc#984181).
- CVE-2014-9819: Heap overflow in palm files (bsc#984142).
- CVE-2014-9830: Handling of corrupted sun file (bsc#984135).
- CVE-2014-9831: Handling of corrupted wpg file (bsc#984375).
- CVE-2014-9837: Additional PNM sanity checks (bsc#984166).
- CVE-2014-9834: Heap overflow in pict file (bsc#984436).
- CVE-2014-9853: Memory leak in rle file handling (bsc#984408).
- CVE-2015-8903: Denial of service (cpu) in vicar (bsc#983259).
- CVE-2015-8901: MIFF file DoS (endless loop) (bsc#983234).
- CVE-2016-5688: Various invalid memory reads in ImageMagick WPG (bsc#985442).
- CVE-2015-8894: Double free in coders/tga.c:221 (bsc#983523).
- CVE-2015-8896: Double free / integer truncation issue in coders/pict.c:2000 (bsc#983533).
- CVE-2014-9807: Double free in pdb coder. (bsc#983794).
- CVE-2014-9828: Corrupted (too many colors) psd file (bsc#984028).
- CVE-2014-9805: SEGV due to a corrupted pnm file (bsc#983752).
- CVE-2014-9808: SEGV due to corrupted dpc images (bsc#983796).
- CVE-2014-9820: Heap overflow in xpm files (bsc#984150).
- CVE-2014-9839: Theoretical out of bound access in magick/colormap-private.h (bsc#984379).
- CVE-2014-9809: SEGV due to corrupted xwd images. (bsc#983799).
- CVE-2016-5240: SVG converting issue resulting in DoS (endless loop) (bsc#983309).
- CVE-2014-9840: Out of bound access in palm file (bsc#984433).
- CVE-2014-9847: Incorrect handling of 'previous' image in the JNG decoder (bsc#984144).
- CVE-2016-5241: Arithmetic exception (div by 0) in SVG conversion (bsc#983455).
- CVE-2014-9845: Crash due to corrupted dib file (bsc#984394).
- CVE-2014-9844: Out of bound issue in rle file (bsc#984373).
- CVE-2014-9835: Heap overflow in wpf file (bsc#984145).
- CVE-2014-9829: Out of bound access in sun file (bsc#984409).
- CVE-2014-9846: Added checks to prevent overflow in rle file. (bsc#983521).
- CVE-2016-2317: Multiple vulnerabilities when parsing and processing SVG files (bsc#965853).
- CVE-2016-2318: Multiple vulnerabilities when parsing and processing SVG files (bsc#965853).
- Record
SUSE-SU-2016:1783-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickAlpine:v3.10 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.11 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.12 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.13 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.14 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.15 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.16 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.17 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.18 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.19 |
before 1.3.30-r0 | 1.3.30-r0 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickAlpine:v3.20 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.21 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.22 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.23 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickAlpine:v3.24 |
before 1.3.30-r0 | 1.3.30-r0 |
graphicsmagickDebian:12 |
before 1.3.24-1 | 1.3.24-1 |
graphicsmagickDebian:13 |
before 1.3.24-1 | 1.3.24-1 |
graphicsmagickDebian:14 |
before 1.3.24-1 | 1.3.24-1 |
graphicsmagickDebian:7 |
before 1.3.16-1.1+deb7u1, plus listed versions 1.3.16-1.1 |
1.3.16-1.1+deb7u1 |
graphicsmagickDebian:8 |
before 1.3.20-3+deb8u2, plus listed versions 1.3.20-3+deb8u1 |
1.3.20-3+deb8u2 |
graphicsmagickMageia:5 |
before 1.3.24-1.2.mga5 | 1.3.24-1.2.mga5 |
gnudlMageia:5 |
before 0.9.5-2.1.mga5 | 0.9.5-2.1.mga5 |
octaveMageia:5 |
before 3.8.2-3.1.mga5 | 3.8.2-3.1.mga5 |
pdf2djvuMageia:5 |
before 0.7.17-4.1.mga5 | 0.7.17-4.1.mga5 |
photoqtMageia:5 |
before 1.0-4.1.mga5 | 1.0-4.1.mga5 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 1.2.5-4.41.1 | 1.2.5-4.41.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 |
before 1.2.5-4.41.1 | 1.2.5-4.41.1 |
graphicsmagickUbuntu:14.04:LTS |
before 1.3.18-1ubuntu3.1, plus listed versions 1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu3 |
1.3.18-1ubuntu3.1 |
graphicsmagickUbuntu:16.04:LTS |
before 1.3.23-1ubuntu0.1, plus listed versions 1.3.21-31.3.23-11.3.23-1build1 |
1.3.23-1ubuntu0.1 |
GraphicsMagickopenSUSE:Tumbleweed |
before 1.3.25-1.1 | 1.3.25-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| 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-2016-2317 is a medium vulnerability (CVSS 5.5) in Graphicsmagick, published May 21, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.01%, the 80th percentile. Fixed in graphicsmagick 1.3.30-r0.
References
lists.opensuse.org/opensuse-security-announce/2016-08/msg00037.html
lists.opensuse.org/opensuse-security-announce/2016-07/msg00000.html
bugzilla.redhat.com/show_bug.cgi?id=1306148
openwall.com/lists/oss-security/2016/05/31/3
securityfocus.com/bid/83241
openwall.com/lists/oss-security/2016/05/20/4
Show 103 moreShow less
openwall.com/lists/oss-security/2016/05/27/4
debian.org/security/2016/dsa-3746
lists.opensuse.org/opensuse-security-announce/2016-07/msg00010.html
openwall.com/lists/oss-security/2016/09/18/8
openwall.com/lists/oss-security/2016/02/11/6
openwall.com/lists/oss-security/2016/09/07/4
nvd.nist.gov/vuln/detail/CVE-2016-2317
github.com/advisories/GHSA-m3pg-gr36-c7qj
security.alpinelinux.org/vuln/CVE-2016-2317
security-tracker.debian.org/tracker/CVE-2016-2317
advisories.mageia.org/MGASA-2016-0252.html
bugs.mageia.org/show_bug.cgi?id=17714
openwall.com/lists/oss-security/2016/05/01/6
openwall.com/lists/oss-security/2016/02/06/3
lwn.net/Vulnerabilities/677107
openwall.com/lists/oss-security/2016/05/30/1
graphicsmagick.org/NEWS.html
suse.com/support/update/announcement/2016/suse-su-20161783-1
bugzilla.suse.com/965853
bugzilla.suse.com/983234
bugzilla.suse.com/983259
bugzilla.suse.com/983309
bugzilla.suse.com/983455
bugzilla.suse.com/983521
bugzilla.suse.com/983523
bugzilla.suse.com/983533
bugzilla.suse.com/983752
bugzilla.suse.com/983794
bugzilla.suse.com/983796
bugzilla.suse.com/983799
bugzilla.suse.com/983803
bugzilla.suse.com/984028
bugzilla.suse.com/984032
bugzilla.suse.com/984035
bugzilla.suse.com/984135
bugzilla.suse.com/984142
bugzilla.suse.com/984144
bugzilla.suse.com/984145
bugzilla.suse.com/984150
bugzilla.suse.com/984166
bugzilla.suse.com/984181
bugzilla.suse.com/984193
bugzilla.suse.com/984372
bugzilla.suse.com/984373
bugzilla.suse.com/984375
bugzilla.suse.com/984379
bugzilla.suse.com/984394
bugzilla.suse.com/984398
bugzilla.suse.com/984400
bugzilla.suse.com/984408
bugzilla.suse.com/984409
bugzilla.suse.com/984433
bugzilla.suse.com/984436
bugzilla.suse.com/985442
suse.com/security/cve/CVE-2014-9805
suse.com/security/cve/CVE-2014-9807
suse.com/security/cve/CVE-2014-9808
suse.com/security/cve/CVE-2014-9809
suse.com/security/cve/CVE-2014-9810
suse.com/security/cve/CVE-2014-9811
suse.com/security/cve/CVE-2014-9813
suse.com/security/cve/CVE-2014-9814
suse.com/security/cve/CVE-2014-9815
suse.com/security/cve/CVE-2014-9816
suse.com/security/cve/CVE-2014-9817
suse.com/security/cve/CVE-2014-9818
suse.com/security/cve/CVE-2014-9819
suse.com/security/cve/CVE-2014-9820
suse.com/security/cve/CVE-2014-9828
suse.com/security/cve/CVE-2014-9829
suse.com/security/cve/CVE-2014-9830
suse.com/security/cve/CVE-2014-9831
suse.com/security/cve/CVE-2014-9834
suse.com/security/cve/CVE-2014-9835
suse.com/security/cve/CVE-2014-9837
suse.com/security/cve/CVE-2014-9839
suse.com/security/cve/CVE-2014-9840
suse.com/security/cve/CVE-2014-9844
suse.com/security/cve/CVE-2014-9845
suse.com/security/cve/CVE-2014-9846
suse.com/security/cve/CVE-2014-9847
suse.com/security/cve/CVE-2014-9853
suse.com/security/cve/CVE-2015-8894
suse.com/security/cve/CVE-2015-8896
suse.com/security/cve/CVE-2015-8901
suse.com/security/cve/CVE-2015-8903
suse.com/security/cve/CVE-2016-2317
suse.com/security/cve/CVE-2016-2318
suse.com/security/cve/CVE-2016-5240
suse.com/security/cve/CVE-2016-5241
suse.com/security/cve/CVE-2016-5688
ubuntu.com/security/CVE-2016-2317
bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2317
seclists.org/oss-sec/2016/q1/297
cve.org/CVERecord?id=CVE-2016-2317
suse.com/security/cve/CVE-2009-1882
suse.com/security/cve/CVE-2009-3736
suse.com/security/cve/CVE-2012-3438
suse.com/security/cve/CVE-2016-3714
suse.com/security/cve/CVE-2016-3715
suse.com/security/cve/CVE-2016-3717
suse.com/security/cve/CVE-2016-3718
suse.com/security/cve/CVE-2016-5118