Graphicsmagick · Graphicsmagick · CVE-2018-18544
**Name of the Vulnerable Software and Affected Versions**
ImageMagick versions 7.0.8 through 7.0.13
GraphicsMagick versions prior to 1.3.31
**Description**
The issue is related to a memory leak in the `WriteMSLImage` function of `coders/msl.c` in ImageMagick and the `ProcessMSLScript` function of `coders/msl.c` in GraphicsMagick.
**Recommendations**
For ImageMagick versions 7.0.8 through 7.0.13, update to a version outside of this range to resolve the issue.
For GraphicsMagick versions prior to 1.3.31, update to version 1.3.31 or later to fix the problem.
As a temporary workaround, consider restricting the use of the `WriteMSLImage` and `ProcessMSLScript` functions in `coders/msl.c` until a patch is available.