Skip to content

Write-ups

Ghostscript

Every publicly disclosed report for Ghostscript and what kind of bugs they were.

disclosed reports
2
most reported class
Path traversal
bug classes found
2

Disclosed reports

Newest first. Only what Ghostscript chose to make public.

Path traversal

CVE-2024-29511 – Abusing Ghostscript’s OCR device

Ghostscript's OCR device passes the OCRLanguage parameter to Tesseract without path traversal checks, allowing an attacker to load a crafted traineddata file from any path. This enables reading arbitrary files (via debug_file and user_patterns_file) and writing to arbitrary files, bypassing the -dSAFER sandbox.

Ghostscript

RCE

CVE-2024-29510 – Exploiting Ghostscript using format strings

A format string vulnerability in Ghostscript's uniprint device allows a Postscript file to read and write memory via crafted device parameters, bypassing the -dSAFER sandbox and leading to code execution. An attacker could exploit this by supplying a malicious document to any service that uses Ghostscript for conversion.

Ghostscript