Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-15277

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when processing a GIF file that has neither a global nor local palette. If the affected product is used as a library loaded into a process that operates on interesting data, this data sometimes can be leaked via the uninitialized palette.

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

Source evidence

CVE-2017-15277

core-osv · Original source

Published 12 Oct 2017, 08:29 UTC

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when processing a GIF file that has neither a global nor local palette. If the affected product is used as a library loaded into a process that operates on interesting data, this data sometimes can be leaked via the uninitialized palette.

osv:CVE-2017-15277
Complete source record
{
  "id": "d7f6eb3e3b7f6f6073309398f65cb952e416ce1c3906495d6a0253ac7aabf7f3",
  "url": "https://osv.dev/vulnerability/CVE-2017-15277",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-15277",
    "summary": "ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when processing a GIF file that has neither a global nor local palette. If the affected product is used as a library loaded into a process that operates on interesting data, this data sometimes can be leaked via the uninitialized palette.",
    "evidence": "osv:CVE-2017-15277",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-15277",
      "aliases": [
        "CVE-2017-15277"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/imagemagick/imagemagick",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9871b4ad7400606bbecf7f979b198080f4b107c3"
                },
                {
                  "last_affected": "9871b4ad7400606bbecf7f979b198080f4b107c3"
                },
                {
                  "fixed": "9fd10cf630832b36a588c1545d8736539b2f1fb5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:imagemagick:imagemagick:7.0.6-1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.6-1"
                      },
                      {
                        "last_affected": "7.0.6-1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9fd10cf630832b36a588c1545d8736539b2f1fb5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.6-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15277.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-15277-18d632c1",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "306973232245618165981768373290104851468",
                    "125207226614535232036573969069490306158",
                    "29907257949769001391588402564807748975",
                    "314517929402371445594822948285256751638"
                  ]
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/9fd10cf630832b36a588c1545d8736539b2f1fb5",
                "target": {
                  "file": "coders/gif.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-15277-ec5bd8a7",
                "digest": {
                  "length": 9760,
                  "function_hash": "295666413879762265196560470791931146085"
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/9fd10cf630832b36a588c1545d8736539b2f1fb5",
                "target": {
                  "file": "coders/gif.c",
                  "function": "ReadGIFImage"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:12:10Z"
          }
        }
      ],
      "modified": "2026-10-24T14:12:10.474861186Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html",
        "https://usn.ubuntu.com/3681-1/",
        "https://usn.ubuntu.com/4232-1/",
        "https://www.debian.org/security/2017/dsa-4032",
        "https://www.debian.org/security/2017/dsa-4040",
        "https://www.debian.org/security/2018/dsa-4321",
        "https://github.com/ImageMagick/ImageMagick/commit/9fd10cf630832b36a588c1545d8736539b2f1fb5",
        "https://github.com/ImageMagick/ImageMagick/issues/592",
        "https://github.com/neex/gifoeb"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:graphicsmagick:graphicsmagick:1.3.26:*:*:*:*:*:*:*"
            ],
            "vendor_product": "graphicsmagick:graphicsmagick",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.3.26"
                  },
                  {
                    "last_affected": "1.3.26"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:imagemagick:imagemagick:7.0.6-1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "imagemagick:imagemagick",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.6-1"
                  },
                  {
                    "last_affected": "7.0.6-1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-15277",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443349,
  "published_at": "2017-10-12T08:29:00.29+00:00"
}