CVE-2026-39919Artifex Software Ghostscript
Heap Buffer Overflow in Ghostscript JPEG 2000 Output Adapter
Critical 9.3 No auth needed
Follow: this CVE · Artifex Software · Artifex Software Ghostscript We alert you by email or Slack (account required).
- 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.
What to do
Patch available · fixed versions: 10.08.0
Update Ghostscript to version 10.08.0 or later.
- Apply the vendor's security update for Ghostscript.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Artifex Software · Ghostscript
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for ghostscript · SUSE · SUSE-SU-2026:4632-1 · Oct 12, 2026 Critical
- Security update for ghostscript · SUSE · openSUSE-SU-2026:22063-1 · Oct 9, 2026 Critical
- Security update for ghostscript · SUSE · SUSE-SU-2026:24214-1 · Oct 9, 2026 Critical
- Red Hat Security Advisory: ghostscript security update · Red Hat · RHSA-2026:76877 · Oct 7, 2026 Medium
- Red Hat Security Advisory: ghostscript security update · Red Hat · RHSA-2026:74464 · Oct 2, 2026 Medium
- Red Hat Security Advisory: ghostscript security update · Red Hat · RHSA-2026:74457 · Oct 2, 2026 Medium
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.