# CVE-2026-39919: Ghostscript \< 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 10.08.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-15 · Modified: 2026-10-01
- Aliases: SUSE-SU-2026:4598-1, RHSA-2026:74457, RHSA-2026:74464, RHSA-2026:76877, UBUNTU-CVE-2026-39919, USN-8791-1, DEBIAN-CVE-2026-39919, openSUSE-SU-2026:11959-1, SUSE-SU-2026:4632-1, openSUSE-SU-2026:22063-1, ALPINE-CVE-2026-39919, SUSE-SU-2026:24214-1, MGASA-2026-0545
- Record: https://cvemate.com/vulnerability/CVE-2026-39919 · JSON: https://cvemate.com/vulnerability/CVE-2026-39919/json

## Description

```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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.849%, percentile 59.422%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- alpine ghostscript (Alpine Linux): \< 10.08.0-r0
- artifex software ghostscript: \< 10.08.0
- debian ghostscript (Debian): All versions (No fix recorded) \| \< 10.0.0~dfsg-11+deb12u9 \| \< 10.05.1~dfsg-1+deb13u2 \| \< 10.08.0~dfsg-1
- ubuntu ghostscript (Ubuntu): All versions (No fix recorded) \| \< 9.55.0~dfsg1-0ubuntu5.14 \| \< 10.02.1~dfsg1-0ubuntu7.9 \| \< 10.06.0~dfsg-3ubuntu1.1
- mageia ghostscript (Mageia): \< 10.08.0-1.mga10
- opensuse ghostscript&distro=openSUSE Leap 16.0 (openSUSE): \< 10.08.0-160000.1.1
- opensuse ghostscript&distro=openSUSE Tumbleweed (openSUSE): \< 10.08.0-1.1
- redhat ghostscript (Red Hat): \< 0:9.27-18.el8\_10
- redhat libgs (Red Hat): \< 0:9.54.0-19.el9\_8.1 \| \< 0:10.02.1-16.el10\_2.1 \| \< 0:9.27-18.el8\_10
- suse ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 9.52-150000.214.1
- suse ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 9.52-150000.214.1
- suse ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS (SUSE Linux Enterprise): \< 9.52-150000.214.1
- suse ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS (SUSE Linux Enterprise): \< 9.52-150000.214.1
- suse ghostscript&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7 (SUSE Linux Enterprise): \< 9.52-150000.214.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 12 SP5-LTSS (SUSE Linux Enterprise): \< 9.52-23.100.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 15 SP4-LTSS (SUSE Linux Enterprise): \< 9.52-150000.214.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 15 SP5-LTSS (SUSE Linux Enterprise): \< 9.52-150000.214.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 15 SP6-LTSS (SUSE Linux Enterprise): \< 9.52-150000.214.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 16.0 (SUSE Linux Enterprise): \< 10.08.0-160000.1.1
- suse ghostscript&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP4 (SUSE Linux Enterprise): \< 9.52-150000.214.1

## References (first 20 of 27)

- <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10080>
- <https://github.com/ArtifexSoftware/ghostpdl/commit/0a8bf88e39db07b0751a58d6ec1cf992073e4dc1>
- <https://bugs.ghostscript.com/show_bug.cgi?id=709666>
- <https://www.vulncheck.com/advisories/ghostscript-heap-buffer-overflow-via-jpeg-2000-output-adapter>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20264598-1/>
- <https://bugzilla.suse.com/1280620>
- <https://www.suse.com/security/cve/CVE-2026-39919>
- <https://access.redhat.com/errata/RHSA-2026:74457>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2533857>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_74457.json>
- <https://access.redhat.com/security/cve/CVE-2026-39919>
- <https://www.cve.org/CVERecord?id=CVE-2026-39919>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39919>
- <https://access.redhat.com/errata/RHSA-2026:74464>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_74464.json>
- <https://access.redhat.com/errata/RHSA-2026:76877>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_76877.json>
- <https://ubuntu.com/security/CVE-2026-39919>
- <https://ubuntu.com/security/notices/USN-8791-1>

---

Data as of 2026-12-05T09:44:18.822Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
