Improper Input Validation Affecting graphicsmagick package, versions <1.3.24-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.18% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GRAPHICSMAGICK-19165965
  • published22 Aug 2026
  • disclosed27 Feb 2017

Introduced: 27 Feb 2017

CVE-2016-5240  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Echo:latest graphicsmagick to version 1.3.24-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream graphicsmagick package and not the graphicsmagick package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1