Moderate Vulnerability in Ghostscript Package: Compression Buffer Overflow

ghostscript Updated 04 Oct 2025

Summary

03/10/2025
N/A
Yes i
Medium
5.5

RLSA-2025:7593: Moderate: ghostscript security update. Affects ghostscript versions < 0:10.02.1-16.el10_0. Fixed in 0:10.02.1-16.el10_0. 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, allowing for display and printing. This package is widely used in various applications that require document processing and rendering capabilities. However, it is susceptible to vulnerabilities that can compromise its functionality and security.

Vulnerability Detail

The vulnerability identified as CVE-2025-27832 is a compression buffer overflow in the NPDL device of Ghostscript. This flaw can lead to potential exploitation, allowing attackers to execute arbitrary code or cause a denial of service, thereby impacting the availability of the application. The severity of this vulnerability is rated with a CVSS score of 5.5, indicating a moderate risk level.

How To Fix

Minimum fixed version

0:10.02.1-16.el10_0

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, if updating the package is not feasible, consider disabling the NPDL device in Ghostscript configurations to prevent exploitation until a proper update can be applied.

Conclusion

The Ghostscript package has a moderate vulnerability (CVE-2025-27832) that can lead to significant security risks. It is crucial to update to the latest patched version to ensure the security and functionality of applications relying on Ghostscript. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for ghostscript →

Share this vulnerability

FAQ

CVE-2025-27832 is a vulnerability in the Ghostscript package that involves a compression buffer overflow in the NPDL device.

Exploitation of this vulnerability could allow attackers to execute arbitrary code or cause a denial of service, affecting the application's availability.

You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing a manifest file like package-lock.json. Visit Vulert Scanner to check your application without needing to sign up.

It is recommended to update Ghostscript to the patched version 0:10.02.1-16.el10_0 or later to mitigate the vulnerability.

Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities without requiring code access or installation.

Related vulnerabilities

Recent vulnerabilities recorded for ghostscript.

How To Fix

Minimum fixed version

0:10.02.1-16.el10_0

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