CVE-2026-39919
published critical CVSS 4.0 · 9.3Ghostscript < 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Artifex Software | — | Ghostscript0 to < 10.08.0 · Other versions: affected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-4034 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3294 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | ghostscript-doc | Advisory build | 10.02.1-16.el10_2.1 | ALSA-2026:74464 |
| Alpine Linux | edge | ghostscript | Fixed | 10.08.0-r0 | Package fix record |
| Debian | bookworm | ghostscript | Advisory build | 10.0.0~dfsg-11+deb12u9 | DLA-4914-1 |
| Oracle Linux | 10 | ghostscriptaarch64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Red Hat Enterprise Linux | RHEL-10 | libgsaarch64 | Advisory build | 10.02.1-16.el10_2.1 | RHSA-2026:74464 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptaarch64 | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| AlmaLinux | 10 | ghostscript-tools-dvipdf | Advisory build | 10.02.1-16.el10_2.1 | ALSA-2026:74464 |
| AlmaLinux | 10 | ghostscript-tools-fonts | Advisory build | 10.02.1-16.el10_2.1 | ALSA-2026:74464 |
| AlmaLinux | 10 | ghostscript-tools-printing | Advisory build | 10.02.1-16.el10_2.1 | ALSA-2026:74464 |
| AlmaLinux | 8 | ghostscript | Advisory build | 9.27-18.el8_10 | ALSA-2026:76877 |
| AlmaLinux | 8 | ghostscript-doc | Advisory build | 9.27-18.el8_10 | ALSA-2026:76877 |
| AlmaLinux | 8 | ghostscript-tools-dvipdf | Advisory build | 9.27-18.el8_10 | ALSA-2026:76877 |
| AlmaLinux | 8 | ghostscript-tools-fonts | Advisory build | 9.27-18.el8_10 | ALSA-2026:76877 |
| AlmaLinux | 8 | ghostscript-tools-printing | Advisory build | 9.27-18.el8_10 | ALSA-2026:76877 |
| AlmaLinux | 8 | ghostscript-x11 | Advisory build | 9.27-18.el8_10 | ALSA-2026:76877 |
| AlmaLinux | 8 | libgs | Advisory build | 9.27-18.el8_10 | ALSA-2026:76877 |
| AlmaLinux | 8 | libgs-devel | Advisory build | 9.27-18.el8_10 | ALSA-2026:76877 |
| AlmaLinux | 9 | ghostscript | Advisory build | 9.54.0-19.el9_8.1 | ALSA-2026:74457 |
| AlmaLinux | 9 | ghostscript-doc | Advisory build | 9.54.0-19.el9_8.1 | ALSA-2026:74457 |
| AlmaLinux | 9 | ghostscript-tools-dvipdf | Advisory build | 9.54.0-19.el9_8.1 | ALSA-2026:74457 |
| AlmaLinux | 9 | ghostscript-tools-fonts | Advisory build | 9.54.0-19.el9_8.1 | ALSA-2026:74457 |
| AlmaLinux | 9 | ghostscript-tools-printing | Advisory build | 9.54.0-19.el9_8.1 | ALSA-2026:74457 |
| AlmaLinux | 9 | ghostscript-x11 | Advisory build | 9.54.0-19.el9_8.1 | ALSA-2026:74457 |
| AlmaLinux | 9 | libgs | Advisory build | 9.54.0-19.el9_8.1 | ALSA-2026:74457 |
| AlmaLinux | 9 | libgs-devel | Advisory build | 9.54.0-19.el9_8.1 | ALSA-2026:74457 |
| Alpine Linux | v3.21 | ghostscript | Fixed | 10.08.0-r0 | Package fix record |
| Alpine Linux | v3.22 | ghostscript | Fixed | 10.08.0-r0 | Package fix record |
| Alpine Linux | v3.23 | ghostscript | Fixed | 10.08.0-r0 | Package fix record |
| Alpine Linux | v3.24 | ghostscript | Fixed | 10.08.0-r0 | Package fix record |
| Debian | trixie | ghostscript | Advisory build | 10.05.1~dfsg-1+deb13u2 | DSA-6516-1 |
| Oracle Linux | 10 | ghostscriptx86_64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | ghostscript-docaarch64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | ghostscript-docx86_64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | ghostscript-tools-dvipdfaarch64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | ghostscript-tools-dvipdfx86_64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | ghostscript-tools-fontsaarch64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | ghostscript-tools-fontsx86_64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | ghostscript-tools-printingaarch64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | ghostscript-tools-printingx86_64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | libgsaarch64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | libgsx86_64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | libgs-develaarch64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 10 | libgs-develx86_64 | Advisory build | 0:10.02.1-16.el10_2.1 | ELSA-2026-74464 |
| Oracle Linux | 8 | ghostscriptaarch64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscriptx86_64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-docaarch64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-docx86_64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-tools-dvipdfaarch64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-tools-dvipdfx86_64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-tools-fontsaarch64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-tools-fontsx86_64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-tools-printingaarch64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-tools-printingx86_64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-x11aarch64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | ghostscript-x11x86_64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | libgsaarch64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | libgsx86_64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | libgs-develaarch64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 8 | libgs-develx86_64 | Advisory build | 0:9.27-18.el8_10 | ELSA-2026-76877 |
| Oracle Linux | 9 | ghostscriptaarch64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscriptx86_64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-docaarch64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-docx86_64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-tools-dvipdfaarch64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-tools-dvipdfx86_64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-tools-fontsaarch64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-tools-fontsx86_64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-tools-printingaarch64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-tools-printingx86_64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-x11aarch64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | ghostscript-x11x86_64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | libgsaarch64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | libgsx86_64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | libgs-develaarch64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Oracle Linux | 9 | libgs-develx86_64 | Advisory build | 0:9.54.0-19.el9_8.1 | ELSA-2026-74457 |
| Red Hat Enterprise Linux | RHEL-10 | libgsppc64le | Advisory build | 10.02.1-16.el10_2.1 | RHSA-2026:74464 |
| Red Hat Enterprise Linux | RHEL-10 | libgss390x | Advisory build | 10.02.1-16.el10_2.1 | RHSA-2026:74464 |
| Red Hat Enterprise Linux | RHEL-10 | libgsx86_64 | Advisory build | 10.02.1-16.el10_2.1 | RHSA-2026:74464 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptsrc | Advisory build | 9.27-18.el8_10 | RHSA-2026:76877 |
| Red Hat Enterprise Linux | RHEL-8 | libgsaarch64 | Advisory build | 9.27-18.el8_10 | RHSA-2026:76877 |
| Red Hat Enterprise Linux | RHEL-8 | libgsi686 | Advisory build | 9.27-18.el8_10 | RHSA-2026:76877 |
| Red Hat Enterprise Linux | RHEL-8 | libgsppc64le | Advisory build | 9.27-18.el8_10 | RHSA-2026:76877 |
| Red Hat Enterprise Linux | RHEL-8 | libgss390x | Advisory build | 9.27-18.el8_10 | RHSA-2026:76877 |
| Red Hat Enterprise Linux | RHEL-8 | libgsx86_64 | Advisory build | 9.27-18.el8_10 | RHSA-2026:76877 |
| Red Hat Enterprise Linux | RHEL-9 | libgsaarch64 | Advisory build | 9.54.0-19.el9_8.1 | RHSA-2026:74457 |
| Red Hat Enterprise Linux | RHEL-9 | libgsi686 | Advisory build | 9.54.0-19.el9_8.1 | RHSA-2026:74457 |
| Red Hat Enterprise Linux | RHEL-9 | libgsppc64le | Advisory build | 9.54.0-19.el9_8.1 | RHSA-2026:74457 |
| Red Hat Enterprise Linux | RHEL-9 | libgss390x | Advisory build | 9.54.0-19.el9_8.1 | RHSA-2026:74457 |
| Red Hat Enterprise Linux | RHEL-9 | libgsx86_64 | Advisory build | 9.54.0-19.el9_8.1 | RHSA-2026:74457 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptppc64le | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscripts390x | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptx86_64 | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develaarch64 | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develppc64le | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-devels390x | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develx86_64 | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11aarch64 | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11ppc64le | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11s390x | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11x86_64 | Advisory build | 9.52-23.100.1 | SUSE-SU-2026:4598-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Artifex Software | Ghostscript | 0 to < 10.08.0 (affected · custom)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-122 Heap-based Buffer Overflow
References
4- Bugzilla Report https://bugs.ghostscript.com/show_bug.cgi?id=709666
- Ghostscript 10.08.0 (gs10080) Release Notes https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10080
- Patch Commit https://github.com/ArtifexSoftware/ghostpdl/commit/0a8bf88e39db07b0751a58d6ec1cf992073e4dc1
- https://www.vulncheck.com/advisories/ghostscript-heap-buffer-overflow-via-jpeg-2000-output-adapter
Provider assertions
2VulnCheck · cna
Ghostscript < 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b74f0fdf31afa9dd108e53ea05f749c474e4718fea44f5c9c6e52d4d96f6737e
- Ingested
- 01 Oct 2026, 18:31:22 UTC
- Source record
- Official CVE record