VDB

CVE-2026-39919

CVE-2026-39919 PUBLISHED CVSS 9.3 CRITICAL

Ghostscript < 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter

Reported by vulncheck · Published September 15, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ghostscript-tools-fontsAmazon Linux9.56.1-7.amzn2023.0.20
ghostscript-tools-dvipdferrata.rockylinux.org10.02.1-16.el10
ghostscript-tools-fontserrata.rockylinux.org10.02.1-16.el10
ghostscript-debuginfoerrata.rockylinux.org10.02.1-16.el10, 9.27-18.el8
libgserrata.rockylinux.org9.54.0-19.el9, 9.27-18.el8
ghostscript-tools-printingerrata.rockylinux.org10.02.1-16.el10
ghostscripterrata.rockylinux.org10.02.1-16.el10
ghostscript-docerrata.rockylinux.org10.02.1-16.el10

Risk scores

CVSS 4.0
9.3
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

Affected products

VendorProductVersions
Artifex SoftwareGhostscript0
amazon:2023ghostscript-tools-fonts0
artifexghostscript0
alpineghostscript0
amazon:2libgs0
amazon:2ghostscript0
amazon:2023ghostscript-doc0
amazon:2023ghostscript0
amazon:2023ghostscript-tools-dvipdf0
Artifex SoftwareGhostscript0
amazon:2023ghostscript-gtk0
amazon:2023ghostscript-tools-printing0
amazon:2ghostscript-gtk0
amazon:2023ghostscript-x110
amazon:2libgs-devel0
amazon:2ghostscript-cups0
amazon:2023libgs-devel0
amazon:2023libgs0
amazon:2ghostscript-doc0

Timeline

  • Sep 15, 2026 Coalition ESS Score
  • Sep 15, 2026 CVE Published
  • Sep 16, 2026 EPSS Score (24 in total, the first dated here)
  • Sep 24, 2026 CVE Updated
  • Oct 2, 2026 Distribution Patch (5 in total, the first dated here)
  • Oct 2, 2026 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-39919
vulnetix vdb fixes CVE-2026-39919

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-39919/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›