CVE-2016-5240: GraphicsMagick & ImageMagick - Denial of Service
- Cve: CVE-2016-5240
- Name: GraphicsMagick & ImageMagick - Denial of Service
- Description: 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.
- Impact: Remote attackers can cause a denial of service by triggering an infinite loop during SVG processing.
- Remediation: Update to GraphicsMagick 1.3.24 or later, and the latest version of ImageMagick.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.02177
- Epss percentile: 0.82795
- Assignee: [email protected]
- Published at: 2017-02-27T22:59:00Z
- Age in days: 3557
- Modified at: 2026-06-17T00:49:01Z
- References total: 9
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-5240
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.graphicsmagick.org/ChangeLog-2016.html | Release Notes, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2016/05/01/4 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2016/05/01/6 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2016/06/02/14 | Mailing List, Third Party Advisory |
| http://www.securityfocus.com/bid/89348 | Third Party Advisory, VDB Entry |
| http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset%3Bnode=ddc999ec896c | |
| http://www.debian.org/security/2016/dsa-3746 | |
| http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html | |
| https://access.redhat.com/errata/RHSA-2016:1237 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| graphicsmagick:graphicsmagick | <= 1.3.23 | no | nvd | /v1/products/graphicsmagick/graphicsmagick |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts