CVE-2016-5240: Input Validation

Published May 5, 2016
·
Updated

A vulnerability was found in ImageMagick. Conversion of a circularly defined svg file could cause the application to go into infinite loop.

References:

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

Other sources

The DrawDashPolygon function in magick/render.c in GraphicsMagick before 1.3.24 and the SVG renderer in ImageMagick allow remote attackers to cause a denial of service (infinite loop) by converting a circularly defined SVG file.

MITRE

Affected Software

1 affected component
GraphicsMagick Graphicsmagick<=1.3.23

Event History

May 5, 2016
Data Sourced
via Red Hat·01:01 PM
DescriptionSeverityAffected Software
Feb 27, 2017
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·10:59 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-5240?

CVE-2016-5240 is classified as a denial of service vulnerability.

2

How do I fix CVE-2016-5240?

To fix CVE-2016-5240, upgrade GraphicsMagick to version 1.3.24 or later.

3

What type of attacks can CVE-2016-5240 be exploited for?

CVE-2016-5240 can be exploited by remote attackers to create an infinite loop leading to denial of service.

4

Which software versions are affected by CVE-2016-5240?

CVE-2016-5240 affects GraphicsMagick versions prior to 1.3.24.

5

Is CVE-2016-5240 present in ImageMagick as well?

Yes, CVE-2016-5240 is also present in the SVG renderer in ImageMagick.

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