Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-16641

ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.

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

Source evidence

CVE-2018-16641

core-osv · Original source

Published 6 Sept 2018, 22:29 UTC

ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.

osv:CVE-2018-16641
Complete source record
{
  "id": "1fa13d5638e7b4b604d641e8fd5e3a1b609b654a6be457aacd21d0c7d5f8fbfb",
  "url": "https://osv.dev/vulnerability/CVE-2018-16641",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-16641",
    "summary": "ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.",
    "evidence": "osv:CVE-2018-16641",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-16641",
      "aliases": [
        "CVE-2018-16641"
      ],
      "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": "0e3b0bdb29c82d16deddc2e534f741fed91ddb88"
                },
                {
                  "last_affected": "0e3b0bdb29c82d16deddc2e534f741fed91ddb88"
                },
                {
                  "fixed": "256825d4eb33dc301496710d15cf5a7ae924088b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:imagemagick:imagemagick:7.0.8-6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.8-6"
                      },
                      {
                        "last_affected": "7.0.8-6"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "256825d4eb33dc301496710d15cf5a7ae924088b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.8-6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16641.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-16641-0936f1f6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "333888295874731594687885307498313107508",
                    "180597915996633686729640661538418704364",
                    "162891957208456120224798182165558349000",
                    "123522031130325460365816948851251366046",
                    "197010040461151880118285668881536374888",
                    "98743350553871224616194268824987219551",
                    "209642043875377412219874191025130381114",
                    "69654219547638857059096856295901619254",
                    "325428273181407204906380137686335732818",
                    "56595149260281517591419624892177168438",
                    "112992571379287977335532754058781474961",
                    "78310014359563250852258212626259298413"
                  ]
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/256825d4eb33dc301496710d15cf5a7ae924088b",
                "target": {
                  "file": "coders/tiff.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-16641-269453cc",
                "digest": {
                  "length": 1878,
                  "function_hash": "130452252682827157405423631212635788696"
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/256825d4eb33dc301496710d15cf5a7ae924088b",
                "target": {
                  "file": "coders/tiff.c",
                  "function": "TIFFWritePhotoshopLayers"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:12:14Z"
          }
        }
      ],
      "modified": "2026-10-24T14:12:14.705499915Z",
      "provider": "osv",
      "references": [
        "https://github.com/ImageMagick/ImageMagick/commit/256825d4eb33dc301496710d15cf5a7ae924088b",
        "https://github.com/ImageMagick/ImageMagick/issues/1206"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:imagemagick:imagemagick:7.0.8-6:*:*:*:*:*:*:*"
            ],
            "vendor_product": "imagemagick:imagemagick",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.8-6"
                  },
                  {
                    "last_affected": "7.0.8-6"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-16641",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443374,
  "published_at": "2018-09-06T22:29:00.727+00:00"
}