CVE-2026-112922

Ghostscript: out-of-bounds read in ghostscript shade_next_color via integer overflow of indexed color index in mesh shading

Published Oct 30, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Ghostscript contains an out‑of‑bounds memory read in the shade_next_color function when it processes indexed color values in mesh shading. This flaw can cause the application to crash, resulting in a denial of service, or it can leak limited information from memory. The vulnerability is triggered by specially crafted PDF or PostScript documents that a malicious user can supply or persuade a victim to open.

Affected Systems

The affected product is Ghostscript, the open‑source interpreter for PostScript and PDF. No specific version numbers are listed in the current advisory, so all installations that have not deployed the vendor’s fix are potentially vulnerable.

Risk and Exploitability

The CVSS score of 3.3 indicates low severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, leveraging a malicious PDF or PostScript file that a user is induced to open or process. Successful exploitation would require the victim to run Ghostscript on the compromised document, which is feasible in many document handling scenarios.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Check for and install the latest Ghostscript release that includes the bounds checking fix; this is the most effective remedy.
  • Configure the environment so that untrusted PDF or PostScript files are opened in a sandbox or with reduced privileges to limit the impact of a crash or memory read.
  • Validate input files using external PDF/PostScript validators or use a safer viewer that does not invoke Ghostscript for untrusted content.

Generated by OpenCVE AI on October 30, 2026 at 01:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ghostscript
Ghostscript ghostscript
Vendors & Products Ghostscript
Ghostscript ghostscript
Type Values Removed Values Added
Title ghostscript: Out-of-bounds read in ghostscript shade_next_color via integer overflow of indexed color index in mesh shading Ghostscript: out-of-bounds read in ghostscript shade_next_color via integer overflow of indexed color index in mesh shading
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Type Values Removed Values Added
Description 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.
Title ghostscript: Out-of-bounds read in ghostscript shade_next_color via integer overflow of indexed color index in mesh shading
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}

threat_severity

Low

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 5:52 PM
Reserved
Oct 19, 2026, 9:20 PM
Status
Awaiting Analysis
Published
Oct 30, 2026, 2:17 AM
Modified
Nov 6, 2026, 6:17 PM
Severity
Low
Public date
Oct 29, 2026, 9:40 AM