{
    "id": "CVE-2017-8291",
    "published": "2017-04-27 01:59:02",
    "last_modified": "2026-06-17 01:26:08",
    "cvss_score": "7.8",
    "cvss_severity": "HIGH",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "cwe": "CWE-843",
    "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.",
    "epss_score": "0.96968",
    "epss_percentile": "0.99889",
    "kev": 1,
    "kev_due": "2022-06-14",
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:21:11",
    "priority": {
        "rank": 1,
        "label": "Patch first",
        "why": "On CISA KEV — known exploited in the wild, due 2022-06-14."
    },
    "products": [
        {
            "vendor": "artifex",
            "product": "ghostscript"
        },
        {
            "vendor": "debian",
            "product": "debian_linux"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_desktop"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_eus"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server_aus"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server_tus"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_workstation"
        }
    ],
    "kev_detail": {
        "cve_id": "CVE-2017-8291",
        "date_added": "2022-05-24",
        "due_date": "2022-06-14",
        "vendor": "Artifex",
        "product": "Ghostscript",
        "name": "Artifex Ghostscript Type Confusion Vulnerability",
        "ransomware": 0
    },
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "41955",
            "title": "Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit)",
            "date": "2017-05-02",
            "url": "https://www.exploit-db.com/exploits/41955"
        }
    ],
    "refs_list": [
        "http://openwall.com/lists/oss-security/2017/04/28/2",
        "http://www.debian.org/security/2017/dsa-3838",
        "http://www.securityfocus.com/bid/98476",
        "https://access.redhat.com/errata/RHSA-2017:1230",
        "https://bugs.ghostscript.com/show_bug.cgi?id=697808",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1446063",
        "https://bugzilla.suse.com/show_bug.cgi?id=1036453",
        "https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d",
        "https://security.gentoo.org/glsa/201708-06",
        "https://www.exploit-db.com/exploits/41955/",
        "http://openwall.com/lists/oss-security/2017/04/28/2",
        "http://www.debian.org/security/2017/dsa-3838",
        "http://www.securityfocus.com/bid/98476",
        "https://access.redhat.com/errata/RHSA-2017:1230",
        "https://bugs.ghostscript.com/show_bug.cgi?id=697808",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1446063",
        "https://bugzilla.suse.com/show_bug.cgi?id=1036453",
        "https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d",
        "https://security.gentoo.org/glsa/201708-06",
        "https://www.exploit-db.com/exploits/41955/",
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8291"
    ]
}