Heap-Based Buffer Overflow in Ghostscript's JPEG 2000 Output Adapter
CVE-2026-39919

9.3CRITICAL

Key Information:

Vendor
CVE Published:
15 September 2026

Badges

📈 Score: 187👾 Exploit Exists📰 News Worthy

What is CVE-2026-39919?

CVE-2026-39919 is a critical vulnerability identified in Ghostscript, an open-source suite primarily used for processing PDF files and raster graphics. This specific flaw resides within the JPEG 2000 output adapter of Ghostscript, allowing attackers to exploit the software by providing a specially crafted PDF that contains a JPEG 2000 image. The vulnerability stems from a heap-based buffer overflow, which occurs when the software allocates insufficient memory for output while incorrectly handling component subsampling factors. The result is memory corruption that can lead to arbitrary code execution, empowering an attacker to potentially gain control over the affected system. Organizations relying on Ghostscript for document processing should be particularly vigilant, as this vulnerability could expose critical data and resources to unauthorized access.

Potential impact of CVE-2026-39919

  1. Remote Code Execution: The most significant risk presented by CVE-2026-39919 is the potential for remote code execution. This allows attackers to run malicious code on the affected system, leading to unauthorized access, system control, and further exploitation of networked systems.

  2. Data Compromise: Given the functionality of Ghostscript in handling sensitive document types, exploitation of this vulnerability could result in data breaches. Attackers may access or manipulate confidential information stored on the system, potentially leading to compliance violations and reputational damage.

  3. System Instability: The memory corruption caused by this vulnerability can lead to application crashes or system instability. Such disruptions can hinder business operations, causing downtime and loss of productivity, particularly for organizations that heavily rely on Ghostscript for processing documents.

Affected Version(s)

Ghostscript 0

News Articles

Ghostscript flaw lets hackers hijack servers via PDF uploads

A critical heap buffer overflow vulnerability (CVE-2026-39919) in the Ghostscript interpreter and rendering engine could allow remote code execution through specially crafted PDF files.

3 days ago

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 👾

    Exploit known to exist

  • 📰

    First article discovered by BleepingComputer

  • Vulnerability published

  • Vulnerability Reserved

Credit

Alex Thomas, Wordfence
Wordfence Argus
.