<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Ghostscript (&lt; 10.08.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/ghostscript--10.08.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 15 Sep 2026 15:40:57 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/ghostscript--10.08.0/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Heap-Based Buffer Overflow in Ghostscript JPEG 2000 Output Adapter</title><link>https://feed.craftedsignal.io/briefs/2026-09-ghostscript-buffer-overflow/</link><pubDate>Tue, 15 Sep 2026 15:40:57 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-ghostscript-buffer-overflow/</guid><description>Ghostscript versions prior to 10.08.0 are vulnerable to a heap-based buffer overflow in the JPEG 2000 output adapter (CVE-2026-39919), potentially allowing arbitrary code execution via a specially crafted PDF.</description><content:encoded><![CDATA[<p>Ghostscript before version 10.08.0 contains a critical heap-based buffer overflow vulnerability within its JPEG 2000 output adapter, specifically located in the <code>base/sjpx_openjpeg.c</code> file. This vulnerability is triggered when the software processes a maliciously crafted PDF document that includes a JPEG 2000 image with mismatched component subsampling factors.</p>
<p>When these image components declare conflicting subsampling values, the application triggers a faulty path in the non-samescale sub-byte-depth output logic. The system allocates a row buffer sized for packed output but proceeds to write a full byte per output column, regardless of the actual bit depth. This discrepancy leads to an out-of-bounds write that corrupts internal chunk-allocator metadata. Attackers can leverage this corruption to overwrite control structures or pointers, potentially achieving arbitrary code execution within the context of the user or service account running the Ghostscript binary.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for arbitrary code execution on systems using Ghostscript for image or document processing. Given Ghostscript's common role as a backend component for web servers, document management systems, and print servers, the attack surface is significant. Exploitation can lead to full system compromise or unauthorized access to sensitive internal data processed by these applications.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritized, concrete actions for detection engineering and security teams:</p>
<ul>
<li>Upgrade all installations of Ghostscript to version 10.08.0 or later immediately to patch CVE-2026-39919.</li>
<li>Audit infrastructure to identify applications utilizing Ghostscript for PDF or image conversion, focusing on internet-facing web applications or document upload services.</li>
<li>Implement restrictive sandboxing or containerization for processes invoking the Ghostscript binary to limit the impact of potential exploitation.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category></item></channel></rss>