Back to Feed
VulnerabilitiesNov 21, 2026

Upload2Shell Ghostscript Bug Turns File Uploads Into Remote Code Execution, Patch Gaps Remain

Ghostscript bug allows code execution via file uploads, print jobs, and emails.

A use-after-free vulnerability in Ghostscript's Type 1 font loader, dubbed Upload2Shell (CVE-2026-125396), allows attackers to execute commands on servers through crafted PostScript or PDF documents. This flaw enables remote code execution via print jobs, email attachments, and public upload forms, affecting various applications like Debian 12, Roundcube, Plesk, and MediaWiki. The vulnerability has been fixed in Ghostscript 10.08.0, but some distributions and applications remain unpatched.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run Google?

Get an email when a new story names Google, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

A use-after-free vulnerability in Ghostscript's Type 1 font loader allows attackers to achieve remote code execution simply by submitting a crafted PDF or PostScript file through any exposed upload form, email gateway, or print service. The flaw is particularly dangerous because Ghostscript is embedded invisibly in many applications — administrators may not even know it is present in their stack. While a fix exists in Ghostscript 10.08.0, delayed downstream packaging by Linux distributions and dependent applications like Roundcube and MediaWiki means many deployments remain exposed long after the upstream patch was released. This highlights how patch lag in the software supply chain extends the window of exploitation well beyond what a single vendor's release schedule would suggest.

What helps against this

How we list vendors

Indicators of Compromise

Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works

  • cve: CVE-2026-125396
  • cve: CVE-2026-123890
  • cve: CVE-2026-132165
  • cve: CVE-2026-65640

Entities

Ghostscript (product)Roundcube (product)Plesk (product)MediaWiki (product)WordPress (product)Google (vendor)