Skip to main content
Mallory
HighVulnerability

CVE-2026-125396: Upload2Shell

Published Nov 9, 2026 · Updated today
Trending this week#59of 432,057 vulnerabilities
Mention activity · 30 days49 mentions · peak 27 in a dayToday
CVSS8.5High · v4
EPSS0.16%6th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Artifex Software
IdentifiersCVE-2026-125396CWE-416

Upload2Shell is a sandbox-bypass and arbitrary code execution vulnerability in the Type 1 font-loading code of Ghostscript releases before 10.08.0. The internal .putgstringcopy procedure invokes the privileged .forceput operator without validating operand types. A crafted PostScript or PDF document can trigger a type error and recover that operator through a document-controlled error handler. The recovered operator enables a use-after-free across save/restore operations, allowing an attacker to bypass -dSAFER restrictions and execute arbitrary code. Applications that delegate previews, thumbnail generation, or print conversion to Ghostscript can expose the vulnerable interpreter to remotely supplied documents.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the confidentiality, integrity, and availability of resources accessible to the Ghostscript process. Attackers can escape document-processing restrictions, execute commands, and access or modify files with the rendering service account's permissions. Network-facing upload, email-thumbnail, and printing workflows can turn the interpreter vulnerability into server-side remote code execution. Exploitation does not automatically grant root privileges; operating-system confinement and service-account permissions limit the resulting access.

Mitigation

If you can’t patch tonight, do this now.

Until patched, suspend rendering of untrusted PostScript and PDF documents and disable automatic previews or thumbnails where practical. Restrict accepted input formats and prevent image-processing delegates from handing untrusted PostScript or EPS content to Ghostscript; filename-extension filtering alone is insufficient. Require authentication and restrict network access to shared print queues. Isolate rendering workers, minimize service-account permissions, and apply operating-system confinement such as AppArmor. These measures reduce exposure or impact but do not repair the flaw; -dSAFER is not an effective defense against this vulnerability.

Remediation

Patch, then assume compromise.

Upgrade every Ghostscript instance to version 10.08.0 or later, or install a vendor package explicitly containing the backported fix for CVE-2026-125396. Fixed Debian packages include 10.05.1~dfsg-1+deb13u2 for Debian 13 and 10.0.0~dfsg-11+deb12u9 for Debian 12. Verify the actual interpreter used by each rendering worker, including copies bundled with applications or container images; updating the host package alone does not update those copies. Apply relevant application-level fixes as well, but do not treat them as substitutes for patching Ghostscript.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Artifex SoftwareGhostscriptapplication
FAQ

Frequently asked questions

Is CVE-2026-125396 exploited in the wild?
As of Nov 22, 2026, Mallory has no reports of CVE-2026-125396 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-125396?
As of Nov 22, 2026, Mallory has found no public exploit for CVE-2026-125396.
Is there a patch for CVE-2026-125396?
Upgrade every Ghostscript instance to version 10.08.0 or later, or install a vendor package explicitly containing the backported fix for CVE-2026-125396. Fixed Debian packages include 10.05.1~dfsg-1+deb13u2 for Debian 13 and 10.0.0~dfsg-11+deb12u9 for Debian 12.
What products are affected by CVE-2026-125396?
Artifex Software Ghostscript.
How severe is CVE-2026-125396?
CVE-2026-125396 has a CVSS v4 score of 8.5 (High) and an EPSS score of 0.16% (6th percentile) as of Nov 22, 2026.
Activity feed

Recent activity

50 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
the hacker newsNews · Nov 22, 2026Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular AppsA Ghostscript font-loading use-after-free vulnerability enables crafted documents to bypass the -dSAFER sandbox and execute commands with the rendering account's privileges. Researchers demonstrated network-accessible exploitation through application uploads, email processing, and print jobs, including unauthenticated paths. The advisory assigns a score of 8.5. Ghostscript 10.08.0 fixes the flaw, but separately bundled application and container copies must also be updated.Read more ↗cryptika blogNews · Nov 22, 2026Hackers Could Execute Commands on WordPress, Email and Print Servers Through Upload2Shell Flaw | Cryptika CybersecurityA use-after-free in Ghostscript’s Type 1 font loader allows malicious documents to bypass -dSAFER restrictions and execute commands with the renderer service account’s permissions. Researchers demonstrated delivery through WordPress media processing, Roundcube attachment thumbnails, and CUPS print jobs. The reported CVSS 4.0 score is 8.5. Exploitation depends on services passing untrusted files to the vulnerable renderer; accepting or storing a file alone does not trigger it.Read more ↗cyber security newsNews · Nov 22, 2026Hackers Could Execute Commands on WordPress, Email and Print Servers Through Upload2Shell FlawA use-after-free in Ghostscript’s Type 1 font loader allows crafted documents to bypass -dSAFER restrictions and execute commands with the renderer’s service-account permissions. Rated CVSS 4.0 8.5, it was demonstrated through WordPress media previews, Roundcube attachment thumbnails, and CUPS print processing. Some tested configurations allowed unauthenticated submission. These were research demonstrations, not confirmed attacks in the wild. Artifex fixed the flaw in Ghostscript 10.08.0; distribution backports also exist, including Debian package 10.05.1~dfsg-1+deb13u2. Mitigations include suspending automatic previews of untrusted files, authenticating and restricting print queues, and isolating renderers with least-privileged accounts.Read more ↗tenable nessus pluginsNews · Nov 20, 2026TencentOS Server 4: ghostscript (TSSA-2026:1445) | Tenable®A vulnerability affecting Ghostscript on TencentOS Server 4. The supplied CVSS vectors describe local exploitation requiring user interaction, with high confidentiality, integrity, and availability impacts. A patch was published on November 19, 2026; the content does not describe the underlying flaw.Read more ↗
+5 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity41Community discussion across Reddit, Mastodon, and other social sources.