CVE-2026-39919: Vulnerability in Ghostscript
Critical. 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...
CWE-122
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-122
- Published
- 15 Sept 2026
- Last change
- 24 Sept 2026
Affected products
Affected versions and the first fixed release
- Ghostscript Before 10.08.0. Fixed in 10.08.0
Advisories
Vendor and security advisories
- bugs.ghostscript.com/show_bug.cgi
- vulncheck.com/advisories/ghostscript-heap-buffer-overflow-via-jpeg-2000-output-adapter
Patches and fixes
Updates, commits and release notes
- github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10080
- github.com/ArtifexSoftware/ghostpdl/commit/0a8bf88e39db07b0751a58d6ec1cf992073e4dc1
Related
- Ghostscript vulnerabilities Recent advisories, watch this product