{
  "id": "CVE-2017-8291",
  "url": "https://poc.griffinguard.io/cve/CVE-2017-8291",
  "published_at": "2017-04-27T01:41:00Z",
  "title": "Artifex Ghostscript Type Confusion Vulnerability",
  "vendor": "Artifex",
  "product": "Ghostscript",
  "cvss": {
    "score": 7.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-05-24",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1853
  },
  "first_poc": {
    "created_at": "2017-04-28T14:56:52Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.6,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/ghostscript_type_confusion.rb"
  },
  "poc_repo_count": 2,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a \"/OutputFile (%pipe%\" substring in a crafted .eps document that is an input to the gs program, as exploited in the wild in April 2017.",
  "cwe": "CWE-843",
  "cvss_by_source": {
    "cisa-adp": 7.8
  },
  "repos": [
    {
      "repo": "shun1403/CVE-2017-8291",
      "url": "https://github.com/shun1403/CVE-2017-8291",
      "created_at": null,
      "first_seen_at": "2026-11-15T00:04:20.081Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "shun1403/PIL-CVE-2017-8291-study",
      "url": "https://github.com/shun1403/PIL-CVE-2017-8291-study",
      "created_at": null,
      "first_seen_at": "2026-11-15T00:04:20.081Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "hkcfs/PIL-CVE-2017-8291",
      "url": "https://github.com/hkcfs/PIL-CVE-2017-8291",
      "created_at": "2025-06-13T09:22:04Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-06-13T04:29:54Z"
    },
    {
      "repo": "DaniilOrchikov/PIL-CVE-2017-8291",
      "url": "https://github.com/DaniilOrchikov/PIL-CVE-2017-8291",
      "created_at": "2025-12-03T16:08:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-11-25T15:52:52Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/41955/",
      "source": "cvelist",
      "title": "41955",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/41955",
      "source": "exploitdb",
      "title": "Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit)",
      "published_at": "2017-05-02T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/ghostscript_type_confusion.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Ghostscript Type Confusion Arbitrary Command Execution (exploit/unix/fileformat/ghostscript_type_confusion)",
      "published_at": "2017-04-28T14:56:52Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
