Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-6362

Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-6362
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:57 UTC · Revision 1

Source evidence

CVE-2017-6362

core-osv · Original source

Published 7 Sept 2017, 13:29 UTC

Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.

osv:CVE-2017-6362
Complete source record
{
  "id": "2f228ea0fda77207ec15916f2be7322271b1426aea0410236faa53b1c96abe5f",
  "url": "https://osv.dev/vulnerability/CVE-2017-6362",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-6362",
    "summary": "Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.",
    "evidence": "osv:CVE-2017-6362",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-6362",
      "aliases": [
        "CVE-2017-6362"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libgd/libgd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "de09874b15a4c88772db35ced842330f5de23e76"
                },
                {
                  "last_affected": "de09874b15a4c88772db35ced842330f5de23e76"
                },
                {
                  "fixed": "8255231b68889597d04d451a72438ab92a405aba"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libgd:libgd:2.2.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.4"
                      },
                      {
                        "last_affected": "2.2.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8255231b68889597d04d451a72438ab92a405aba"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "gd-2.2.5"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.4",
            "gd-2.2.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-6362.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:05.778770039Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2BLXX7KNRE7ZVQAKGTHHWS33CUCXVUP/",
        "https://github.com/libgd/libgd/issues/381",
        "https://github.com/libgd/libgd/releases/tag/gd-2.2.5"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:26:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "26"
                  },
                  {
                    "last_affected": "26"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-6362",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380454,
  "published_at": "2017-09-07T13:29:00.7+00:00"
}