# CVE-2018-18544: imagemagick-common: There is a memory leak in the function WriteMSLImage of coders/msl.c in ImageMagick 7.0.8-13 Q16, and the function Pr...

CVE-2018-18544 is fixed in 21 products on 1 platform, first by imagemagick 8:6.9.7.4+dfsg-16ubuntu6.7, released September 23, 2019. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-18544
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0201
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 19, 2018

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | imagemagick Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [imagemagick 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-imagemagick-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | imagemagick-6-common Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [imagemagick-6-common 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-imagemagick-6-common-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | imagemagick-6.q16 Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [imagemagick-6.q16 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-imagemagick-6.q16-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | imagemagick-6.q16hdri Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [imagemagick-6.q16hdri 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-imagemagick-6.q16hdri-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | imagemagick-common Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [imagemagick-common 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-imagemagick-common-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libimage-magick-perl Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libimage-magick-perl 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libimage-magick-perl-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libimage-magick-q16-perl Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libimage-magick-q16-perl 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libimage-magick-q16-perl-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libimage-magick-q16hdri-perl Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libimage-magick-q16hdri-perl 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libimage-magick-q16hdri-perl-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagick++-6-headers Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagick++-6-headers 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagick-6-headers-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagick++-6.q16-7 Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagick++-6.q16-7 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagick-6.q16-7-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagick++-6.q16hdri-7 Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagick++-6.q16hdri-7 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagick-6.q16hdri-7-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickcore-6-arch-config Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickcore-6-arch-config 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickcore-6-arch-config-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickcore-6-headers Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickcore-6-headers 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickcore-6-headers-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickcore-6.q16-3 Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickcore-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickcore-6.q16-3-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickcore-6.q16-3-extra Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickcore-6.q16-3-extra 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickcore-6.q16-3-extra-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickcore-6.q16hdri-3 Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickcore-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickcore-6.q16hdri-3-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickcore-6.q16hdri-3-extra Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickcore-6.q16hdri-3-extra 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickcore-6.q16hdri-3-extra-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickwand-6-headers Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickwand-6-headers 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickwand-6-headers-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickwand-6.q16-3 Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickwand-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickwand-6.q16-3-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | libmagickwand-6.q16hdri-3 Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [libmagickwand-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libmagickwand-6.q16hdri-3-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |
| Linux | perlmagick Ubuntu 18.04.6 LTS (bionic) | 8:6.9.7.4+dfsg-16ubuntu6.7 | [perlmagick 8:6.9.7.4+dfsg-16ubuntu6.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-perlmagick-8-6.9.7.4-dfsg-16ubuntu6.7.md) | Sep 23, 2019 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
