Ghostscript - Heap-based Buffer Overflow Vulnerability

ghostscript Updated 02 Oct 2025

Summary

01/08/2017
N/A
Yes i
Unrated
Not published

DLA-1048-1: ghostscript - security update. Affects ghostscript versions < 9.05~dfsg-6.3+deb7u7. Fixed in 9.05~dfsg-6.3+deb7u7. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Ghostscript is an open-source PostScript and PDF interpreter used for rendering and manipulating documents. It provides functionality for converting PostScript files to PDF format and vice versa, as well as rendering and printing these documents. The vulnerability in question is a heap-based buffer overflow that can be triggered by a specially crafted PostScript document. This can lead to a denial of service or potentially have other unspecified impacts.

Vulnerability Detail

The vulnerability in Ghostscript arises from several issues that allow remote attackers to exploit the software. By sending a maliciously crafted PostScript document, an attacker can trigger a heap-based buffer overflow, causing the application to crash or potentially execute arbitrary code. The exact impact of the vulnerability is unspecified, but it poses a significant risk to the stability and security of systems running vulnerable versions of Ghostscript.

How To Fix

Minimum fixed version

9.05~dfsg-6.3+deb7u7

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ghostscript

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

Workaround

No workaround has been provided for this vulnerability. It is essential to apply the recommended fix by upgrading to the patched version of Ghostscript.

Conclusion

The heap-based buffer overflow vulnerability in Ghostscript poses a significant risk to systems running vulnerable versions of the software. It is crucial to upgrade to the patched version (9.05~dfsg-6.3+deb7u7 or later) to ensure the security and stability of your system. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ghostscript →

Share this vulnerability

FAQ

Ghostscript is an open-source PostScript and PDF interpreter used for rendering and manipulating documents. It provides functionality for converting PostScript files to PDF format and vice versa, as well as rendering and printing these documents.

A heap-based buffer overflow is a type of vulnerability where an attacker can overwrite data in the heap memory of a program. By sending a specially crafted input, the attacker can exceed the allocated buffer size and overwrite adjacent memory, potentially leading to a crash or arbitrary code execution.

This vulnerability can be exploited by sending a maliciously crafted PostScript document to a vulnerable instance of Ghostscript. The document triggers a heap-based buffer overflow, causing the application to crash or potentially execute arbitrary code.

The exact impacts of this vulnerability are unspecified, but they can include denial of service, application crashes, and potentially arbitrary code execution. Exploiting this vulnerability can compromise the stability and security of systems running vulnerable versions of Ghostscript.

To protect your system, it is crucial to upgrade your Ghostscript installation to version 9.05~dfsg-6.3+deb7u7 or later. This update includes patches that address the identified issues and prevent the exploitation of the heap-based buffer overflow.

Related vulnerabilities

Recent vulnerabilities recorded for ghostscript.

How To Fix

Minimum fixed version

9.05~dfsg-6.3+deb7u7

This is the first release that contains the fix.

sudo apt-get install --only-upgrade 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