Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-18272

In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-18272
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:50 UTC · Revision 1

Source evidence

CVE-2017-18272

core-osv · Original source

Published 18 May 2018, 19:29 UTC

In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.

osv:CVE-2017-18272
Complete source record
{
  "id": "97e404048c2cf0c444c5a6f46490990e8fa6e8efa177e5a5a9748007c5d0b880",
  "url": "https://osv.dev/vulnerability/CVE-2017-18272",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-18272",
    "summary": "In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.",
    "evidence": "osv:CVE-2017-18272",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-18272",
      "aliases": [
        "CVE-2017-18272"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/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": "ddbf0ed10323d0fb329189041190630a8f7af5a7"
                },
                {
                  "fixed": "f39bfc52683755b50c83f3be693982a3bdb250fe"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.7-16"
                      },
                      {
                        "fixed": "7.0.7-21"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.7-20",
            "7.0.7-19",
            "7.0.7-18",
            "7.0.7-17",
            "7.0.7-16"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18272.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:28.955120826Z",
      "provider": "osv",
      "references": [
        "https://github.com/ImageMagick/ImageMagick/issues/918"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "imagemagick:imagemagick",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.7-16"
                  },
                  {
                    "fixed": "7.0.7-21"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-18272",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442213,
  "published_at": "2018-05-18T19:29:00.337+00:00"
}