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 | Vendor | Product | Affected 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
- https://scout.docker.com/v/DHI-5knz-rswb-763n-niee Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-39919 Vendor Advisory
- https://errata.almalinux.org/9/ALSA-2026-74457.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74457 Vendor Advisory
- https://errata.almalinux.org/8/ALSA-2026-76877.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:76877 Vendor Advisory
- https://security.alpinelinux.org/vuln/CVE-2026-39919 Vendor Advisory
- https://alas.aws.amazon.com/AL2/ALAS-2026-4034.html Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39919 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-103226 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-101258 Vendor Advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3294.html Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-39919 Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2026-74457.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2026-74457.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2026-74464.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2026-74464.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2026-76877.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2026-76877.html Vendor Advisory
- https://errata.rockylinux.org/RLSA-2026:74457 Vendor Advisory
- https://errata.rockylinux.org/RLSA-2026:74464 Vendor Advisory
- https://errata.rockylinux.org/RLSA-2026:76877 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-39919 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-39919 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Timeline
Published11 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-5knz-rswb-763n-niee · OSV
Track software like this
Free during beta