Critical Vulnerabilities in Ghostscript Package: Security Update Required

ghostscript Updated 02 Oct 2025

Summary

29/07/2025
N/A
Yes i
High
7.8

RLSA-2025:4362: Moderate: ghostscript security update. Affects ghostscript versions < 0:9.27-16.el8_10. Fixed in 0:9.27-16.el8_10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Ghostscript is a suite of software that provides utilities for rendering PostScript and PDF documents. It translates PostScript code into common bitmap formats for display and printing. The package is widely used in various applications for document processing, making it essential for users to ensure its security and integrity.

Vulnerability Detail

The Ghostscript package has multiple vulnerabilities that could lead to severe security risks. These include a heap buffer overwrite vulnerability (CVE-2020-27792), a dangling pointer issue (CVE-2023-46751), and several critical vulnerabilities that could allow arbitrary code execution, buffer overflows, and directory traversal attacks (CVE-2024-46951, CVE-2024-46952, CVE-2024-46953, CVE-2024-46954, CVE-2024-46956). These vulnerabilities can be exploited by attackers to execute malicious code, potentially compromising the system's security.

How To Fix

Minimum fixed version

0:9.27-16.el8_10

This is the first release that contains the fix.

sudo dnf update ghostscript

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, consider restricting access to the Ghostscript utilities or disabling features that may expose the vulnerabilities until the package can be updated.

Conclusion

The Ghostscript package has several critical vulnerabilities that require immediate attention. Users are advised to update to the latest patched version to mitigate potential security risks. Regular monitoring and vulnerability management practices are essential to maintain software security.

See every vulnerability recorded for ghostscript →

Share this vulnerability

FAQ

Ghostscript is a suite of software that interprets PostScript and PDF files, allowing them to be rendered and printed.

The vulnerabilities can lead to arbitrary code execution, data breaches, and system compromise, posing significant security risks.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

If immediate updates are not possible, consider implementing access restrictions or disabling vulnerable features as a temporary workaround.

The CVSS score for the vulnerabilities in Ghostscript is 7.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for ghostscript.

How To Fix

Minimum fixed version

0:9.27-16.el8_10

This is the first release that contains the fix.

sudo dnf update ghostscript

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback