Skip to content
Heist/ feed
Critical

Ghostscript < 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-39919

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-39919

Ghostscript

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Artifex Software",
    "product": "Ghostscript",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "10.08.0",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-39919

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#5421 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement