Every CVE Search/ Get API key

CVE-2019-11037

Out of bounds memory write in PHP Imagick extension

4.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

1.97%Down 0.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 4.9

Out of bounds memory write in PHP Imagick extension

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.

Record
CVE-2019-11037
CVSS 3.0
4.9 MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-787
Updated
2026-11-02
EUVDEUVD-2019-2745 4.9

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.

Record
EUVD-2019-2745
CVSS 3.0
4.9 MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-c46f-p363-f93x 9.8

In PHP imagick extension in versions between 3.3.0 and 3.4.4, writing to an array of values in...

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.

Record
GHSA-c46f-p363-f93x
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
NVD 4.9

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.

Record
CVE-2019-11037
CVSS 3.0
4.9 MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2019-11037
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-11037 9.8

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.

Record
DEBIAN-CVE-2019-11037
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2019-11037 4.9

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.

Record
UBUNTU-CVE-2019-11037
CVSS 3.0
4.9 MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2020:0014-1 No score

Security update for php7-imagick

This update for php7-imagick fixes the following issues:

Upgrade to version 3.4.4:

Added:

Fixes:

  • Correct version check to make RemoveAlphaChannel and FlattenAlphaChannel be available when using Imagick with ImageMagick version 6.7.8-x
  • Bug 77128 - Imagick::setImageInterpolateMethod() not available on Windows
  • Prevent memory leak when ImagickPixel::__construct called after object instantiation.
  • Prevent segfault when ImagickPixel internal constructor not called.
  • Imagick::setResourceLimit support for values larger than 2GB (2^31) on 32bit platforms.
  • Corrected memory overwrite in Imagick::colorDecisionListImage()
  • Bug 77791 - ImagickKernel::fromMatrix() out of bounds write. Fixes CVE-2019-11037, boo#1135418

The following functions have been deprecated:

  • ImagickDraw, matte
  • Imagick::averageimages
  • Imagick::colorfloodfillimage
  • Imagick::filter
  • Imagick::flattenimages
  • Imagick::getimageattribute
  • Imagick::getimagechannelextrema
  • Imagick::getimageclipmask
  • Imagick::getimageextrema
  • Imagick::getimageindex
  • Imagick::getimagematte
  • Imagick::getimagemattecolor
  • Imagick::getimagesize
  • Imagick::mapimage
  • Imagick::mattefloodfillimage
  • Imagick::medianfilterimage
  • Imagick::mosaicimages
  • Imagick::orderedposterizeimage
  • Imagick::paintfloodfillimage
  • Imagick::paintopaqueimage
  • Imagick::painttransparentimage
  • Imagick::radialblurimage
  • Imagick::recolorimage
  • Imagick::reducenoiseimage
  • Imagick::roundcornersimage
  • Imagick::roundcorners
  • Imagick::setimageattribute
  • Imagick::setimagebias
  • Imagick::setimageclipmask
  • Imagick::setimageindex
  • Imagick::setimagemattecolor
  • Imagick::setimagebiasquantum
  • Imagick::setimageopacity
  • Imagick::transformimage
Record
openSUSE-SU-2020:0014-1
Updated
2026-11-02
OSVUSN-4586-1 No score

php-imagick vulnerability

It was discovered that PHP ImageMagick extension didn't check the address used by an array. An attacker could use this issue to cause PHP ImageMagick to crash, resulting in a denial of service.

Record
USN-4586-1
Updated
2026-11-02
OSVUSN-4586-2 No score

php-imagick vulnerability

USN-4586-1 fixed vulnerabilities in PHP ImageMagick. This update provides the corresponding update for Ubuntu 16.04 ESM.

Original advisory details:

It was discovered that PHP ImageMagick extension didn't check the address used by an array. An attacker could use this issue to cause PHP ImageMagick to crash, resulting in a denial of service.

Record
USN-4586-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
php-imagick
Debian:12
before 3.4.3-4.1
3.4.3-4.1
php-imagick
Debian:13
before 3.4.3-4.1
3.4.3-4.1
php-imagick
Debian:14
before 3.4.3-4.1
3.4.3-4.1
php-imagick
Debian:9
before 3.4.3~rc2-2+deb9u1, plus listed versions
3.4.3~rc2-2
3.4.3~rc2-2+deb9u1
php-imagick
Ubuntu:Pro:16.04:LTS
before 3.4.0~rc6-1ubuntu3+esm1, plus listed versions
3.3.0~rc2-13.4.0~rc6-1ubuntu23.4.0~rc6-1ubuntu3
3.4.0~rc6-1ubuntu3+esm1
php-imagick
Ubuntu:18.04:LTS
before 3.4.3~rc2-2ubuntu4.1, plus listed versions
3.4.3~rc2-2ubuntu33.4.3~rc2-2ubuntu4
3.4.3~rc2-2ubuntu4.1
php7-imagick
SUSE:Package Hub 12
before 3.4.4-bp151.2.3.1
3.4.4-bp151.2.3.1
php7-imagick
SUSE:Package Hub 15 SP1
before 3.4.4-bp151.2.3.1
3.4.4-bp151.2.3.1
php7-imagick
openSUSE:Leap 15.1
before 3.4.4-bp151.2.3.1
3.4.4-bp151.2.3.1

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-11037 is a medium vulnerability (CVSS 4.9) in Php Imagick, published May 3, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.97%, the 80th percentile. Fixed in php-imagick 3.4.3-4.1.

References

Show 19 moreShow less
MoveEnter Open