Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-13311

ImageMagick 7.0.8-50 Q16 has memory leaks at AcquireMagickMemory because of a wand/mogrify.c error.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-13311
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:06 UTC · Revision 1

Source evidence

CVE-2019-13311

core-osv · Original source

Published 5 Jul 2019, 01:15 UTC

ImageMagick 7.0.8-50 Q16 has memory leaks at AcquireMagickMemory because of a wand/mogrify.c error.

osv:CVE-2019-13311
Complete source record
{
  "id": "d49783a2fa8b59d641d74928ad6b9f29afb4f6df3c5976d94a7989f4f1696899",
  "url": "https://osv.dev/vulnerability/CVE-2019-13311",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-13311",
    "summary": "ImageMagick 7.0.8-50 Q16 has memory leaks at AcquireMagickMemory because of a wand/mogrify.c error.",
    "evidence": "osv:CVE-2019-13311",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-13311",
      "aliases": [
        "CVE-2019-13311"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/imagemagick/imagemagick",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4a334bbf5584de37c6f5a47c380a531c8c4b140a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "4a334bbf5584de37c6f5a47c380a531c8c4b140a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.8-51",
            "7.0.8-50",
            "7.0.8-49",
            "7.0.8-48",
            "7.0.8-47",
            "7.0.8-46",
            "7.0.8-45",
            "7.0.8-44",
            "7.0.8-43",
            "7.0.8-42",
            "7.0.8-41",
            "7.0.8-40",
            "7.0.8-39",
            "7.0.8-38",
            "7.0.8-37",
            "7.0.8-36",
            "7.0.8-35",
            "7.0.8-34",
            "7.0.8-33",
            "7.0.8-32",
            "7.0.8-31",
            "7.0.8-30",
            "7.0.8-29",
            "7.0.8-28",
            "7.0.8-27",
            "7.0.8-26",
            "7.0.8-25",
            "7.0.8-24",
            "7.0.8-23",
            "7.0.8-22",
            "7.0.8-21",
            "7.0.8-20",
            "7.0.8-19",
            "7.0.8-18",
            "7.0.8-17",
            "7.0.8-16",
            "7.0.8-15",
            "7.0.8-14",
            "7.0.8-13",
            "7.0.8-12",
            "7.0.8-11",
            "7.0.8-10",
            "7.0.8-9",
            "7.0.8-8",
            "7.0.8-7",
            "7.0.8-6",
            "7.0.8-5",
            "7.0.8-4",
            "7.0.8-3",
            "7.0.8-2",
            "7.0.8-1",
            "7.0.8-0",
            "7.0.7-39",
            "7.0.7-38",
            "7.0.7-37",
            "7.0.7-36",
            "7.0.7-35",
            "7.0.7-34",
            "7.0.7-33",
            "7.0.7-32",
            "7.0.7-31",
            "7.0.7-30",
            "7.0.7-29",
            "7.0.7-28",
            "7.0.7-27",
            "7.0.7-26",
            "7.0.7-25",
            "7.0.7-24",
            "7.0.7-23",
            "7.0.7-22",
            "7.0.7-21",
            "7.0.7-20",
            "7.0.7-19",
            "7.0.7-18",
            "7.0.7-17",
            "7.0.7-16",
            "7.0.7-15",
            "7.0.7-14",
            "7.0.7-13",
            "7.0.7-12",
            "7.0.7-11",
            "7.0.7-10",
            "7.0.7-9",
            "7.0.7-8",
            "7.0.7.7",
            "7.0.7-6",
            "7.0.7-5",
            "7.0.7-4",
            "7.0.7-3",
            "7.0.7-2",
            "7.0.7-1",
            "7.0.7-0",
            "7.0.6-9",
            "7.0.6-8",
            "7.0.6-7",
            "7.0.6-6",
            "7.0.6-5",
            "7.0.6-4",
            "7.0.6-3",
            "7.0.6-2",
            "7.0.6-1",
            "7.0.6-0",
            "7.0.5-10",
            "7.0.5-9",
            "7.0.5-8",
            "7.0.5-7",
            "7.0.5-6",
            "7.0.5-5",
            "7.0.5-4",
            "7.0.5-3",
            "7.0.5-2",
            "7.0.5-1",
            "7.0.5-0",
            "7.0.4-10",
            "7.0.4-9",
            "7.0.4-8",
            "7.0.4-7",
            "7.0.4-6",
            "7.0.4-5",
            "7.0.4-4",
            "7.0.4-3",
            "7.0.4-2",
            "7.0.4-1",
            "7.0.4-0",
            "7.0.3-10",
            "7.0.3-9",
            "7.0.3-8",
            "7.0.3-7",
            "7.0.3-6",
            "7.0.3-5",
            "7.0.3-4",
            "7.0.3-3",
            "7.0.3-2",
            "7.0.3-1",
            "7.0.3-0",
            "7.0.2-10",
            "7.0.2-9",
            "7.0.2-8",
            "7.0.2-7",
            "7.0.2-6",
            "7.0.2-5",
            "7.0.2-4",
            "7.0.2-3",
            "7.0.2-2",
            "7.0.2-1",
            "7.0.2-0",
            "7.0.1-10",
            "7.0.1-9",
            "7.0.1-8",
            "7.0.1-7",
            "7.0.1-6",
            "7.0.1-5",
            "7.0.1-4",
            "7.0.1-3",
            "7.0.1-2",
            "7.0.1-1",
            "7.0.1-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13311.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-13311-36c77e92",
                "digest": {
                  "length": 20607,
                  "function_hash": "106898551621045146967116667112046161943"
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/4a334bbf5584de37c6f5a47c380a531c8c4b140a",
                "target": {
                  "file": "MagickWand/mogrify.c",
                  "function": "MogrifyImageList"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13311-e29b4753",
                "digest": {
                  "length": 17778,
                  "function_hash": "297241273444530397308717229450936829703"
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/4a334bbf5584de37c6f5a47c380a531c8c4b140a",
                "target": {
                  "file": "MagickWand/operation.c",
                  "function": "CLIListOperatorImages"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13311-e6eed20f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "4342224192572423207374891230637812893",
                    "335674092972075449792416447977669535756",
                    "145798509297875710985393780161356837624",
                    "169013935429591593019572215875089644617",
                    "22866452136505522941606091692562520683",
                    "158972211008014660278245477413644868227",
                    "336816302465550147918207782007466883010",
                    "169013935429591593019572215875089644617",
                    "167041122492131841478263131766279780861",
                    "63716005306102034887851113886219493512",
                    "7513828152327571273701393545182246171",
                    "312820744618685004070531144081302943286",
                    "249215327614447668623034092779647410795",
                    "301179650645585122337019079983054096464",
                    "241883363960725431517983118606760322244",
                    "169013935429591593019572215875089644617",
                    "70558019211816315501746828269206604376",
                    "243760904427106383948409588948103773745",
                    "203107234754637355137520189046430013101",
                    "169013935429591593019572215875089644617",
                    "233179788398525858696526640761721514713",
                    "195057931993773396528370292082205414988",
                    "68658689662571720705877443203979371431",
                    "24462250561354805134510807067780384950",
                    "161975576424477617448559611179019266467"
                  ]
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/4a334bbf5584de37c6f5a47c380a531c8c4b140a",
                "target": {
                  "file": "MagickWand/mogrify.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13311-e734572a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "219292094483731800967319038804860090801",
                    "260886323243217765415555793244603767262",
                    "3537934484857679170705243189862479663",
                    "308275223195153295865015507869379617115",
                    "188951787568506464794104642936100052864",
                    "257567888074771874211791280270949226466",
                    "119231292120435279127761389804725169637",
                    "237489777863280987111267948948026758360",
                    "180072842756667059358984011489139342591",
                    "60539311018636450914071322847192932575",
                    "183719785429306865837224044639927199219",
                    "168181805513368384592172972333333012729",
                    "159642647706822509238018999327544973782",
                    "7513828152327571273701393545182246171",
                    "312820744618685004070531144081302943286",
                    "89917102998944350843851783785006263957",
                    "205115272416453274590867657850461590799",
                    "282748734820716719041541234312438051223",
                    "248624961151195337935802215436418990196",
                    "300085743073041413032284424306298587549",
                    "88552407420937962280091253443799970537",
                    "59823209401269943674241427980532237423",
                    "26758660708220866400110576313049460730",
                    "189329941962989335340713273700949806208",
                    "51859350583594606808299018470292422409",
                    "70914104666058670814167420690088420051",
                    "137437214259832330301143451765568402397",
                    "273499209256021388331601907324096379675",
                    "276402036336641141292980032717983625146",
                    "202813690532968220578259164963983703300"
                  ]
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/4a334bbf5584de37c6f5a47c380a531c8c4b140a",
                "target": {
                  "file": "MagickWand/operation.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:07:02Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/imagemagick/imagemagick6",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "bb812022d0bc12107db215c981cab0b1ccd73d91"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "bb812022d0bc12107db215c981cab0b1ccd73d91"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.9.10-51",
            "6.9.10-50",
            "6.9.10-49",
            "6.9.10-48",
            "6.9.10-47",
            "6.9.10-46",
            "6.9.10-45",
            "6.9.10-44",
            "6.9.10-43",
            "6.9.10-42",
            "6.9.10-41",
            "6.9.10-40",
            "6.9.10-39",
            "6.9.10-38",
            "6.9.10-37",
            "6.9.10-36",
            "6.9.10-35",
            "6.9.10-34",
            "6.9.10-33",
            "6.9.10-32",
            "6.9.10-31",
            "6.9.10-30",
            "6.9.10-29",
            "6.9.10-28",
            "6.9.10-27",
            "6.9.10-26",
            "6.9.10-25",
            "6.9.10-24",
            "6.9.10-23",
            "6.9.10-22",
            "6.9.10-21",
            "6.9.10-20",
            "6.9.10-19",
            "6.9.10-18",
            "6.9.10-17",
            "6.9.10-16",
            "6.9.10-15",
            "6.9.10-14",
            "6.9.10-13",
            "6.9.10-12",
            "6.9.10-11",
            "6.9.10-10",
            "6.9.10-9",
            "6.9.10-8",
            "6.9.10-7",
            "6.9.10-6",
            "6.9.10-5",
            "6.9.10-4",
            "6.9.10-3",
            "6.9.10-2",
            "6.9.10-1",
            "6.9.10-0",
            "6.9.9-51",
            "6.9.9-50",
            "6.9.9-49",
            "6.9.9-48",
            "6.9.9-47",
            "6.9.9-46",
            "6.9.9-45",
            "6.9.9-44",
            "6.9.9-43",
            "6.9.9-42",
            "6.9.9-41",
            "6.9.9-40",
            "6.9.9-39",
            "6.9.9-38",
            "6.9.9-37",
            "6.9.9-36",
            "6.9.9-35",
            "6.9.9-34",
            "6.9.9-33",
            "6.9.9-32",
            "6.9.9-31",
            "6.9.9-30",
            "6.9.9-29",
            "6.9.9-28",
            "6.9.9-27",
            "6.9.9-26",
            "6.9.9-25",
            "6.9.9-24",
            "6.9.9-23",
            "6.9.9-22",
            "6.9.9-21",
            "6.9.9-20",
            "6.9.9-19",
            "6.9.9-18",
            "6.9.9-17",
            "6.9.9-15",
            "6.9.9-14",
            "6.9.9-13",
            "6.9.9-12",
            "6.9.9-11",
            "6.9.9-10",
            "6.9.9-9",
            "6.9.9-8",
            "6.9.9-7",
            "6.9.9-6",
            "6.9.9-5",
            "6.9.9-4",
            "6.9.9-3",
            "6.9.9-2",
            "6.9.9-1",
            "6.9.9-0",
            "6.9.8-10",
            "6.9.8-9",
            "6.9.8-8",
            "6.9.8-7",
            "6.9.8-6",
            "6.9.8-5",
            "6.9.8-4",
            "6.9.8-3",
            "6.9.8-2",
            "6.9.8-1",
            "6.9.8-0",
            "6.9.7-10",
            "6.9.7-9",
            "6.9.7-8",
            "6.9.7-7",
            "6.9.7-6",
            "6.9.7-5",
            "6.9.7-4",
            "6.9.7-3",
            "6.9.7-2",
            "6.9.7-1",
            "6.9.7-0",
            "6.9.6-8",
            "6.9.6-7",
            "6.9.6-6",
            "6.9.6-5",
            "6.9.6-4",
            "6.9.6-3",
            "6.9.6-2",
            "6.9.6-1",
            "6.9.6-0",
            "6.9.5-10",
            "6.9.5-9",
            "6.9.5-8",
            "6.9.5-7",
            "6.9.5-6",
            "6.9.5-5",
            "6.9.5-4",
            "6.9.5-3",
            "6.9.5-2",
            "6.9.5-1",
            "6.9.5-0",
            "6.9.4-10",
            "6.9.4-9",
            "6.9.4-8",
            "6.9.4-7",
            "6.9.4-6",
            "6.9.4-5",
            "6.9.4-4",
            "6.9.4-3",
            "6.9.4-2",
            "6.9.4-1",
            "6.9.4-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13311.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-13311-563662e1",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "4342224192572423207374891230637812893",
                    "335674092972075449792416447977669535756",
                    "145798509297875710985393780161356837624",
                    "169013935429591593019572215875089644617",
                    "4175693078150930083580078162526529046",
                    "131557891184396934301096878770975408674",
                    "309774778450274786904068163533247846688",
                    "175473134288066541937846217746332255244",
                    "285637867889854902460149321079260067105",
                    "22866452136505522941606091692562520683",
                    "158972211008014660278245477413644868227",
                    "336816302465550147918207782007466883010",
                    "169013935429591593019572215875089644617",
                    "185174671371797608490061017069323699992",
                    "277312273362343215508128130807466838713",
                    "148080255470061670758012452115998792777",
                    "169013935429591593019572215875089644617",
                    "249215327614447668623034092779647410795",
                    "301179650645585122337019079983054096464",
                    "241883363960725431517983118606760322244",
                    "169013935429591593019572215875089644617",
                    "70558019211816315501746828269206604376",
                    "243760904427106383948409588948103773745",
                    "203107234754637355137520189046430013101",
                    "169013935429591593019572215875089644617",
                    "233179788398525858696526640761721514713",
                    "195057931993773396528370292082205414988",
                    "68658689662571720705877443203979371431",
                    "24462250561354805134510807067780384950",
                    "161975576424477617448559611179019266467"
                  ]
                },
                "source": "https://github.com/imagemagick/imagemagick6/commit/bb812022d0bc12107db215c981cab0b1ccd73d91",
                "target": {
                  "file": "wand/mogrify.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13311-9bdcec9a",
                "digest": {
                  "length": 19314,
                  "function_hash": "28626108151704614907651252481345582158"
                },
                "source": "https://github.com/imagemagick/imagemagick6/commit/bb812022d0bc12107db215c981cab0b1ccd73d91",
                "target": {
                  "file": "wand/mogrify.c",
                  "function": "MogrifyImageList"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:07:02Z"
          }
        }
      ],
      "modified": "2026-10-24T14:07:02.149793483Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/4192-1/",
        "https://www.debian.org/security/2020/dsa-4712",
        "https://github.com/ImageMagick/ImageMagick/commit/4a334bbf5584de37c6f5a47c380a531c8c4b140a",
        "https://github.com/ImageMagick/ImageMagick/issues/1623",
        "https://github.com/ImageMagick/ImageMagick6/commit/bb812022d0bc12107db215c981cab0b1ccd73d91"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "19.04"
                  },
                  {
                    "last_affected": "19.04"
                  },
                  {
                    "introduced": "19.10"
                  },
                  {
                    "last_affected": "19.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:imagemagick:imagemagick:7.0.8-50:q16:*:*:*:*:*:*"
            ],
            "vendor_product": "imagemagick:imagemagick",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.8-50-q16"
                  },
                  {
                    "last_affected": "7.0.8-50-q16"
                  },
                  {
                    "introduced": "7.0.8-50-q16"
                  },
                  {
                    "last_affected": "7.0.8-50-q16"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0"
                  },
                  {
                    "last_affected": "15.0"
                  },
                  {
                    "introduced": "15.1"
                  },
                  {
                    "last_affected": "15.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-13311",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443078,
  "published_at": "2019-07-05T01:15:10.937+00:00"
}