Skip to main content

CVE-2026-39919: Heap-based Buffer Overflow in Artifex Software Ghostscript

0
Critical
VulnerabilityCVE-2026-39919cvecve-2026-39919
Published: 09/15/2026 (09/15/2026, 14:26:06 UTC)
Source: CVE Database V5
Vendor/Project: Artifex Software
Product: Ghostscript

Description

A heap-based buffer overflow vulnerability exists in Artifex Software Ghostscript versions before 10.08.0. The flaw occurs in the JPEG 2000 output adapter when processing crafted PDFs with JPEG 2000 images that have mismatched component subsampling factors. This leads to memory corruption and potential code execution.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Artifex Software

Ghostscript

Affected versions
>=0 <10.08.0
GitHub Actionsmore threats →ai
artifexsoftware/ghostpdl
pkg:github/artifexsoftware/ghostpdl
Affected versions
>=0 <10.08.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 22:17:11 UTC

Technical Analysis

CVE-2026-39919 is a heap-based buffer overflow vulnerability in Ghostscript prior to version 10.08.0, specifically in the JPEG 2000 output adapter (base/sjpx_openjpeg.c). The vulnerability arises when a crafted PDF contains a JPEG 2000 image with components declaring different subsampling values. The non-samescale sub-byte-depth output path allocates a row buffer sized for packed output but incorrectly writes a full byte per output column regardless of bit depth. This causes an overflow of the allocated buffer, corrupting internal chunk-allocator metadata and potentially allowing an attacker to achieve arbitrary code execution.

Potential Impact

Successful exploitation can lead to memory corruption and arbitrary code execution without requiring user interaction or privileges. The vulnerability has a CVSS 4.0 score of 9.3, indicating critical severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed.

Mitigation Recommendations

A fix is available in Ghostscript version 10.08.0. Users should upgrade to version 10.08.0 or later to remediate this vulnerability. No vendor advisory content was provided, but the affected versions and patch version are clearly stated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-04-07T20:57:06.209Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa9c2a755bf5e2cf572c5a5

Added to database: 09/15/2026, 22:11:51 UTC

Last enriched: 09/15/2026, 22:17:11 UTC

Last updated: 09/15/2026, 22:21:29 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses