CVE-2018-18544
published 2018-10-21CVE-2018-18544: There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMagick 7.0.8-13 Q16, and the function ProcessMSLScript of coders/msl.c in…
PriorityP423medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
2.02%
78.9th percentile
There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMagick 7.0.8-13 Q16, and the function ProcessMSLScript of coders/msl.c in GraphicsMagick before 1.3.31.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | graphicsmagick | < graphicsmagick 1.3.31-1 (bookworm) | graphicsmagick 1.3.31-1 (bookworm) |
| debian | imagemagick | < graphicsmagick 1.3.31-1 (bookworm) | graphicsmagick 1.3.31-1 (bookworm) |
| graphicsmagick | graphicsmagick | < 1.3.31 | 1.3.31 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.31-1 | 1.3.31-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.31-1 | 1.3.31-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.31-1 | 1.3.31-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.31-1 | 1.3.31-1 |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.14+dfsg-1 | 8:6.9.10.14+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.14+dfsg-1 | 8:6.9.10.14+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.14+dfsg-1 | 8:6.9.10.14+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.14+dfsg-1 | 8:6.9.10.14+dfsg-1 |
| opensuse | leap | — | — |
| ubuntu | imagemagick | — | — |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2026-05-11·CVSS 6.5
CVE-2026-25898 [MEDIUM] ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
It was discovered that ImageMagick incorrectly handled certain malformed
image files in certain instances. If a user or automated system using
ImageMagick were tricked into opening a specially crafted image, an
attacker could possibly use these issues to cause a denial of service or
possibly execute code. These issues only affected Ubuntu 14.04 LTS.
(CVE-2018-15607, CVE-2018-18544, CVE-2019-13137, CVE-2019-13391,
CVE-2019-13391)
It was discovered that ImageMagick incorrectly handled certain malformed
image files in certain instances. If a user or automated system using
ImageMagick were tricked into opening a specially crafted image, an
attacker could possibly use these issues to cause a denial
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2019-06-25
CVE-2017-12805 ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
It was discovered that ImageMagick incorrectly handled certain malformed
image files. If a user or automated system using ImageMagick were tricked
into opening a specially crafted image, an attacker could exploit this to
cause a denial of service or possibly execute code with the privileges of
the user invoking the program.
Due to a large number of issues discovered in GhostScript that prevent it
from being used by ImageMagick safely, the update for Ubuntu 18.10 and
Ubuntu 19.04 includes a default policy change that disables support for the
Postscript and PDF formats in ImageMagick. This policy can be overridden if
necessary by using an alternate ImageMagick policy configuration.
Instructions
Red Hat
ImageMagick: memory leak in WriteMSLImage of coders/msl.c
vendor_redhat·2018-10-19·CVSS 6.5
CVE-2018-18544 [MEDIUM] CWE-400 ImageMagick: memory leak in WriteMSLImage of coders/msl.c
ImageMagick: memory leak in WriteMSLImage of coders/msl.c
There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMagick 7.0.8-13 Q16, and the function ProcessMSLScript of coders/msl.c in GraphicsMagick before 1.3.31.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Debian
CVE-2018-18544: graphicsmagick - There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMag...
vendor_debian·2018·CVSS 6.5
CVE-2018-18544 [MEDIUM] CVE-2018-18544: graphicsmagick - There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMag...
There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMagick 7.0.8-13 Q16, and the function ProcessMSLScript of coders/msl.c in GraphicsMagick before 1.3.31.
Scope: local
bookworm: resolved (fixed in 1.3.31-1)
bullseye: resolved (fixed in 1.3.31-1)
forky: resolved (fixed in 1.3.31-1)
sid: resolved (fixed in 1.3.31-1)
trixie: resolved (fixed in 1.3.31-1)
GHSA
GHSA-w2cq-hjvv-8q4h: There is a memory leak in the function WriteMSLImage of coders/msl
ghsa_unreviewed·2022-05-13
CVE-2018-18544 [MEDIUM] CWE-772 GHSA-w2cq-hjvv-8q4h: There is a memory leak in the function WriteMSLImage of coders/msl
There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMagick 7.0.8-13 Q16, and the function ProcessMSLScript of coders/msl.c in GraphicsMagick before 1.3.31.
OSV
CVE-2018-18544: There is a memory leak in the function WriteMSLImage of coders/msl
osv·2018-10-21·CVSS 6.5
CVE-2018-18544 [MEDIUM] CVE-2018-18544: There is a memory leak in the function WriteMSLImage of coders/msl
There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMagick 7.0.8-13 Q16, and the function ProcessMSLScript of coders/msl.c in GraphicsMagick before 1.3.31.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-18544 ImageMagick: memory leak in WriteMSLImage of coders/msl.c [fedora-all]
bugzilla·2018-10-24·CVSS 6.5
CVE-2018-18544 [MEDIUM] CVE-2018-18544 ImageMagick: memory leak in WriteMSLImage of coders/msl.c [fedora-all]
CVE-2018-18544 ImageMagick: memory leak in WriteMSLImage of coders/msl.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2018-18544 ImageMagick: memory leak in WriteMSLImage of coders/msl.c
bugzilla·2018-10-24·CVSS 6.5
CVE-2018-18544 [MEDIUM] CVE-2018-18544 ImageMagick: memory leak in WriteMSLImage of coders/msl.c
CVE-2018-18544 ImageMagick: memory leak in WriteMSLImage of coders/msl.c
A flaw was found in ImageMagick 7.0.8-13 Q16. A memory leak in the function WriteMSLImage of coders/msl.c.
References:
https://github.com/ImageMagick/ImageMagick/issues/1360
Upstream Patch:
https://github.com/ImageMagick/ImageMagick/commit/c9c4ef4e7ca83d8a00effd16723f37946e89fbad
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1642615]
---
RHEL7:
```
==11842== Memcheck, a memory error detector
==11842== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==11842== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==11842== Command: convert poc test.msl
==11842==
convert: unable to read font `poc' @ error/annotate.c/RenderFreetype/1361.
conve
http://hg.code.sf.net/p/graphicsmagick/code/file/233618f8fe82/ChangeLoghttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.htmlhttps://github.com/ImageMagick/ImageMagick/issues/1360https://usn.ubuntu.com/4034-1/http://hg.code.sf.net/p/graphicsmagick/code/file/233618f8fe82/ChangeLoghttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.htmlhttps://github.com/ImageMagick/ImageMagick/issues/1360https://usn.ubuntu.com/4034-1/
2018-10-21
Published