CVE-2026-39919: artifex software ghostscript Heap-based Buffer Overflow
Vulnerability summary
CVE-2026-39919 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in artifex software ghostscript. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 55.3% of scored vulnerabilities.
Timeline
- 15-09-2026PublishedVulnerability first disclosed.
- 01-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
9 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated9.3CriticalCVSS: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
- NVDNIST9.3CriticalCVSS: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
- OSV · AlpineEcosystem advisory · calculated9.3CriticalCVSS: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
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.78%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
+0.30 pp
From 0.49% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse13 products
- ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 9.52-150000.214.1
- ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 9.52-150000.214.1
- ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 9.52-150000.214.1
- ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 9.52-150000.214.1
- ghostscript&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 9.52-150000.214.1
Opensuse2 products
- ghostscript&distro=openSUSE Leap 16.0< 10.08.0-160000.1.1
- ghostscript&distro=openSUSE Tumbleweed< 10.08.0-1.1
Redhat2 products
- ghostscript< 0:9.27-18.el8_10
- libgs< 0:9.54.0-19.el9_8.1 | < 0:10.02.1-16.el10_2.1 | < 0:9.27-18.el8_10
Alpine1 product
- ghostscript< 10.08.0-r0
Artifex software1 product
- ghostscript< 10.08.0
Debian1 product
- ghostscriptAll versions (No fix recorded) | < 10.05.1~dfsg-1+deb13u2 | < 10.08.0~dfsg-1
Ubuntu1 product
- ghostscriptAll versions (No fix recorded) | < 9.55.0~dfsg1-0ubuntu5.14 | < 10.02.1~dfsg1-0ubuntu7.9 | < 10.06.0~dfsg-3ubuntu1.1
7 vendors · 21 products
References
23 links- www.vulncheck.com/advisories/ghostscript-heap-buffer-overflow-via-jpeg-2000-output-adapterThird Party AdvisoryARTICLE