CVE-2016-5241: Medium severity GraphicsMagick Graphicsmagick vulnerability

Published May 5, 2016
·
Updated

magick/render.c in GraphicsMagick before 1.3.24 allows remote attackers to cause a denial of service (arithmetic exception and application crash) via a crafted svg file.

Other sources

Two vulnerabilities were found in GraphicsMagick, both resulting in DoS.

Infinite loop caused by converting a circularly defined svg file.

Upstream patch:

http://hg.code.sf.net/p/graphicsmagick/code/rev/ddc999ec896c

Arithmetic exception converting a svg file caused by a X%0 operation in magick/render.c:3800

(long) (y-fillpattern->tileinfo.y) % fillpattern->rows,

Upstream patch:

http://hg.code.sf.net/p/graphicsmagick/code/rev/8d175c4edfe7

References (containing reproducers):

http://seclists.org/oss-sec/2016/q2/180

Red Hat

Affected Software

4 affected components
GraphicsMagick Graphicsmagick<=1.3.23
Debian Debian Linux=8.0
openSUSE Leap=42.1
openSUSE openSUSE=13.2

Event History

May 5, 2016
Data Sourced
via Red Hat·12:41 PM
DescriptionSeverityAffected Software
Feb 3, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-5241?

CVE-2016-5241 has a severity rating classified under denial of service, which can result in application crashes.

2

How do I fix CVE-2016-5241?

To fix CVE-2016-5241, you should upgrade to GraphicsMagick version 1.3.24 or later.

3

What types of attacks does CVE-2016-5241 allow?

CVE-2016-5241 allows remote attackers to exploit crafted SVG files to cause a denial of service.

4

Which versions of GraphicsMagick are affected by CVE-2016-5241?

GraphicsMagick versions prior to 1.3.24 are affected by CVE-2016-5241.

5

Which operating systems are impacted by CVE-2016-5241?

CVE-2016-5241 impacts Debian GNU/Linux 8.0 and various versions of openSUSE.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203