{"id":"CVE-2026-39919","published":"2026-09-15T14:26:06Z","modified":"2026-10-01T15:19:56Z","title":"Ghostscript < 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter","vendor":"Artifex Software","product":"Ghostscript","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00849,"percentile":0.5558,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10080","tags":["release-notes"]},{"url":"https://github.com/ArtifexSoftware/ghostpdl/commit/0a8bf88e39db07b0751a58d6ec1cf992073e4dc1","tags":["patch"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=709666","tags":["issue-tracking"]},{"url":"https://www.vulncheck.com/advisories/ghostscript-heap-buffer-overflow-via-jpeg-2000-output-adapter","tags":["third-party-advisory"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.12},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"artifex-software","affectedVersions":[{"vendor":"Artifex Software","product":"Ghostscript","versions":["< 10.08.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-20T00:26:01.647179Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-78584","exploited":false,"provenance":"source"}}