Out-of-bounds write in Imagick PHP extension - CVE-2019-11037
Published: November 26, 2019
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input within the ImagickKernel::fromMatrix() function in PHP imagick extension. A remote attacker can create a specially crafted file, pass it to the application, trigger out-of-bounds write and execute arbitrary code on the target system.
Affected software
Gentoo Linux
SUSE Linux
Opensuse
Ubuntu
Fedora
php-imagick (Debian package)
php7-pecl-imagick (Alpine package)
php-imagick (Ubuntu package)
php-pecl-imagick
SUSE Package Hub for SUSE Linux Enterprise
How to mitigate CVE-2019-11037
php-imagick (Debian package) - update to 3.4.3~rc2-2+deb9u1
php7-pecl-imagick (Alpine package) - update to 3.4.4-r3
php-imagick (Ubuntu package) - update to 3.4.3~rc2-2ubuntu4.1
php-pecl-imagick - addressed in versions 3.4.4-1.fc28, 3.4.4-1.fc29, 3.4.4-1.fc30
External References
Related Security Bulletins
- Buffer overflow in PHP imagick extension
- Debian update for php-imagick
- OpenSUSE Linux update for php7-imagick
- OpenSUSE Linux update for php7-imagick
- Gentoo update for PECL Imagick
- Out-of-bounds write in php7-pecl-imagick (Alpine package)
- Ubuntu update for php-imagick
- Fedora 29 update for php-pecl-imagick
- Fedora 30 update for php-pecl-imagick
- Fedora 28 update for php-pecl-imagick