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

 

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

Published: November 26, 2019


Vulnerability identifier: #VU23005
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2019-11037
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Imagick
Affected software:
Imagick PHP extension

Detailed vulnerability description

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.


How to mitigate CVE-2019-11037

Install updates from vendor's website.

Sources