Live threats

All CVEs / Artifex Software

CVE-2026-39919Artifex Software Ghostscript

Heap Buffer Overflow in Ghostscript JPEG 2000 Output Adapter

Critical 9.3 No auth needed

Priority
71
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Sep 15, 2026
Updated
Sep 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Ghostscript before 10.08.0 contains a heap-based buffer overflow in the JPEG 2000 output adapter that allows remote attackers to cause memory corruption and code execution via a crafted PDF with a JPEG 2000 image with mismatched component subsampling factors. No authentication is required.

Show the original NVD text

Ghostscript before 10.08.0 contains a heap-based buffer overflow vulnerability in the JPEG 2000 output adapter (base/sjpx_openjpeg.c) that allows attackers to cause memory corruption by supplying a crafted PDF containing a JPEG 2000 image with mismatched component subsampling factors. When image components declare different subsampling values, the non-samescale sub-byte-depth output path allocates a row buffer sized for packed output but writes a full byte per output column regardless of bit depth, overflowing the allocation and corrupting internal chunk-allocator metadata to achieve code execution.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 10.08.0

Update Ghostscript to version 10.08.0 or later.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Ghostscript.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: SUSE (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.