Skip to content

CVE-2019-11037 Out of bounds memory write in PHP Imagick extension

CriticalCVSS 9.8 EPSS 2.0%
Published
Updated
Exploit status
No public exploit known

Description

In PHP imagick extension in versions between 3.3.0 and 3.4.4, writing to an array of values in ImagickKernel::fromMatrix() function did not check that the address will be within the allocated array. This could lead to out of bounds write to memory if the function is called with the data controlled by untrusted party.

Affected products

ProductAffected versionsFixed in
debian/php-imagick(Debian:12) < 3.4.3-4.1 3.4.3-4.1
debian/php-imagick(Debian:13) < 3.4.3-4.1 3.4.3-4.1
debian/php-imagick(Debian:14) < 3.4.3-4.1 3.4.3-4.1
php imagick >= 3.3.0, <= 3.4.4 No fix listed
alpine/php7-pecl-imagick(Alpine:v3.11) < 3.4.4-r0 3.4.4-r0
alpine/php7-pecl-imagick(Alpine:v3.12) < 3.4.4-r0 3.4.4-r0
alpine/php7-pecl-imagick(Alpine:v3.13) < 3.4.4-r0 3.4.4-r0
alpine/php7-pecl-imagick(Alpine:v3.14) < 3.4.4-r0 3.4.4-r0
alpine/php7-pecl-imagick(Alpine:v3.15) < 3.4.4-r0 3.4.4-r0
PHP Imagick extension >= 3.4.4, < 3.4.4 3.4.4
PHP Imagick extension >= 3.3.0 No fix listed

References