Read the docs
TI-2026-28788 Aliases CVE-2026-39919GHSA-v865-hp77-22rm

Ghostscript < 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter

Priority MEDIUM 50CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 3 fixed, 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00849 58th percentileScored 2026-11-07
Fix Partial Ghostscript (Artifex Software): 10.08.0Red Hat: 3 advisoriesRed Hat: 3 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ArtifexGhostscriptbefore 10.08.010.08.0Patch availableCNA
  • Ghostscript VendorArtifex Affected before 10.08.0 Fixed in 10.08.0 Patch available CNA

Remediation

  • Fix · CNA Ghostscript (Artifex Software) Fixed in 10.08.0

Red Hat 3 advisories

  • RHSA-2026:76877 Released 2026-10-06 · Red Hat rating Moderate
    ghostscript security update
    • Red Hat Enterprise Linux AppStream (v. 8) ghostscript-9.27-18.el8_10, libgs-9.27-18.el8_10
  • RHSA-2026:74457 Released 2026-10-02 · Red Hat rating Moderate
    ghostscript security update
    • Red Hat Enterprise Linux AppStream (v. 9) libgs-9.54.0-19.el9_8.1
  • RHSA-2026:74464 Released 2026-10-01 · Red Hat rating Moderate
    ghostscript security update
    • Red Hat Enterprise Linux AppStream (v. 10) libgs-10.02.1-16.el10_2.1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:74464
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2026:76877
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2026:74457
Not affected: 6 products
  • Red Hat Enterprise Linux AppStream (v. 10)
  • Red Hat Enterprise Linux AppStream (v. 8)
  • Red Hat Enterprise Linux AppStream (v. 9)
  • Red Hat Enterprise Linux CRB (v. 8)
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-39919
  2. 2026-10-03 Alias added: GHSA-v865-hp77-22rm
  3. 2026-10-06 EPSS moved to the 50th–90th percentile
  4. 2026-10-07 Fix available: RHSA-2026:76877 · Red Hat
  5. 2026-10-07 Fix available: Red Hat Enterprise Linux AppStream (v. 8) · Red Hat

References

  • TI-2017-05861 Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution… KEVCVSS 3.1HIGH 7.8
  • TI-2021-02712 Improper input validation in ghostscript CVSS 3.1CRITICAL 9.9
  • TI-2023-13382 In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential… CVSS 3.1CRITICAL 9.8
  • TI-2021-13164 Memory corruption in mujs CVSS 3.1CRITICAL 9.8
  • TI-2018-11841 An issue was discovered in Artifex Ghostscript before 9.24. CVSS 3.0HIGH 7.8
  • TI-2024-16051 freeglut through 3.4.0 was discovered to contain a memory leak via the menuEntry variable… CVSS 3.1HIGH 7.5
See all 265 →

Sources