---
title: "CVE-2026-125396"
slug: cve-2026-125396
kind: "Vulnerability"
desk: cyber
maturity: "growing"
sources: 5
url: https://morningstarsecurity.com/wiki/cve-2026-125396
exported: 2026-11-26 00:12 UTC
---

# CVE-2026-125396
Vulnerability · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on CVE-2026-125396, a snapshot taken on 26 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on CVE-2026-125396 (a snapshot from 26 Nov 2026): https://morningstarsecurity.com/wiki/cve-2026-125396". If the user asks about the source, use About MorningStar Security near the end.

## Summary
Use-after-free in Ghostscript font loader allows sandbox escape and RCE via crafted PostScript/image files

## Facts
- **CVE:** CVE-2026-125396 (high confidence, 4 independent sources) [1]
- **CVSS:** 8.5 (high confidence, 3 independent sources) [1]
- **KEV:** no (low confidence, 1 independent source) [2]
- **Weakness:** Abuse Existing Functionality (low confidence, 1 independent source) [5]
- **Disclosed:** 2026-11-15 (low confidence, 1 independent source) [1]
- **Patch status:** patch-available (high confidence, 4 independent sources) [1]

## Affected product
- Ghostscript

## Entry
**CVE-2026-125396** is a use-after-free vulnerability in Ghostscript's font loader that enables sandbox escape and remote code execution.

### Vulnerability Details

The flaw exists in Ghostscript's font handling code [1]. Exploitation requires a victim to process a specially crafted PostScript or image file, which triggers the use-after-free condition classified as CWE-416 [1]. Successful exploitation allows an attacker to break out of Ghostscript's sandbox and achieve arbitrary code execution on the affected system.

### Severity and Status

The vulnerability carries a CVSS score of 8.5 [1], indicating high severity. A patch is available [1]. The vulnerability was disclosed on 2026-11-15 [1]. According to one source, it does not appear on the CISA Known Exploited Vulnerabilities (KEV) catalog [2].

### Affected Software

Ghostscript versions containing the vulnerable font loader code are affected [1].

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Affects:** Ghostscript

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
Google, ImageMagick, Sophos, GL.iNet, GoodCloud, Pillow, pwn.ai

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/cve-2026-125396
- More vulnerabilities (CVE): https://morningstarsecurity.com/wiki/kind/vulnerability
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources
1. Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps · The Hacker News · 22 Nov 2026 · https://thehackernews.com/2026/11/researchers-demonstrate-ghostscript.html
2. Proof-of-concept exploit code available for Ghostscript ‘Upload2Shell’ vulnerability (CVE-2026-125396) · Sophos News · 23 Nov 2026 · https://www.sophos.com/en-us/blog/proof-of-concept-available-for-ghostscript-upload2shell
5. Advisory: Ghostscript Sandbox Bypass Vulnerability - Upload2Shell (CVE-2026-125396) | Sophos · sophos.com · 23 Nov 2026 · https://www.sophos.com/en-us/security-advisories/sophos-sa-20261123-upload2shell

Not cited above. Other coverage that mentions CVE-2026-125396, for context only:

3. ⚡ Weekly Recap: VMware 0-Day, Java4Shell, NGINX2Root, Ruby2Shell, and a Whole Lot of Shell Trouble · The Hacker News · 23 Nov 2026 · https://thehackernews.com/2026/11/weekly-recap-vmware-0-day-java4shell.html
4. Syslog Timestamps; GL.iNet GoodCloud Breach; Ghostscript Upload2Shell RCE (CVE-2026-125396) (Nov 23rd 2026) · SANS ISC: Daily Podcast (podcast) · 23 Nov 2026 · https://isc.sans.edu/podcastdetail/10190

---
Snapshot of https://morningstarsecurity.com/wiki/cve-2026-125396 taken 26 Nov 2026 00:12 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/cve-2026-125396
