Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

Ghostscript before 10.08.0 can be hijacked via malicious PDF

published 10 days ago
Summary

Versions of Ghostscript older than 10.08.0 can be tricked by a specially crafted PDF that contains a JPEG 2000 image. The malformed image can corrupt the program’s memory and let an attacker run their own code. Upgrade Ghostscript to version 10.08.0 or later, and avoid processing PDF files from untrusted sources.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
Docker Hardened Images:Alpine:3.23 docker hardened images ghostscript All versions
Docker Hardened Images:Alpine:3.24 docker hardened images ghostscript All versions
Original advisory text
Ghostscript before 10.08.0 contains a heap-based buffer overflow vulnerability in the JPEG 2000 output adapter…
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.
References
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.9 Critical
Timeline
Published11 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
Track software like this
Free during beta