Moderate Vulnerability in Ghostscript: Compression Buffer Overflow

ghostscript Updated 02 Oct 2025

Summary

29/07/2025
N/A
Yes i
Medium
5.5

RLSA-2025:8421: Moderate: ghostscript security update. Affects ghostscript versions < 0:9.27-17.el8_10. Fixed in 0:9.27-17.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, enabling the display and printing of these documents. Ghostscript is widely used in various applications for document processing and printing tasks. However, it has been identified to have a security vulnerability that could potentially compromise the integrity of the system using it.

Vulnerability Detail

The vulnerability identified in Ghostscript is a compression buffer overflow associated with the NPDL device, tracked as CVE-2025-27832. This issue arises from improper handling of data during the compression process, which can lead to a buffer overflow. An attacker could exploit this vulnerability to execute arbitrary code, potentially leading to unauthorized access or system crashes. The CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

0:9.27-17.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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patch as soon as possible.

Conclusion

In summary, the Ghostscript package has a moderate vulnerability related to a compression buffer overflow. Users are advised to update to the latest patched version to mitigate any potential risks associated with this vulnerability. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for ghostscript →

Share this vulnerability

FAQ

The vulnerability is a compression buffer overflow that can lead to arbitrary code execution.

You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.

The CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

You should update Ghostscript to the patched version 0:9.27-17.el8_10 using the command 'sudo dnf update ghostscript'.

Currently, there are no specific workarounds available. Updating to the patched version is the recommended action.

Related vulnerabilities

Recent vulnerabilities recorded for ghostscript.

How To Fix

Minimum fixed version

0:9.27-17.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