# SZB-19200efc1e: Ghostscript sandbox-escape flaw reached via WordPress, Roundcube and Debian print paths in researcher tests

Security firm pwn.ai showed that a now-patched Ghostscript flaw, CVE-2026-125396, lets a crafted file escape the sandbox and run commands in about ten common applications. Artifex fixed it in version 10.08.0 on September 8, and the item reports no known attacks using it.

- Type: Early warning
- Kind: Vulnerability
- Vendor: Ghostscript
- Product: Ghostscript
- Status: Confirmed
- Sources: 7 distinct
- First seen: 2026-11-21 19:16 UTC
- Confirmed: 2026-11-22 06:16 UTC

Written by a model from the sources below. Verify against them.

## What to do

- Update Ghostscript to version 10.08.0 or later, including any copy bundled in container images or applications.
- Update WordPress to 7.0.4 or later to close the separate upload path under CVE-2026-65640.
- Restrict or sanitize PostScript and EPS content in upload, preview, print and thumbnail features.
- Check the Ghostscript package status on each Linux distribution you run, since fixes vary.

## Timeline

- 2026-11-21 19:11 UTC: Made public by oss-security
- 2026-11-21 19:16 UTC: First seen by cve.now
- 2026-11-22 06:16 UTC: Confirmed as CVE-2026-125396
- 2026-11-23 02:22 UTC: Record last updated

## Evidence (7 sources)

- 2026-11-21 · Social · [oss-security](https://seclists.org/oss-sec/2026/q4/806): “This release addresses a number of potential security issues.” (+1 more: [oss-security](https://seclists.org/oss-sec/2026/q4/808))
- 2026-11-21 · Social · [Mastodon](https://mastox.eu/@thecybersecguru/117656377913954603): “Dubbed Upload2Shell (CVE-2026-125396), the flaw affects Ghostscript, a widely used document-processing tool sitting behind everything from WordPress uploads and email previews to Linux printing services.”
- 2026-11-21 · Social · [Mastodon](https://infosec.exchange/@thecybersecguru/117656379729095095): “Security researchers at pwn.ai have disclosed Upload2Shell (CVE-2026-125396), a Ghostscript vulnerability that can allow remote code execution through applications processing untrusted files.” (+1 more: [Mastodon](https://infosec.exchange/@DailyCyberSecurity/117662832805494616))
- 2026-11-22 · Press · [The Hacker News](https://thehackernews.com/2026/11/researchers-demonstrate-ghostscript.html): “A now-patched flaw in Ghostscript allows a crafted file to escape the program's security sandbox and run commands on the server that processes it.”
- 2026-11-22 · Social · [Mastodon](https://social.circl.lu/@circl/117658698871052926): “Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs\_fonts.ps, which calls the privileged .forceput operator without checking operand types.”
- 2026-11-22 · Social · [Mastodon](https://mastodon.social/@cyzoio/117660530437194244): “Researchers Demonstrate Ghostscript Sandbox-Escape RCE…”
- 2026-11-23 · Social · [Mastodon](https://mastodon.social/@cyzoio/117663362169255093): “AI-found… Source: IT News Security (AU) Read: https://www. itnews.com.au/news/ai-found-gh ostscript-flaw-turned-file-uploads-into-remote-code-execution-630512 More cyber news: https:// cyzo.io/news?ut”

## Corrections

None so far.

Something wrong on this page? Report an error: https://github.com/sazabi/cve.now/issues/new?title=Wrong%20fact%20on%20SZB-19200efc1e&body=https%3A%2F%2Fcve.now%2FSZB-19200efc1e%0A%0AWhat%20is%20wrong%2C%20and%20the%20source%20that%20shows%20it%3A%0A

## Questions about Ghostscript sandbox-escape flaw reached via WordPress, Roundcube and Debian print paths in researcher tests

### Has Ghostscript confirmed it?

oss-security, Mastodon and Mastodon report a possible compromise. None of the sources says it happened.

Source: https://seclists.org/oss-sec/2026/q4/806, https://mastox.eu/@thecybersecguru/117656377913954603, https://infosec.exchange/@thecybersecguru/117656379729095095, https://thehackernews.com/2026/11/researchers-demonstrate-ghostscript.html, https://social.circl.lu/@circl/117658698871052926, https://mastodon.social/@cyzoio/117660530437194244, https://mastodon.social/@cyzoio/117663362169255093

### What should Ghostscript and ImageMagick users do?

Update Ghostscript to version 10.08.0 or later, including any copy bundled in container images or applications. Update WordPress to 7.0.4 or later to close the separate upload path under CVE-2026-65640. Restrict or sanitize PostScript and EPS content in upload, preview, print and thumbnail features. Check the Ghostscript package status on each Linux distribution you run, since fixes vary.

### Does it have a CVE?

Yes. It is tracked as CVE-2026-125396 and CVE-2026-65640.

Source: https://cve.now/CVE-2026-125396, https://cve.now/CVE-2026-65640

## Tracked as

- [CVE-2026-125396](https://cve.now/CVE-2026-125396.md)
- [CVE-2026-65640](https://cve.now/CVE-2026-65640.md)

## Related

- Browse: [Early warnings](https://cve.now/early-warnings.md)

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/SZB-19200efc1e
Site guide for agents: https://cve.now/llms.txt
