Use-after-free in ImageMagick - CVE-2019-14980

 

Use-after-free in ImageMagick - CVE-2019-14980

Published: August 19, 2019


Vulnerability identifier: #VU20300
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-14980
CWE-ID: CWE-416
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 a use-after-free error within the UnmapBlob() function when images. A remote attacker can create a specially crafted image file, pass it to the affected application and perform denial of service attack.


Affected software

ImageMagick
Amazon Linux AMI
Opensuse
imagemagick6 (Alpine package)
imagemagick (Alpine 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-14980

Install updates from vendor's website.

ImageMagick - update to 7.0.8-42
imagemagick6 (Alpine package) - update to 6.9.10.70-r0
imagemagick (Alpine package) - update to 7.0.8.68-r0
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

Related Security Bulletins