{
    "id": "CVE-2018-16509",
    "published": "2018-09-05 06:29:00",
    "last_modified": "2026-06-17 01:44:24",
    "cvss_score": "7.8",
    "cvss_severity": "HIGH",
    "cvss_version": "3.0",
    "cvss_vector": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "cwe": null,
    "description": "An issue was discovered in Artifex Ghostscript before 9.24. Incorrect \"restoration of privilege\" checking during handling of /invalidaccess exceptions could be used by attackers able to supply crafted PostScript to execute code using the \"pipe\" instruction.",
    "epss_score": "0.92499",
    "epss_percentile": "0.99824",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:23:22",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "artifex",
            "product": "ghostscript"
        },
        {
            "vendor": "artifex",
            "product": "gpl_ghostscript"
        },
        {
            "vendor": "canonical",
            "product": "ubuntu_linux"
        },
        {
            "vendor": "debian",
            "product": "debian_linux"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_desktop"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server_eus"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_workstation"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "45369",
            "title": "Ghostscript - Failed Restore Command Execution (Metasploit)",
            "date": "2018-09-10",
            "url": "https://www.exploit-db.com/exploits/45369"
        }
    ],
    "refs_list": [
        "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=5516c614dc33662a2afdc377159f70218e67bde5",
        "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=78911a01b67d590b4a91afac2e8417360b934156",
        "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=79cccf641486a6595c43f1de1cd7ade696020a31",
        "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=520bb0ea7519aa3e79db78aaf0589dae02103764",
        "http://seclists.org/oss-sec/2018/q3/142",
        "http://www.securityfocus.com/bid/105122",
        "https://access.redhat.com/errata/RHSA-2018:2918",
        "https://access.redhat.com/errata/RHSA-2018:3760",
        "https://bugs.ghostscript.com/show_bug.cgi?id=699654",
        "https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html",
        "https://security.gentoo.org/glsa/201811-12",
        "https://usn.ubuntu.com/3768-1/",
        "https://www.artifex.com/news/ghostscript-security-resolved/",
        "https://www.debian.org/security/2018/dsa-4294",
        "https://www.exploit-db.com/exploits/45369/",
        "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=5516c614dc33662a2afdc377159f70218e67bde5",
        "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=78911a01b67d590b4a91afac2e8417360b934156",
        "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=79cccf641486a6595c43f1de1cd7ade696020a31",
        "http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=520bb0ea7519aa3e79db78aaf0589dae02103764",
        "http://seclists.org/oss-sec/2018/q3/142",
        "http://www.securityfocus.com/bid/105122",
        "https://access.redhat.com/errata/RHSA-2018:2918",
        "https://access.redhat.com/errata/RHSA-2018:3760",
        "https://bugs.ghostscript.com/show_bug.cgi?id=699654",
        "https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html"
    ]
}