# CVE-2026-125396 — ArtifexSoftware ghostpdl

> As of 2026-11-22, CVE-2026-125396 is a HIGH-severity vulnerability in ArtifexSoftware ghostpdl, CVSS v3.1 7.8, EPSS 0.1% (5.6th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2026-125396, most recently “Upload2Shell: Ghostscript -dSAFER sandbox bypass via Type 1 font loader use-after-free (CVE-2026-125396) reachable through WordPress, Roundcube and CUPS”.

**Last updated:** 2026-11-22

## What is CVE-2026-125396?

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. Attackers can supply crafted PostScript or PDF documents that trigger a type error, recover .forceput via a custom error handler, and cause a use-after-free across save/restore to execute arbitrary code.

The record classifies CVE-2026-125396 under weakness class [CWE-648](https://intel.threadlinqs.com/cwe/CWE-648). Its CVSS v3 base vector states that the flaw requires local access to the host, needs no prior authentication, needs a user to take an action first, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 14 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 7.8 — HIGH (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **CVSS v4.0 base score:** 8.5 (`CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`)
- **EPSS (FIRST):** 0.1% probability of exploitation in the next 30 days, higher than 5.6% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 4.1/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-11-09

## Is CVE-2026-125396 being exploited?

It currently carries a trending score of 33 in the Threadlinqs vulnerability feed.

## Affected products and versions

- **ArtifexSoftware**: ghostpdl

## How to fix CVE-2026-125396

The record marks a vendor fix as available for CVE-2026-125396. Patch reference: [https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81](https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81). Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2026-125396

1 tracked threat in the Threadlinqs corpus references CVE-2026-125396, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Upload2Shell: Ghostscript -dSAFER sandbox bypass via Type 1 font loader use-after-free (CVE-2026-125396) reachable through WordPress, Roundcube and CUPS](https://intel.threadlinqs.com/threat/TL-2026-6651) — HIGH · 2026-11-22

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [github.com — patch](https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81)

**Technical analysis**

- [github.com — technical description](https://github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps#L1026-L1035)

**Third-party advisory**

- [vulncheck.com — third party advisory](https://www.vulncheck.com/advisories/ghostscript-before-10.08.0-dsafer-bypass-via-putgstringcopy-forceput-recovery)

**Issue tracking and product pages**

- [github.com — product](https://github.com/ArtifexSoftware/ghostpdl)
- [bugs.ghostscript.com — issue tracking](https://bugs.ghostscript.com/show_bug.cgi?id=709684)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-125396
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp
