---
id: "CVE-2026-112922"
kind: "vulnerability"
aliases: ["CVE-2026-112922"]
title: "Ghostscript: crafted PDF or PostScript file causes out-of-bounds memory read"
severity: "low"
cvss: 3.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["document-processing", "ghostscript", "package", "self-hosted"]
not_affected_if: ["no-ghostscript-installed"]
published_at: "2026-10-30T02:17:08+00:00"
first_seen_at: "2026-10-30T02:28:05+00:00"
updated_at: "2026-10-30T02:30:07+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112922", "first_seen_at": "2026-10-30T02:28:05+00:00"}]
---

# Ghostscript: crafted PDF or PostScript file causes out-of-bounds memory read

Ghostscript reads memory outside its bounds when processing indexed color values in a crafted mesh shading PDF or PostScript file. An attacker who gets a user to open such a document can crash the process or leak limited information.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-10-30T02:28:05+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-112922

## From the sources

A flaw was found in Ghostscript. A remote attacker could exploit this vulnerability by enticing a user to process a specially crafted PDF or PostScript document containing malicious mesh shading data. Due to improper bounds validation during the processing of indexed color values, Ghostscript triggers an out-of-bounds memory read. Successful exploitation can lead to a Denial of Service (DoS) through an application crash or result in limited information disclosure.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
