Memory leak in ImageMagick - CVE-2019-16709
Published: September 23, 2019 / Updated: July 28, 2020
Vulnerability identifier: #VU31998
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-16709
CWE-ID: CWE-401
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to memory leak within coders/dps.c, as demonstrated by XCreateImage. A remote attacker can perform a denial of service attack.
Affected software
ImageMagick
Amazon Linux AMI
Ubuntu
Opensuse
SUSE Linux
imagemagick (Alpine package)
imagemagick (Ubuntu package)
perlmagick (Ubuntu package)
libmagickwand5 (Ubuntu package)
libmagickwand-dev (Ubuntu package)
libmagickcore5-extra (Ubuntu package)
libmagickcore5 (Ubuntu package)
libmagickcore-dev (Ubuntu package)
libmagick++5 (Ubuntu package)
libmagick++-dev (Ubuntu package)
php70-pecl-imagick
php71-pecl-imagick
php72-pecl-imagick
php54-pecl-imagick
php55-pecl-imagick
php56-pecl-imagick
ImageMagick
Amazon Linux AMI
Ubuntu
Opensuse
SUSE Linux
imagemagick (Alpine package)
imagemagick (Ubuntu package)
perlmagick (Ubuntu package)
libmagickwand5 (Ubuntu package)
libmagickwand-dev (Ubuntu package)
libmagickcore5-extra (Ubuntu package)
libmagickcore5 (Ubuntu package)
libmagickcore-dev (Ubuntu package)
libmagick++5 (Ubuntu package)
libmagick++-dev (Ubuntu package)
php70-pecl-imagick
php71-pecl-imagick
php72-pecl-imagick
php54-pecl-imagick
php55-pecl-imagick
php56-pecl-imagick
ImageMagick
How to mitigate CVE-2019-16709
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.
imagemagick (Alpine package) - update to 7.0.8.68-r0
imagemagick (Ubuntu package) - update to Ubuntu Pro (Infra-only)
perlmagick (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickwand5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickwand-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore5-extra (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagick++5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagick++-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
php70-pecl-imagick - update to 3.4.4-1.7
php71-pecl-imagick - update to 3.4.4-2.8
php72-pecl-imagick - update to 3.4.4-2.10
php54-pecl-imagick - update to 3.4.4-2.11
php55-pecl-imagick - update to 3.4.4-2.15
php56-pecl-imagick - update to 3.4.4-2.16
ImageMagick - update to 6.9.10.68-3.22
imagemagick (Ubuntu package) - update to Ubuntu Pro (Infra-only)
perlmagick (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickwand5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickwand-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore5-extra (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagick++5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagick++-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
php70-pecl-imagick - update to 3.4.4-1.7
php71-pecl-imagick - update to 3.4.4-2.8
php72-pecl-imagick - update to 3.4.4-2.10
php54-pecl-imagick - update to 3.4.4-2.11
php55-pecl-imagick - update to 3.4.4-2.15
php56-pecl-imagick - update to 3.4.4-2.16
ImageMagick - update to 6.9.10.68-3.22
External References
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00045.html
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00046.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00040.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00042.html
- https://github.com/ImageMagick/ImageMagick/issues/1531
- https://usn.ubuntu.com/4192-1/
Related Security Bulletins
- Memory leak in ImageMagick ImageMagick
- OpenSUSE Linux update for ImageMagick
- OpenSUSE Linux update for ImageMagick
- OpenSUSE Linux update for GraphicsMagick
- OpenSUSE Linux update for GraphicsMagick
- Memory leak in imagemagick (Alpine package)
- Amazon Linux AMI update for php72-pecl-imagick
- Amazon Linux AMI update for php71-pecl-imagick
- Amazon Linux AMI update for php70-pecl-imagick
- Amazon Linux AMI update for php55-pecl-imagick
- Amazon Linux AMI update for php56-pecl-imagick
- Amazon Linux AMI update for php54-pecl-imagick
- Amazon Linux AMI update for ImageMagick
- Ubuntu update for imagemagick