The DrawDashPolygon function in magick/render.c in GraphicsMagick before 1.3.24 and the…
Priority LOW 29CWE-20Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 14 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
EPSS 0.02177 82nd percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 14 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:* | up to 1.3.23 | Vulnerable | GraphicsMagick |
- cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:* Versions up to 1.3.23 Vulnerable ·GraphicsMagick
Remediation
Red Hat 1 advisory
- RHSA-2016:1237 Released 2016-06-16 · Red Hat rating ImportantImageMagick security update
- Red Hat Enterprise Linux Client (v. 7) ImageMagick-6.7.8.9-15.el7_2, ImageMagick-c++-6.7.8.9-15.el7_2
- Red Hat Enterprise Linux Client Optional (v. 7) ImageMagick-c++-devel-6.7.8.9-15.el7_2, ImageMagick-devel-6.7.8.9-15.el7_2, ImageMagick-doc-6.7.8.9-15.el7_2 +1
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) ImageMagick-6.7.8.9-15.el7_2, ImageMagick-c++-6.7.8.9-15.el7_2, ImageMagick-c++-devel-6.7.8.9-15.el7_2 +3
- Red Hat Enterprise Linux Desktop (v. 6) ImageMagick-6.7.2.7-5.el6_8, ImageMagick-c++-6.7.2.7-5.el6_8
- Red Hat Enterprise Linux Desktop Optional (v. 6) ImageMagick-c++-6.7.2.7-5.el6_8, ImageMagick-c++-devel-6.7.2.7-5.el6_8, ImageMagick-devel-6.7.2.7-5.el6_8 +2
- Red Hat Enterprise Linux HPC Node Optional (v. 6) ImageMagick-6.7.2.7-5.el6_8, ImageMagick-c++-6.7.2.7-5.el6_8, ImageMagick-c++-devel-6.7.2.7-5.el6_8 +3
- Red Hat Enterprise Linux Server (v. 6) ImageMagick-6.7.2.7-5.el6_8, ImageMagick-6.7.2.7-5.el6_8.ppc, ImageMagick-c++-6.7.2.7-5.el6_8
- Red Hat Enterprise Linux Server (v. 7) ImageMagick-6.7.8.9-15.el7_2, ImageMagick-6.7.8.9-15.el7_2.ppc, ImageMagick-c++-6.7.8.9-15.el7_2 +1
- Red Hat Enterprise Linux Server Optional (v. 6) ImageMagick-c++-6.7.2.7-5.el6_8, ImageMagick-c++-6.7.2.7-5.el6_8.ppc, ImageMagick-c++-devel-6.7.2.7-5.el6_8 +5
- Red Hat Enterprise Linux Server Optional (v. 7) ImageMagick-c++-6.7.8.9-15.el7_2, ImageMagick-c++-6.7.8.9-15.el7_2.ppc, ImageMagick-c++-devel-6.7.8.9-15.el7_2 +4
- Red Hat Enterprise Linux Workstation (v. 6) ImageMagick-6.7.2.7-5.el6_8, ImageMagick-c++-6.7.2.7-5.el6_8
- Red Hat Enterprise Linux Workstation (v. 7) ImageMagick-6.7.8.9-15.el7_2, ImageMagick-c++-6.7.8.9-15.el7_2, ImageMagick-perl-6.7.8.9-15.el7_2
- Red Hat Enterprise Linux Workstation Optional (v. 6) ImageMagick-c++-6.7.2.7-5.el6_8, ImageMagick-c++-devel-6.7.2.7-5.el6_8, ImageMagick-devel-6.7.2.7-5.el6_8 +2
- Red Hat Enterprise Linux Workstation Optional (v. 7) ImageMagick-c++-devel-6.7.8.9-15.el7_2, ImageMagick-devel-6.7.8.9-15.el7_2, ImageMagick-doc-6.7.8.9-15.el7_2
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Enterprise 2 | Affected | — |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:1237 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-5240
- 2026-10-03 Alias added: GHSA-96q6-wwhr-92h9
References
Advisory 6
- RHSA-2016:1237
- [oss-security] 20160501 CVE request: DoS in multiple versions of GraphicsMagick
- [oss-security] 20160602 Re: CVE request: DoS in multiple versions of GraphicsMagick
- DSA-3746
- [oss-security] 20160501 Re: CVE request: DoS in multiple versions of GraphicsMagick
- http://www.graphicsmagick.org/ChangeLog-2016.html
More Graphicsmagick vulnerabilities
- TI-2016-04424 The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows… CVSS 3.1CRITICAL 9.8
- TI-2022-01155 In GraphicsMagick, a heap buffer overflow was found when parsing MIFF. CVSS 3.1HIGH 7.8
- TI-2017-10271 The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick 1.3.26… CVSS 3.0HIGH 8.8
- TI-2017-08430 The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order… CVSS 3.0HIGH 8.8
- TI-2017-09581 The ReadWMFImage function in coders/wmf.c in GraphicsMagick 1.3.26 has a use-after-free… CVSS 3.0HIGH 8.8
- TI-2020-14139 Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4… CVSS 3.1MEDIUM 5.5
Sources
- CVE-2016-5240 · CVE Program
- CVE-2016-5240 · NVD
- FIRST EPSS
- GHSA-96q6-wwhr-92h9 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-5240 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences