{"id":"CVE-2026-39919","aliases":["CVE-2026-39919"],"related":[],"kind":"vulnerability","state":"published","title":"Ghostscript < 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-15T14:26:06.697Z","modified":"2026-10-01T15:19:56.598Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"10.08.0","status":"affected"}],"vendor":"Artifex Software","product":"Ghostscript","source":"cvelist"}],"references":[{"url":"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10080","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ArtifexSoftware/ghostpdl/commit/0a8bf88e39db07b0751a58d6ec1cf992073e4dc1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=709666","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ghostscript-heap-buffer-overflow-via-jpeg-2000-output-adapter","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Alex Thomas, Wordfence","Wordfence Argus"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-09-20T00:26:01.647Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39919","url":"https://www.cve.org/CVERecord?id=CVE-2026-39919","licence":"CVE Terms of Use","modified":"2026-10-01T15:19:56.598Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39919","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39919","licence":"Public domain","modified":"2026-09-24T21:04:40.340Z"}],"updatedAt":"2026-11-25T22:59:38.532Z","epss":{"score":0.00849,"percentile":0.59252,"date":"2026-12-01T12:00:22.000Z"}}