BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2018-16509 in Artifex Ghostscript and 7 more products

High 7.8 Public exploit reported Fix available

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.

Affects 8 products from 4 vendors. Facts below cite their sources.

CVSS 3.07.8
EPSS92.3%
EPSS percentile100th
FixAvailable

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Artifex Ghostscript < 9.24
Artifex Gpl Ghostscript < 9.26
Canonical Ubuntu Linux 14.04 16.04 18.04
Debian Debian Linux 8.0 9.0
Redhat Enterprise Linux Server Eus 7.5
Redhat Enterprise Linux Workstation 6.0 7.0
Redhat Enterprise Linux Server 6.0 7.0
Redhat Enterprise Linux Desktop 6.0 7.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2018-16509
BreachSpider IDBS-2018-GLOBAL-208526-H
CVSS vectorCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2018-09-05
Last modified2024-11-21
SourceNVD

Analysis AI-written, not human-reviewed

A vulnerability in Artifex Ghostscript before version 9.24 allows attackers to execute arbitrary code by supplying crafted PostScript that exploits incorrect privilege restoration checking during handling of /invalidaccess exceptions.

The attack vector involves an attacker providing specially crafted PostScript code that triggers the vulnerability. The code can then use the 'pipe' instruction to execute arbitrary commands on the system.

Questions

What is CVE-2018-16509?

A vulnerability in Artifex Ghostscript before version 9.24 allows attackers to execute arbitrary code by supplying crafted PostScript that exploits incorrect privilege restoration checking during handling of /invalidaccess exceptions.

What is the CVSS score for CVE-2018-16509?

CVE-2018-16509 has CVSS 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 92.3%.

Is CVE-2018-16509 actively exploited?

Public exploit available for CVE-2018-16509. Exploitation risk elevated.

How do I remediate CVE-2018-16509?

Priority: HIGH. Advisory: https://www.artifex.com/news/ghostscript-security-resolved/ PSIRT: [email protected]

What systems are affected by CVE-2018-16509?

CVE-2018-16509 affects Artifex Ghostscript, Gpl Ghostscript; Canonical Ubuntu Linux; Debian Debian Linux; Redhat Enterprise Linux Server Eus, Enterprise Linux Workstation, Enterprise Linux Server, Enterprise Linux Desktop.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Artifex","product":"Ghostscript","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.