{"id":"CVE-2026-39919","title":"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 imag…","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 imag…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-122"],"vendor":"Artifex Software","product":"Ghostscript","affected":["Ghostscript < 10.08.0"],"published":"2026-09-15","updated":"2026-09-24","sourceUpdated":"2026-09-24T21:04:40.340","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-39919","references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=709666","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10080","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ArtifexSoftware/ghostpdl/commit/0a8bf88e39db07b0751a58d6ec1cf992073e4dc1","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/ghostscript-heap-buffer-overflow-via-jpeg-2000-output-adapter","label":"disclosure@vulncheck.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39919.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-39919"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2533857"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-39919"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39919"},{"url":"https://access.redhat.com/errata/RHSA-2026:74464"},{"url":"https://access.redhat.com/errata/RHSA-2026:74457"},{"url":"https://access.redhat.com/errata/RHSA-2026:76877"}],"tags":["nvd","cve.org","csaf","vex","red-hat","score-dispute"],"epss":0.00849,"epssPercentile":0.57955,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-20T00:26:01.647179Z"},"scores":{"nvd":9.8,"vendor":7.8,"cna":9.8},"ingestedAt":"2026-09-15T14:38:16.197Z","patched":["enterprise_linux_appstream_v_10","enterprise_linux_appstream_v_9"],"slug":"CVE-2026-39919","body":"## Overview\n\nGhostscript 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39919.json)\n- **RHSA-2026:74464** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2026-10-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:74464)\n- **RHSA-2026:74457** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-10-02 · [advisory](https://access.redhat.com/errata/RHSA-2026:74457)\n- **RHSA-2026:76877** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-10-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:76877)","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}