Skip to content
OpenAdvisories
Medium · 4.9 CVE-2019-11037 EUVD-2019-2745GHSA-c46f-p363-f93x

Out of bounds memory write in PHP Imagick extension

Published May 3, 2019 · Updated Sep 16, 2024 · Assigned by php

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

VendorProductAffectedFixed
PHP Group PHP Imagick extension 3.4.4 – < 3.4.4, 3.3.0 – < 3.3.0* 3.4.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 php-imagick 3.4.3-4.1 —
Debian 13 php-imagick 3.4.3-4.1 —
Debian 12 php-imagick 3.4.3-4.1 —
Debian 9 php-imagick 3.4.3~rc2-2+deb9u1 DSA-4576-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php-imagick 3.4.3~rc2-2ubuntu4.1 USN-4586-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS php-imagick 3.4.0~rc6-1ubuntu3+esm1 USN-4586-2
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP1 php7-imagick 3.4.4-bp151.2.3.1 openSUSE-SU-2020:0014-1
SUSE Package Hub 12 php7-imagick 3.4.4-bp151.2.3.1 openSUSE-SU-2020:0014-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 php7-imagick 3.4.4-bp151.2.3.1 openSUSE-SU-2020:0014-1
ReleasePackageFixed inAdvisory
Alpine v3.15 php7-pecl-imagick 3.4.4-r0 —
Alpine v3.14 php7-pecl-imagick 3.4.4-r0 —
Alpine v3.13 php7-pecl-imagick 3.4.4-r0 —
Alpine v3.12 php7-pecl-imagick 3.4.4-r0 —
Alpine v3.11 php7-pecl-imagick 3.4.4-r0 —

Advisories 4

References