Heap-buffer-overflow in ghostscript: Ins_JROF

ghostscript Updated 02 Oct 2025

Summary

01/07/2022
MEDIUM
No i
Medium
Not published

OSV-2022-524: Heap-buffer-overflow in Ins_JROF. Affects ghostscript versions >= 441c9e3a4ca08fa7f7c00063af33196b0d88ebaf. No fix is published. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Ghostscript is an open-source interpreter for the PostScript language and the PDF file format. It is widely used for rendering and converting documents. The vulnerability identified as Ins_JROF is a heap-buffer-overflow issue in Ghostscript. This vulnerability can be triggered by a specific input, leading to a read overflow. It was reported through the OSS-Fuzz project, which focuses on fuzzing open-source software to uncover vulnerabilities.

Vulnerability Detail

The Ins_JROF vulnerability in Ghostscript is a heap-buffer-overflow issue that occurs during the execution of the Ins_JROF instruction. This vulnerability can be exploited by an attacker to read beyond the bounds of a heap buffer, potentially leading to memory corruption and arbitrary code execution. The vulnerability was introduced in version 441c9e3a4ca08fa7f7c00063af33196b0d88ebaf of the Ghostscript repository. The severity of this vulnerability is considered medium.

How To Fix

No fixed version is published for this vulnerability.

To fix the Ins_JROF vulnerability in Ghostscript, it is recommended to update to a version where the issue has been patched. The maintainers of Ghostscript have likely released a fix for this vulnerability, so users should update their installations to the latest version available. It is important to regularly check for updates and apply them promptly to ensure the security of the software.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

At the moment, there is no known workaround for the Ins_JROF vulnerability in Ghostscript. It is advised to follow the recommended fix and update to a patched version of the software.

Conclusion

The Ins_JROF vulnerability in Ghostscript is a medium-severity heap-buffer-overflow issue that can lead to memory corruption and potential code execution. Users of Ghostscript should update to a patched version of the software to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ghostscript →

Share this vulnerability

FAQ

Ghostscript is an open-source interpreter for the PostScript language and the PDF file format. It is commonly used for rendering and converting documents.

The Ins_JROF vulnerability is a heap-buffer-overflow issue in Ghostscript. It can be triggered by a specific input, leading to a read overflow and potential memory corruption.

An attacker can exploit the Ins_JROF vulnerability by providing a specially crafted input that triggers the heap-buffer-overflow. This can potentially allow the attacker to execute arbitrary code or cause a denial-of-service.

The severity of the Ins_JROF vulnerability is considered medium.

Currently, there is no known workaround for the Ins_JROF vulnerability. It is recommended to update to a patched version of Ghostscript.

Related vulnerabilities

Recent vulnerabilities recorded for ghostscript.

How To Fix

No fixed version is published for this vulnerability.

To fix the Ins_JROF vulnerability in Ghostscript, it is recommended to update to a version where the issue has been patched. The maintainers of Ghostscript have likely released a fix for this vulnerability, so users should update their installations to the latest version available. It is important to regularly check for updates and apply them promptly to ensure the security of the software.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.