Moderate Vulnerability in Ghostscript: Heap Buffer Overflow via JPEG 2000 Output Adapter

ghostscript Updated 02 Oct 2026

Summary

01/10/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:74464: Moderate: ghostscript security update. Affects ghostscript versions < 10.02.1-16.el10_2.1. Fixed in 10.02.1-16.el10_2.1. 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 documents. The package is widely used in various applications for document processing and printing tasks. However, it has recently been identified as having a security vulnerability that could potentially allow unauthorized access or manipulation of data.

Vulnerability Detail

The vulnerability identified in Ghostscript is a heap buffer overflow that occurs via the JPEG 2000 output adapter. This flaw can be exploited by attackers to execute arbitrary code, leading to potential data breaches or system compromise. The issue is rooted in the way Ghostscript handles JPEG 2000 images, which can result in memory corruption and unpredictable behavior of the application.

How To Fix

Minimum fixed version

10.02.1-16.el10_2.1

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, users can restrict access to the Ghostscript utilities or avoid processing untrusted PostScript or PDF files until the update is applied. Additionally, implementing strict input validation can help mitigate the risk of exploitation.

Conclusion

The Ghostscript vulnerability identified as a heap buffer overflow poses a significant risk to users who rely on this software for document processing. It is crucial to update to the patched version to protect against potential exploitation. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert.

See every vulnerability recorded for ghostscript →

Share this vulnerability

FAQ

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

A heap buffer overflow is a type of vulnerability that occurs when a program writes more data to a buffer located on the heap than it can hold, potentially leading to memory corruption.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

Exploitation of this vulnerability could lead to unauthorized access, data breaches, or system compromise, allowing attackers to execute arbitrary code.

While updating is the best solution, you can mitigate the risk by restricting access to Ghostscript utilities and avoiding processing untrusted files.

Related vulnerabilities

Recent vulnerabilities recorded for ghostscript.

How To Fix

Minimum fixed version

10.02.1-16.el10_2.1

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