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

ghostscript Updated 03 Oct 2026

Summary

03/10/2026
N/A
Yes i
High
7.8

RLSA-2026:74457: Moderate: ghostscript security update. Affects ghostscript versions < 0:9.54.0-19.el9_8.1. Fixed in 0:9.54.0-19.el9_8.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 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 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. The package is widely used in various applications that require document processing and rendering capabilities. However, it has recently been identified to have a security vulnerability that could potentially lead to severe consequences if exploited.

Vulnerability Detail

The vulnerability identified as CVE-2026-39919 is a heap buffer overflow that occurs through the JPEG 2000 output adapter in Ghostscript. This flaw allows an attacker to manipulate the memory allocation of the application, which can lead to arbitrary code execution, data corruption, or crashes. The severity of this vulnerability is underscored by its CVSS score of 7.8, indicating a high risk to systems utilizing this software.

How To Fix

Minimum fixed version

0:9.54.0-19.el9_8.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 may consider disabling the JPEG 2000 output adapter if it is not critical to their operations. This can be done by modifying the Ghostscript configuration files to exclude this adapter until the update can be applied.

Conclusion

The Ghostscript vulnerability CVE-2026-39919 poses a significant risk due to its potential for arbitrary code execution. Users are strongly advised to update to the latest patched version to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for ghostscript →

Share this vulnerability

FAQ

Ghostscript is a suite of software that interprets PostScript and PDF files, allowing for their rendering and processing.

It is a heap buffer overflow vulnerability that can lead to arbitrary code execution through the JPEG 2000 output adapter.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

The CVSS score for this vulnerability is 7.8, indicating a high level of risk.

Consider disabling the JPEG 2000 output adapter as a temporary workaround until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for ghostscript.

How To Fix

Minimum fixed version

0:9.54.0-19.el9_8.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