CVE-2019-11037 Out of bounds memory write in PHP Imagick extension
An out-of-bounds memory write in the PHP Imagick extension allows attackers to execute arbitrary code via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-11037?
CVE-2019-11037 is a medium-severity memory corruption vulnerability in PHP Imagick extension, published on 3 May 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2019-11037?
It affects 1 product.
Linux distribution packages (3)
php7-imagick SUSE:Package Hub 12 | All versions | 3.4.4-bp151.2.3.1 |
php7-imagick SUSE:Package Hub 15 SP1 | All versions | 3.4.4-bp151.2.3.1 |
php7-imagick openSUSE:Leap 15.1 | All versions | 3.4.4-bp151.2.3.1 |
Products include Php Imagick.
How do I fix CVE-2019-11037?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-11037 being exploited?
There is no known exploitation of CVE-2019-11037 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2019-11037, DSA-4576-1, GHSA-c46f-p363-f93x, UBUNTU-CVE-2019-11037, USN-4586-1, USN-4586-2 and 1 more.