Ghostscript Integer Overflow Vulnerability

ghostscript Updated 02 Oct 2025

Summary

02/08/2015
N/A
Yes i
Unrated
Not published

DSA-3326-1: ghostscript - security update. Affects ghostscript versions < 9.05~dfsg-6.3+deb7u2. Fixed in 9.05~dfsg-6.3+deb7u2. 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 an open-source PostScript and PDF interpreter used for rendering and manipulating documents. It is commonly used for printing, converting files, and displaying documents on various platforms. The vulnerability in Ghostscript is an integer overflow issue that can lead to denial of service or potential execution of arbitrary code when a specially crafted file is opened.

Vulnerability Detail

The integer overflow vulnerability in Ghostscript allows an attacker to manipulate the interpreter's memory by providing a specially crafted file. By exploiting this vulnerability, an attacker can cause a denial of service or potentially execute arbitrary code on the affected system. This can lead to unauthorized access, data breaches, or further compromise of the system.

How To Fix

Minimum fixed version

9.05~dfsg-6.3+deb7u2

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 →

Conclusion

The integer overflow vulnerability in Ghostscript can lead to denial of service or potential execution of arbitrary code. It is crucial to upgrade to the fixed versions mentioned in the 'how_to_fix' section to mitigate the risk of exploitation. For further support on vulnerability remediation, you can reach out to 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 is commonly used for printing, converting files, and displaying documents on various platforms.

An integer overflow vulnerability occurs when an arithmetic operation results in a value that exceeds the maximum representable value for the data type used to store the result. In the case of Ghostscript, this vulnerability can be exploited to manipulate memory and potentially execute arbitrary code.

The consequences of this vulnerability can include denial of service, unauthorized access, data breaches, and further compromise of the affected system. An attacker can exploit this vulnerability to execute arbitrary code, potentially leading to complete control over the system.

To fix this vulnerability, you should upgrade the Ghostscript package to the fixed version provided by Debian. Refer to the 'how_to_fix' section for the specific versions to install based on your distribution.

You can obtain the updated Ghostscript packages from the official Debian repositories or through the package manager of your distribution. Make sure to update to the fixed versions mentioned in the 'how_to_fix' section.

Related vulnerabilities

Recent vulnerabilities recorded for ghostscript.

How To Fix

Minimum fixed version

9.05~dfsg-6.3+deb7u2

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