JLSEC-2026-1479: High severity julia/ghostscript_jll vulnerability
Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal issue that allows arbitrary file reading (and writing of error messages to arbitrary files) via OCRLanguage. For example, exploitation can use debugfile /tmp/out and userpatternsfile /etc/passwd.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Ghostscript_jllto a version that resolves this vulnerability.Fixed in 10.8.0+0
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using Artifex Ghostscript before 10.03.1 are exposed when Tesseract is used for OCR. The affected software entry is julia/ghostscript_jll.
What does an attacker need to exploit it?
The issue is remotely exploitable with low attack complexity, requires no privileges or user interaction, and is triggered through the OCRLanguage functionality when Tesseract OCR is in use.
What is the impact of successful exploitation?
An attacker can read arbitrary files through directory traversal and can cause error messages to be written to arbitrary files. The supplied vector rates confidentiality impact as high, with no integrity or availability impact.
How can I check whether my environment is affected?
Check whether your Ghostscript version is earlier than 10.03.1 and whether it uses Tesseract for OCR. The reported exploit examples use debug_file set to /tmp/out and user_patterns_file set to /etc/passwd.