SecurityOnlineDo Son
Critical Ghostscript Flaw Enables Remote Code Execution via PDFs
Part of the CVE-2026-39919 story · since 17 Sep
- Thu 17 Sep, 11:55 UTC. SecurityOnline, first report. Critical Ghostscript Flaw Enables Remote Code Execution via PDFs. This article, 1st of 2.
- Tue 13 Oct, 00:26 UTC. SecurityOnline. Ghostscript flaw could let crafted PDFs trigger remote code execution.
Ghostscript has a critical heap buffer overflow, tracked as CVE-2026-39919, which could allow unauthenticated remote code execution. The vulnerability affects releases before 10.08.0 and has a CVSS v3 score of 9.8. It is triggered when Ghostscript processes a PDF containing a JPEG 2000 image with mismatched subsampling factors.
The flaw lies in the OpenJPEG image adapter in `base/sjpx_openjpeg.c`: a row buffer is allocated for packed output, while the decoder writes one full byte per column, causing an out-of-bounds write on each row.
According to the report, the overflow can corrupt metadata in Ghostscript’s custom memory allocator and potentially provide command execution on the host. The issue may affect servers and applications that use Ghostscript for document rendering, including systems generating PDF previews through ImageMagick. The article says researchers have produced a working proof of concept, but no exploitation in the wild has been confirmed. It also states that Ghostscript’s `-dSAFER` sandbox does not mitigate the memory-corruption attack.
Artifex Software fixed the vulnerability in Ghostscript 10.08.0. Administrators should upgrade to that version immediately; the article says there is no software workaround and recommends disabling automated PDF preview generation until patched. Analysts verified the defect in release builds 10.07.1 and 10.08.0rc1.
How the story developed
2 articles from 1 outlet since 17 Sep. Quiet since 13 Oct. This was the first report.
- Thu 17 Sep, 11:55 UTC. SecurityOnline, first report. Critical Ghostscript Flaw Enables Remote Code Execution via PDFs. This article, 1st of 2.
- Tue 13 Oct, 00:26 UTC. SecurityOnline. Ghostscript flaw could let crafted PDFs trigger remote code execution.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
- Quiet time, folded
Show all 2 articles as a listHide the list
- Thu 17 SepDay 01
- Critical Ghostscript Flaw Enables Remote Code Execution via PDFs11:55 · SecurityOnline · First report · This article, 1st of 2
Quiet for 4 weeks
Tue 13 OctDay 261- Ghostscript flaw could let crafted PDFs trigger remote code execution00:26 · SecurityOnline · Picked up again