CVE-2026-39919

EUVD-2026-78584
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
VulnCheckCNA
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 58.12%
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources (CNA/ADP records, vendor advisories, Enginsight analysis).
VendorProductVersionSource
artifexghostscript
𝑥
< 10.8.0
CNA
Debian logo
Debian Releases
Debian Product
Codename
ghostscript
bookworm
vulnerable
bookworm (security)
vulnerable
forky
10.08.0~dfsg-2
fixed
sid
10.08.0~dfsg-2
fixed
trixie
vulnerable
trixie (security)
10.05.1~dfsg-1+deb13u3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ghostscript
bionic
needs-triage
focal
needs-triage
jammy
Fixed in 9.55.0~dfsg1-0ubuntu5.14
released
noble
Fixed in 10.02.1~dfsg1-0ubuntu7.9
released
resolute
Fixed in 10.06.0~dfsg-3ubuntu1.1
released
stonking
not-affected
xenial
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
ghostscript
suse enterprise desktop 15 SP7
9.52-150000.214.1
fixed
suse enterprise sap 12 SP5
9.52-23.100.1
fixed
suse enterprise sap 15 SP4
9.52-150000.214.1
fixed
suse enterprise sap 15 SP5
9.52-150000.214.1
fixed
suse enterprise sap 15 SP6
9.52-150000.214.1
fixed
suse enterprise sap 15 SP7
9.52-150000.214.1
fixed
suse enterprise server 12 SP3
9.52-23.100.1
fixed
suse enterprise server 12 SP5
9.52-23.100.1
fixed
suse enterprise server 15 SP4
9.52-150000.214.1
fixed
suse enterprise server 15 SP5
9.52-150000.214.1
fixed
suse enterprise server 15 SP6
9.52-150000.214.1
fixed
suse enterprise server 15 SP7
9.52-150000.214.1
fixed
ghostscript-devel
suse enterprise desktop 15 SP7
9.52-150000.214.1
fixed
suse enterprise sap 12 SP5
9.52-23.100.1
fixed
suse enterprise sap 15 SP4
9.52-150000.214.1
fixed
suse enterprise sap 15 SP5
9.52-150000.214.1
fixed
suse enterprise sap 15 SP6
9.52-150000.214.1
fixed
suse enterprise sap 15 SP7
9.52-150000.214.1
fixed
suse enterprise server 12 SP3
9.52-23.100.1
fixed
suse enterprise server 12 SP5
9.52-23.100.1
fixed
suse enterprise server 15 SP4
9.52-150000.214.1
fixed
suse enterprise server 15 SP5
9.52-150000.214.1
fixed
suse enterprise server 15 SP6
9.52-150000.214.1
fixed
suse enterprise server 15 SP7
9.52-150000.214.1
fixed
ghostscript-x11
suse enterprise desktop 15 SP7
9.52-150000.214.1
fixed
suse enterprise sap 12 SP5
9.52-23.100.1
fixed
suse enterprise sap 15 SP4
9.52-150000.214.1
fixed
suse enterprise sap 15 SP5
9.52-150000.214.1
fixed
suse enterprise sap 15 SP6
9.52-150000.214.1
fixed
suse enterprise sap 15 SP7
9.52-150000.214.1
fixed
suse enterprise server 12 SP3
9.52-23.100.1
fixed
suse enterprise server 12 SP5
9.52-23.100.1
fixed
suse enterprise server 15 SP4
9.52-150000.214.1
fixed
suse enterprise server 15 SP5
9.52-150000.214.1
fixed
suse enterprise server 15 SP6
9.52-150000.214.1
fixed
suse enterprise server 15 SP7
9.52-150000.214.1
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
libgs
RHEL 9
0:9.54.0-19.el9_8.1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
ghostscript
Amazon Linux 2
0:9.54.0-9.amzn2.0.14
fixed
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-cups
Amazon Linux 2
0:9.54.0-9.amzn2.0.14
fixed
ghostscript-debuginfo
Amazon Linux 2
0:9.54.0-9.amzn2.0.14
fixed
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-debugsource
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-doc
Amazon Linux 2
0:9.54.0-9.amzn2.0.14
fixed
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-gtk
Amazon Linux 2
0:9.54.0-9.amzn2.0.14
fixed
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-gtk-debuginfo
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-tools-dvipdf
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-tools-fonts
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-tools-printing
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-x11
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
ghostscript-x11-debuginfo
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
libgs
Amazon Linux 2
0:9.54.0-9.amzn2.0.14
fixed
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
libgs-debuginfo
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed
libgs-devel
Amazon Linux 2
0:9.54.0-9.amzn2.0.14
fixed
Amazon Linux 2023
0:9.56.1-7.amzn2023.0.20
fixed