Skip to content
Heist/ feed
Back to feed
CriticalFix available

php-imagick — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2019-11037

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.

Products
php-imagick
Affected versions
3.3.0~rc2-1, 3.4.0~rc6-1ubuntu2, 3.4.0~rc6-1ubuntu3, 3.4.3~rc2-2ubuntu3, 3.4.3~rc2-2ubuntu4
Fixed versions
3.4.0~rc6-1ubuntu3+esm1, 3.4.3~rc2-2ubuntu4.1
CVEs
CVE-2019-11037
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 10:26 UTC · Revision 1

Source evidence

UBUNTU-CVE-2019-11037

core-osv · Original source

Published 3 May 2019, 20:29 UTC

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.

osv:UBUNTU-CVE-2019-11037

php-imagick

Fixed versions: 3.4.0~rc6-1ubuntu3+esm1

php-imagick

Fixed versions: 3.4.3~rc2-2ubuntu4.1

Complete source record
{
  "id": "686d79b55c3332b4d4452a602d62bd6c726a0410c1b86cbc477bf9f118ba66f0",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-11037",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2019-11037",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2019-11037",
    "products": [
      {
        "name": {
          "value": "php-imagick",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.4.0~rc6-1ubuntu3+esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.3.0~rc2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.4.0~rc6-1ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.4.0~rc6-1ubuntu3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "php-imagick",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.4.3~rc2-2ubuntu4.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.4.3~rc2-2ubuntu3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.4.3~rc2-2ubuntu4",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2019-11037",
      "aliases": [
        "UBUNTU-CVE-2019-11037"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.4.0~rc6-1ubuntu3+esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "php-imagick",
            "purl": "pkg:deb/ubuntu/php-imagick?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "3.3.0~rc2-1",
            "3.4.0~rc6-1ubuntu2",
            "3.4.0~rc6-1ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-11037.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "php-imagick",
                "binary_version": "3.4.0~rc6-1ubuntu3+esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.4.3~rc2-2ubuntu4.1"
                }
              ]
            }
          ],
          "package": {
            "name": "php-imagick",
            "purl": "pkg:deb/ubuntu/php-imagick?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.4.3~rc2-2ubuntu3",
            "3.4.3~rc2-2ubuntu4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-11037.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "php-imagick",
                "binary_version": "3.4.3~rc2-2ubuntu4.1"
              }
            ],
            "availability": "No subscription required"
          }
        }
      ],
      "modified": "2026-10-25T23:30:04.172659633Z",
      "provider": "osv",
      "upstream": [
        "CVE-2019-11037"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2019-11037",
        "https://bugs.php.net/bug.php?id=77791",
        "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"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2019-11037",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 446244,
  "published_at": "2019-05-03T20:29:00+00:00"
}