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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-05-03 · Modified: 2024-09-16
- Aliases: openSUSE-SU-2020:0014-1, UBUNTU-CVE-2019-11037, USN-4586-1, USN-4586-2, DEBIAN-CVE-2019-11037, DSA-4576-1, ALPINE-CVE-2019-11037
- Record: https://cvemate.com/vulnerability/CVE-2019-11037 · JSON: https://cvemate.com/vulnerability/CVE-2019-11037/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.972%, percentile 81.147%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine php7-pecl-imagick (Alpine Linux): \< 3.4.4-r0
- debian php-imagick (Debian): \< 3.4.3-4.1 \| \< 3.4.3~rc2-2+deb9u1
- ubuntu php-imagick (Ubuntu): All versions (No fix recorded) \| \< 3.4.0~rc6-1ubuntu3+esm1 \| \< 3.4.3~rc2-2ubuntu4.1
- php group php imagick extension: ≥ 3.4.4, \< 3.4.4 \| ≥ 3.3.0, \< 3.3.0\*
- php imagick: ≥ 3.3.0, ≤ 3.4.4
- opensuse php7-imagick&distro=openSUSE Leap 15.1 (openSUSE): \< 3.4.4-bp151.2.3.1
- suse php7-imagick&distro=SUSE Package Hub 12 (SUSE Linux Enterprise): \< 3.4.4-bp151.2.3.1
- suse php7-imagick&distro=SUSE Package Hub 15 SP1 (SUSE Linux Enterprise): \< 3.4.4-bp151.2.3.1

## References (first 20 of 21)

- <https://bugs.php.net/bug.php?id=77791>
- <http://www.securityfocus.com/bid/108292>
- <https://github.com/CVEProject/cvelist/pull/1964>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MQ7WJA25YF2R2LRALK4QEYWUHHJPSUD/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BU66V7QJKD32RXLY5J7Z5NZH4V3VV524/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FME5ZG7DDYWUPPHTTAFJB5OFFCPXYHPS/>
- <https://www.debian.org/security/2019/dsa-4576>
- <https://seclists.org/bugtraq/2019/Nov/39>
- <http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00016.html>
- <https://security.gentoo.org/glsa/202003-38>
- <https://usn.ubuntu.com/4586-1/>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KGV7VQ6VPH5S7V7PYMCMEEKUWPZOL27Y/>
- <https://bugzilla.suse.com/1135418>
- <https://www.suse.com/security/cve/CVE-2019-11037>
- <https://ubuntu.com/security/CVE-2019-11037>
- <https://github.com/mkoppanen/imagick/commits/bugfix_77791>
- <https://ubuntu.com/security/notices/USN-4586-1>
- <https://ubuntu.com/security/notices/USN-4586-2>
- <https://www.cve.org/CVERecord?id=CVE-2019-11037>
- <https://security-tracker.debian.org/tracker/CVE-2019-11037>

---

Data as of 2026-12-05T09:08:39.463Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
