# CVE-2016-5240

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2017-02-27 · Modified: 2024-08-06
- Aliases: UBUNTU-CVE-2016-5240, DEBIAN-CVE-2016-5240
- Record: https://cvemate.com/vulnerability/CVE-2016-5240 · JSON: https://cvemate.com/vulnerability/CVE-2016-5240/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.0, NVD) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 2.177%, percentile 82.942%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian graphicsmagick (Debian): \< 1.3.24-1
- ubuntu graphicsmagick (Ubuntu): \< 1.3.18-1ubuntu3.1 \| \< 1.3.23-1ubuntu0.1
- graphicsmagick graphicsmagick: ≤ 1.3.23

## References

- <https://access.redhat.com/errata/RHSA-2016:1237>
- <http://www.openwall.com/lists/oss-security/2016/05/01/4>
- <http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html>
- <http://www.securityfocus.com/bid/89348>
- <http://www.openwall.com/lists/oss-security/2016/06/02/14>
- <http://www.debian.org/security/2016/dsa-3746>
- <http://www.openwall.com/lists/oss-security/2016/05/01/6>
- <http://www.graphicsmagick.org/ChangeLog-2016.html>
- <http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset%3Bnode=ddc999ec896c>
- <https://ubuntu.com/security/CVE-2016-5240>
- <https://www.cve.org/CVERecord?id=CVE-2016-5240>
- <https://security-tracker.debian.org/tracker/CVE-2016-5240>

---

Data as of 2026-12-05T03:15:16.910Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
