{"id":"UBUNTU-CVE-2019-11037","details":"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.","modified":"2026-04-22T13:25:33.972815Z","published":"2019-05-03T20:29:00Z","related":["USN-4586-1","USN-4586-2"],"upstream":["CVE-2019-11037"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-11037"},{"type":"REPORT","url":"https://bugs.php.net/bug.php?id=77791"},{"type":"REPORT","url":"https://github.com/mkoppanen/imagick/commits/bugfix_77791"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4586-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4586-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-11037"}],"affected":[{"package":{"name":"php-imagick","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/php-imagick@3.4.0~rc6-1ubuntu3+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0~rc6-1ubuntu3+esm1"}]}],"versions":["3.3.0~rc2-1","3.4.0~rc6-1ubuntu2","3.4.0~rc6-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"php-imagick","binary_version":"3.4.0~rc6-1ubuntu3+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-11037.json"}},{"package":{"name":"php-imagick","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/php-imagick@3.4.3~rc2-2ubuntu4.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.3~rc2-2ubuntu4.1"}]}],"versions":["3.4.3~rc2-2ubuntu3","3.4.3~rc2-2ubuntu4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"php-imagick","binary_version":"3.4.3~rc2-2ubuntu4.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-11037.json"}},{"package":{"name":"php-imagick","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/php-imagick@3.4.4-4?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.3~rc2-2ubuntu7","3.4.4-3ubuntu1","3.4.4-4"],"ecosystem_specific":{"binaries":[{"binary_name":"php-imagick","binary_version":"3.4.4-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-11037.json"}},{"package":{"name":"php-imagick","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/php-imagick@3.6.0-4ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.4+php8.0+3.4.4-2+deb11u2ubuntu1","3.4.4+php8.0+3.4.4-2+deb11u2ubuntu3","3.5.1-3","3.6.0-3","3.6.0-4","3.6.0-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-imagick","binary_version":"3.6.0-4ubuntu1"},{"binary_name":"php8.1-imagick","binary_version":"3.6.0-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-11037.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}